-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
59 lines (58 loc) · 1.96 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
/*
** TailwindCSS Configuration File
**
** Docs: https://tailwindcss.com/docs/configuration
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
module.exports = {
theme: {
darkMode: 'class',
extend: {
fontFamily: {
sans: ['Inter']
},
colors: {
gray: {
'50': 'var(--color-gray-50)', // #F9FAFB
'100': 'var(--color-gray-100)', // #F3F4F6
'200': 'var(--color-gray-200)', // #E5E7EB
'300': 'var(--color-gray-300)', // #D1D5DB
'400': 'var(--color-gray-400)', // #9CA3AF
DEFAULT: 'var(--color-gray)', // #6B7280
'600': 'var(--color-gray-600)', // #4B5563
'700': 'var(--color-gray-700)', // #374151
'800': 'var(--color-gray-800)', // #1F2937
'900': 'var(--color-gray-900)' // #111827
},
primary: {
'100': 'var(--color-primary-100)', // #ECEFF5
'200': 'var(--color-primary-200)', // #C3CBDC
'300': 'var(--color-primary-300)', // #9BA8C2
'400': 'var(--color-primary-400)', // #7686A6
DEFAULT: 'var(--color-primary)', // #526488
'600': 'var(--color-primary-600)', // #3E4F70
'700': 'var(--color-primary-700)', // #2C3A57
'800': 'var(--color-primary-800)', // #1C263B
'900': 'var(--color-primary-900)' // #0D131E
}
},
screens: {
xs: '480px' // Added xs
// 'sm': '640px',
// 'md': '768px',
// 'lg': '1024px',
// 'xl': '1280px',
}
}
},
variants: {},
plugins: [],
purge: {
// Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
enabled: process.env.NODE_ENV === 'production',
content: ['components/**/*.vue', 'layouts/**/*.vue', 'pages/**/*.vue', 'plugins/**/*.js', 'nuxt.config.js'],
options: {
// Set safelist in nuxt.config.js -> purgeCSS.safelist: ['btn', 'icon']
}
}
}