-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
74 lines (74 loc) · 1.95 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
65
66
67
68
69
70
71
72
73
74
module.exports = {
content: ['./resources/**/*.blade.php', './resources/**/*.js', './resources/**/*.vue', './resources/lang/*.json'],
theme: {
extend: {
borderWidth: {
1: '1px',
},
lineHeight: {
4.5: '1.125rem',
},
opacity: {
15: '.15',
},
padding: (theme) => ({
bar: `calc(1.5 * ${theme('fontSize.sm')} + ${theme('spacing.8')})`,
full: '100%',
}),
strokeWidth: {
3: '3',
},
translate: {
peeking: 'max(-50vw, -16rem)',
},
},
colors: {
none: 'none',
black: '#0E0E0E',
white: '#fff',
red: {
DEFAULT: '#f44336',
pastel: '#ff6b61',
},
green: '#FFC736',
gray: {
softest: '#DDDEE3',
soft: '#B9BBC6',
medium: '#A0A1B1',
dark: '#6D6E7D',
},
transparent: 'transparent',
current: 'currentColor',
},
fontFamily: {
sans: ['GTWalsheim', 'sans-serif'],
},
fontSize: {
xs: ['12px'],
sm: ['14px'],
base: ['16px'],
lg: ['18px'],
xl: ['20px'],
'1.5xl': ['22px'],
'2xl': ['24px'],
'3xl': ['30px'],
},
fontWeight: {
normal: '400',
medium: '500',
bold: '700',
},
height: (theme) => ({
auto: 'auto',
...theme('spacing'),
full: '100%',
screen: 'calc(var(--vh) * 100)',
}),
minHeight: (theme) => ({
0: '0',
...theme('spacing'),
full: '100%',
screen: 'calc(var(--vh) * 100)',
}),
},
}