-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
56 lines (55 loc) · 1.17 KB
/
tailwind.config.js
File metadata and controls
56 lines (55 loc) · 1.17 KB
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
const {
fontFamily,
borderRadius,
borderWidth,
} = require('tailwindcss/defaultTheme')
module.exports = {
mode: 'jit',
purge: ['./index.html', './src/**/*.{vue,js,ts}', './.storybook/*.{js,html}'],
darkMode: 'class',
fontFamily: {
...fontFamily,
sans: fontFamily.sans.sort((font) => (font === '"Noto Sans"' ? -1 : 1)),
},
theme: {
extend: {
width: {
4.5: '1.065rem',
},
},
fontSize: {
xs: ['12px', { lineHeight: '14px' }],
sm: ['14px', { lineHeight: '16px' }],
base: ['16px', { lineHeight: '20px' }],
lg: ['20px', { lineHeight: '24px' }],
xl: ['26px', { lineHeight: '30px' }],
'2xl': ['80px', { lineHeight: '100px' }],
},
colors: {
neutral: {
light: '#CECECE',
DEFAULT: '#999999',
},
primary: {
DEFAULT: '#03BE68',
light: '#F4FCF7',
},
black: {
light: '#252525',
DEFAULT: '#000',
},
white: {
DEFAULT: '#FFF',
dark: '#F8F8F8',
},
},
borderRadius: {
...borderRadius,
DEFAULT: '.35rem',
},
borderWidth: {
...borderWidth,
3: '3px',
},
},
}