-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
58 lines (58 loc) · 1.39 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
theme: {
fontFamily: {
// This feels strange but I think this is the "right" way to set a default tailwind font.
// Additional fonts defined here can be used in place of sans
sans: [
'Inconsolata',
'GTAmericaMono-Light',
'Consolas',
'Ubuntu Mono',
'monospace',
],
'sans-real': [
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
],
},
colors: {
// taken from https://tailwindcss.com/docs/customizing-colors
black: '#18181b',
white: '#f9fafb',
'light-gray': '#a1a1aa',
'dark-gray': '#4b5563',
blue: '#bfdbfe',
red: '#f87171',
'light-red': '#fecaca',
orange: '#fb923c',
link: '#0890b2',
yellow: '#fadd8e',
purple: '#411a71',
},
extend: {
animation: {
'pulse-custom': 'pulse-custom 1s ease-in-out infinite',
},
keyframes: {
'pulse-custom': {
'0%, 100%': { opacity: 0 },
'50%': { opacity: 1 },
},
},
boxShadow: {
button: '0 0 0 2px #528eb0ff',
},
},
},
plugins: [],
}