-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathtailwind.config.js
64 lines (63 loc) ยท 1.47 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
59
60
61
62
63
64
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./app.pug', './index.pug', './views/**/*.pug', './assets/**/*.pug'],
darkMode: 'class',
theme: {
screens: {
sm: '640px',
md: '768px',
lg: '1100px',
xl: '1400px',
'2xl': '1820px'
},
colors: {
transparent: 'transparent',
current: 'currentColor',
h: {
100: '#ffffff',
200: '#f4f4f6',
300: '#e6e6e9',
400: '#9999a1',
500: '#66666e',
600: '#353638',
700: '#292a2d',
800: '#1e1f21',
900: '#000000',
blue: '#5db0d7',
orange: '#ff5544'
}
},
extend: {
spacing: {
idx: 'var(--h-idx)',
pem: 'var(--h-pem)',
s: 'var(--h-s)',
c: 'var(--h-c)',
h: 'var(--h-h)'
},
fontSize: {
'2xs': '0.625rem'
},
keyframes: {
loading: {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(360deg)' }
}
},
animation: {
loading: 'loading 1s linear infinite'
},
fontFamily: {
sans: [
'SUIT',
'ui-sans-serif', 'system-ui', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Noto Color Emoji"'
],
mono: [
'"Source Code Pro"',
...defaultTheme.fontFamily.mono
]
}
}
}
}