-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
58 lines (58 loc) · 1.38 KB
/
tailwind.config.js
File metadata and controls
58 lines (58 loc) · 1.38 KB
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
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
defaultLineHeights: true,
standardFontWeights: true,
},
theme: {
darkSelector: '.dark-mode',
extend: {
fontSize: {
'2xs': '.625rem', // 10px
},
colors: {
primary: {
100: '#EAF8F0',
200: '#CBEDD8',
300: '#ABE1C1',
400: '#6CCB93',
500: '#2DB564',
600: '#29A35A',
700: '#1B6D3C',
800: '#14512D',
900: '#0E361E',
},
},
},
aspectRatio: {
square: [1, 1],
'16/9': [16, 9],
'4/3': [4, 3],
'21/9': [21, 9],
},
},
variants: {
margin: ['responsive', 'last'],
backgroundColor: ['responsive', 'hover', 'focus', 'dark'],
textColor: ['responsive', 'hover', 'focus', 'dark', 'dark-hover'],
borderColor: ['responsive', 'hover', 'focus', 'dark'],
},
plugins: [
require('@tailwindcss/typography'),
require('tailwindcss-aspect-ratio'),
require('@tailwindcss/ui'),
require('tailwindcss-dark-mode')(),
],
purge: {
enabled: process.env.NODE_ENV === 'production',
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'plugins/**/*.js',
'nuxt.config.js',
],
},
experimental: {applyComplexClasses: true, darkModeVariant: true},
}