-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
tailwind.config.js
56 lines (55 loc) · 1.5 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
const textSizes = {
regularSmall: {
fontSize: '0.8125rem',
lineHeight: '1rem',
},
}
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
fontSize: {
tag: ['0.5625rem', '0.875rem'],
regularSmall: ['0.8125rem', '1rem'],
regularLarge: ['1.125rem', '1.625rem'],
regularMedium: ['0.875rem', '1.25rem'],
},
maxWidth: {
'7xl': '1128px',
},
colors: {
primary: 'var(--va-primary)',
secondary: 'var(--va-secondary)',
success: 'var(--va-success)',
info: 'var(--va-info)',
danger: 'var(--va-danger)',
warning: 'var(--va-warning)',
backgroundPrimary: 'var(--va-background-primary)',
backgroundSecondary: 'var(--va-background-secondary)',
backgroundElement: 'var(--va-background-element)',
backgroundCardPrimary: 'var(--va-background-card-primary)',
backgroundCardSecondary: 'var(--va-background-card-secondary)',
backgroundBorder: 'var(--va-background-border)',
textPrimary: 'var(--va-text-primary)',
textInverted: 'var(--va-text-inverted)',
shadow: 'var(--va-shadow)',
focus: 'var(--va-focus)',
},
screens: {
xs: '0px',
sm: '640px',
md: '1024px',
lg: '1440px',
xl: '1920px',
},
},
screens: {
xs: '0px',
sm: '576px',
md: '768px',
lg: '992px',
xl: '1200px',
},
},
plugins: [],
}