This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
generated from ost-cas-fee-adv-22-23/cas-fee-adv-design-system-tpl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
156 lines (156 loc) · 3.77 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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./**/*.{js,jsx,ts,tsx}'],
darkMode: 'media', // or 'class'
theme: {
extend: {
textColor: {
skin: {
base: 'var(--color-base)',
light: 'var(--color-light)',
},
},
fontFamily: {
poppins: ['Poppins', 'sans-serif'],
},
borderRadius: {
DEFAULT: '0.5rem',
16: '1rem',
full: '9999px',
},
borderWidth: {
DEFAULT: '3px',
1: '1px',
4: '4px',
6: '6px',
none: 'transparent',
},
borderColor: {
white: 'var(--color-border-light)',
},
outlineWidth: {
3: '3px',
},
backgroundImage: {
gradient70: 'linear-gradient(90deg, var(--color-gradient-pink) 0%, var(--color-gradient-violet) 70%)',
gradient80: 'linear-gradient(90deg, var(--color-gradient-pink) 0%, var(--color-gradient-violet) 40%)',
},
},
fontWeight: {
normal: '300',
medium: '500',
semibold: '600',
bold: '700',
},
fontSize: {
xxs: ['0.75rem', { lineHeight: '0.75rem' }], // 12px / 14px Label S
xs: ['0.875rem', { lineHeight: '0.875rem' }], // 14px / 14px Label S
sm: ['1rem', { lineHeight: '1rem' }], // 16px / 16px
base: ['1.125rem', { lineHeight: '1.575rem' }], // 18px / 25px
md: ['1.25rem', { lineHeight: '1.575rem' }], // 20px / 20px / 25px
lg: ['1.5rem', { lineHeight: '2.1875rem' }], // 24px / 30px Paragraph L
xl: ['24px', { lineHeight: '1.875rem' }], // h4 -> 24px / 30px
'2xl': ['2rem', { lineHeight: '2.5rem' }], // h3 -> 32px / 40px
'3xl': ['2.5rem', { lineHeight: '3.125rem' }], // h2 -> 40px
'4xl': ['3rem', { lineHeight: '3.75rem' }], // h1 -> 48px / 60px
},
spacing: {
DEFAULT: '0',
0: '0',
1: '0.0625rem',
2: '0.125rem',
3: '0.1875rem',
4: '0.25rem',
6: '0.375rem',
8: '0.5rem',
12: '0.75rem',
16: '1rem',
24: '1.5rem',
32: '2rem',
40: '2.5rem',
44: '2.75rem',
48: '3rem',
64: '4rem',
70: '4.375rem',
76: '4.75rem',
82: '5.125rem',
96: '6rem',
108: '6.75rem',
160: '10rem',
172: '10.75rem',
615: '38.4375rem',
},
lineHeight: {
DEFAULT: '100%',
none: '1',
tight: '1.25',
snug: '1.375',
normal: '100%',
relaxed: '125%',
loose: '140%',
3: '.75rem',
4: '1rem',
5: '1.25rem',
6: '1.5rem',
7: '1.75rem',
8: '2rem',
9: '2.25rem',
10: '2.5rem',
},
colors: {
slate: {
white: '#ffffff',
50: '#f8fafc',
100: '#f1f5f9',
200: '#e2e8f0',
300: '#cbd5e1',
400: '#94a3b8',
500: '#64748b',
600: '#475569',
700: '#334155',
800: '#1e293b',
900: '#0f172a',
},
violet: {
50: '#f5f3ff',
100: '#ede9fe',
200: '#ddd6fe',
300: '#c4b5fd',
400: '#a78bfa',
500: '#8b5cf6',
600: '#7c3aed',
700: '#6d28d9',
800: '#5b21b6',
900: '#4c1d95',
},
pink: {
50: '#fdf2f8',
100: '#fce7f3',
200: '#fbcfe8',
300: '#f9a8d4',
400: '#f472b6',
500: '#ec4899',
600: '#db2777',
700: '#be185d',
800: '#9d174d',
900: '#831843',
},
red: {
DEFAULT: '#FF0000',
},
},
container: {
center: true,
screens: {
mobile: '100%',
desktop: '680px',
},
},
},
plugins: [
// eslint-disable-next-line @typescript-eslint/no-var-requires
require('@tailwindcss/forms')({
strategy: 'class', // only generate global styles
}),
],
};