-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
113 lines (103 loc) · 2.71 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
/**
* docs: https://tailwindcss.com/docs/configuration
*
* TODO : for production mode : https://tailwindcss.com/docs/optimizing-for-production
*/
module.exports = {
darkMode: 'false',
content: [
'./app/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,jsx,tsx}',
],
safelist: [
{ pattern: /^bg-/ },
{ pattern: /^text-/ },
{ pattern: /^border-/ },
{ pattern: /^fill-/ },
{ pattern: /^(max-)?w-/ },
{ pattern: /^h-/ },
], // Retain all classes starting with...
theme: {
/**
* Usage
* - CSS : background-color: theme('colors.violet');
* - HTML: <p className="text-violet" >
*/
colors: {
white: '#FFFFFF',
primary: 'var(--primary)',
primary_lighten: '#EEF1F8',
primary_darken: 'var(--primary-darken)',
primary_darken_strong: '#172B5A',
success: '#0D7F50',
success_lighten: '#E5F6EF',
success_darken: '#033C24',
warning: '#D31140',
warning_lighten: '#FDEAEF',
alert: '#FF975C',
alert_lighten: '#FFC6A6',
accent_1: '#950EFF',
accent_1_lighten: '#F4E5FF',
accent_2: '#4A526D',
accent_2_lighten: '#F6F6F6',
accent_3: '#0C7A81',
accent_3_lighten: '#DFFDFF',
additional_1: '#FCBF49',
additional_1_lighten: '#FFD88D',
additional_2: '#15616D',
additional_2_lighten: '#DDFFED',
additional_3: '#5149A8',
additional_3_lighten: '#D2CEF6',
additional_4: '#2186C7',
additional_4_lighten: '#DBEDF9',
additional_5: '#49BBBF',
additional_5_lighten: '#CEF0F1',
content_color: '#161616',
grey_100: '#F1F1F1',
grey_500: '#B2B2B2',
grey_700: '#878787',
grey_800: '#646464',
disabled: '#73758D',
current: 'currentColor',
},
fill: (theme) => ({
...theme('colors'),
}),
backgroundColor: (theme) => ({
...theme('colors'),
}),
borderColor: (theme) => ({
...theme('colors'),
}),
placeholderColor: (theme) => theme('colors'),
screenSize: (theme) => theme('screens'),
borderRadius: {
none: '0px',
base: '8px',
l: '24px',
full: '9999px',
},
screens: {
layout_xs: '375px',
layout_s: '600px',
layout_base: '900px',
layout_m: '1024px',
layout_l: '1200px',
layout_xl: '1425px',
// short breakpoint on mobile when keyboard is visible
short: { raw: '(max-height: 350px)' },
},
boxShadow: {
base: '0 4px 12px 0px rgba(39, 73, 150, 0.12)',
m: '0 8px 12px 0px rgba(39, 73, 150, 0.24)',
none: 'none',
},
listStyleType: {
none: 'none',
disc: 'disc',
circle: 'circle',
},
},
plugins: [],
}