-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
122 lines (117 loc) · 4.66 KB
/
tailwind.config.cjs
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./**/*.html',
'./src/**/*.{js,jsx,ts,tsx,html,vue}',],
darkMode: 'class',
theme: {
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
'3xl': '1920px'
},
colors: {
transparent: 'transparent',
current: 'currentColor',
prim: {
light: 'rgb(var(--color-prim-light) / <alpha-value>)',
DEFAULT: 'rgb(var(--color-prim-default) / <alpha-value>)',
},
sec: {
DEFAULT: 'rgb(var(--color-sec-default) / <alpha-value>)',
},
negative: {
light: 'rgb(var(--color-negative-light) / <alpha-value>)',
DEFAULT: 'rgb(var(--color-negative-default) / <alpha-value>)',
dark: 'rgb(var(--color-negative-dark) / <alpha-value>)',
},
warning: {
light: 'rgb(var(--color-warning-light) / <alpha-value>)',
DEFAULT: 'rgb(var(--color-warning-default) / <alpha-value>)',
dark: 'rgb(var(--color-warning-dark) / <alpha-value>)',
},
positive: {
light: 'rgb(var(--color-positive-light) / <alpha-value>)',
DEFAULT: 'rgb(var(--color-positive-default) / <alpha-value>)',
dark: 'rgb(var(--color-positive-dark) / <alpha-value>)',
},
active: 'rgb(var(--color-active) / <alpha-value>)',
white: 'rgb(var(--color-white) / <alpha-value>)',
gray: {
50: 'rgb(var(--color-gray-50) / <alpha-value>)',
100: 'rgb(var(--color-gray-100) / <alpha-value>)',
200: 'rgb(var(--color-gray-200) / <alpha-value>)',
300: 'rgb(var(--color-gray-300) / <alpha-value>)',
400: 'rgb(var(--color-gray-400) / <alpha-value>)',
500: 'rgb(var(--color-gray-500) / <alpha-value>)',
600: 'rgb(var(--color-gray-600) / <alpha-value>)',
700: 'rgb(var(--color-gray-700) / <alpha-value>)',
800: 'rgb(var(--color-gray-800) / <alpha-value>)',
900: 'rgb(var(--color-gray-900) / <alpha-value>)',
1000: 'rgb(var(--color-gray-1000) / <alpha-value>)',
},
black: 'rgb(var(--color-black) / <alpha-value>)',
gradient: {
100: 'rgb(var(--color-gradient-100) / <alpha-value>)',
200: 'rgb(var(--color-gradient-200) / <alpha-value>)',
300: 'rgb(var(--color-gradient-300) / <alpha-value>)',
400: 'rgb(var(--color-gradient-400) / <alpha-value>)',
500: 'rgb(var(--color-gradient-500) / <alpha-value>)',
600: 'rgb(var(--color-gradient-600) / <alpha-value>)',
700: 'rgb(var(--color-gradient-700) / <alpha-value>)',
800: 'rgb(var(--color-gradient-800) / <alpha-value>)',
}
},
borderColor: (theme) => ({
...theme('colors'),
DEFAULT: theme('colors.gray.200', 'currentColor')
}),
fontFamily: {
sans: [
'Roboto',
'ui-sans-serif',
'sans-serif',
],
serif: [
'"Roboto Serif"',
'ui-serif',
'serif'
],
mono: [
'ui-monospace',
'monospace'
]
},
fontSize: {
xs: ['0.75rem', { lineHeight: '1rem' }],
sm: ['0.875rem', { lineHeight: '1.25rem' }],
base: ['1rem', { lineHeight: '1.5rem' }],
lg: ['1.125rem', { lineHeight: '1.75rem' }],
xl: ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
'3xl': ['1.875rem', { lineHeight: '2.25rem' }],
'4xl': ['2.25rem', { lineHeight: '2.5rem' }],
'5xl': ['3rem', { lineHeight: '1' }],
'6xl': ['3.75rem', { lineHeight: '1' }],
'7xl': ['4.5rem', { lineHeight: '1' }],
'8xl': ['6rem', { lineHeight: '1' }],
'9xl': ['8rem', { lineHeight: '1' }],
'label-sm': ['0.875rem', { lineHeight: '1.125rem' }],
'label-base': ['1rem', { lineHeight: '1.25rem' }]
},
zIndex: {
auto: 'auto',
0: '0',
10: '10',
20: '20',
30: '30',
40: '40',
50: '50'
},
},
plugins: [
require('@tailwindcss/container-queries'),
],
}