forked from nodejs/nodejs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
116 lines (115 loc) · 2.56 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
export default {
content: [
'./pages/**/*.{tsx,mdx}',
'./components/**/*.tsx',
'./layouts/**/*.tsx',
'./.storybook/preview.tsx',
],
theme: {
colors: {
green: {
100: '#EDF2EB',
200: '#C5E5B4',
300: '#C5E5B4',
400: '#84BA64',
500: '#5FA04E',
600: '#417E38',
700: '#2C682C',
800: '#2C682C',
900: '#1A3F1D',
},
neutral: {
100: '#F6F7F9',
200: '#E9EDF0',
300: '#D9E1E4',
400: '#CBD4D9',
500: '#B1BCC2',
600: '#929FA5',
700: '#6E7B83',
800: '#556066',
900: '#2C3437',
},
danger: {
100: '#FBF1F0',
200: '#FAD3D4',
300: '#FAB6B7',
400: '#FA8E8E',
500: '#F65354',
600: '#DE1A1B',
700: '#B80C0C',
800: '#900E0E',
900: '#661514',
},
warning: {
100: '#FDF3E7',
200: '#FAD9B0',
300: '#F5BC75',
400: '#E99C40',
500: '#D07912',
600: '#AE5F00',
700: '#8B4D04',
800: '#683D08',
900: '#4D2F0B',
},
info: {
100: '#E9F4FA',
200: '#BCE6FC',
300: '#8ED4F8',
400: '#52BAED',
500: '#229AD6',
600: '#0C7BB3',
700: '#066291',
800: '#074D71',
900: '#0A3953',
},
accent1: {
100: '#F7F1FB',
200: '#EAD9FB',
300: '#DBBDF9',
400: '#C79BF2',
500: '#AF74E8',
600: '#9756D6',
700: '#7D3CBE',
800: '#642B9E',
900: '#361B52',
},
accent2: {
100: '#FBF0F4',
200: '#FBD4E6',
300: '#FBB4D2',
400: '#F68BB7',
500: '#ED5393',
600: '#D6246E',
700: '#B01356',
800: '#8B1245',
900: '#411526',
},
white: '#FFFFFF',
black: '#0D121C',
},
fontSize: {
xs: ['0.75rem', '1rem'],
sm: ['0.875rem', '1.25rem'],
base: ['1rem', '1.5rem'],
lg: ['1.125rem', '1.75rem'],
xl: ['1.25rem', '1.875rem'],
'2xl': ['1.5rem', '2rem'],
'3xl': ['1.875rem', '2.25rem'],
'4xl': ['2.25rem', '2.5rem'],
'5xl': ['3rem', '3rem'],
'6xl': ['3.75rem', '3.75rem'],
'7xl': ['4.5rem', '4.5rem'],
},
fontWeight: {
regular: '400',
medium: '500',
semibold: '600',
bold: '700',
},
fontFamily: {
'open-sans': ['var(--font-open-sans)'],
},
},
darkMode: ['class', '[data-theme="dark"]'],
} satisfies Config;