-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
82 lines (82 loc) · 2.36 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
/*
** TailwindCSS Configuration File
**
** Docs: https://tailwindcss.com/docs/configuration
** Default: /~https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
theme: {
container: {
center: true,
padding: {
default: '1.5rem',
md: '2rem',
xl: '5rem',
'2xl': '10rem',
},
},
colors: {
primary: 'var(--color-primary)',
secondary: 'var(--color-secondary)',
theme: 'var(--color-theme)',
'theme-tint': 'var(--color-theme-tint)',
'theme-op': 'var(--color-theme-op)',
contrast: 'var(--color-contrast)',
transparent: 'transparent',
white: '#FFFFFF',
black: '#000000',
},
fontSize: {
xs: ['.75rem', '1rem'],
sm: ['.875rem', '1.25rem'],
'text-base': ['1rem', '1.5rem'],
lg: ['1.125rem', '1.75rem'],
xl: ['1.25rem', '1.75rem'],
'2xl': ['1.5rem', '2rem'],
'3xl': ['1.875rem', '2.25rem'],
'4xl': ['2.25rem', '2.5rem'],
'5xl': ['3rem', '1'],
'6xl': ['3.75rem', '1'],
'7xl': ['4.5rem', '1'],
'8xl': ['6rem', '1'],
'9xl': ['8rem', '1'],
},
fontFamily: {
display: ['Bebas Neue', 'sans-serif'],
copy: ['Roboto', 'sans-serif'],
},
extend: {
spacing: {
0.5: '0.125rem',
128: '32rem',
},
boxShadow: {
smooth:
'0 2.8px 2.2px rgba(0, 0, 0, 0.034),0 6.7px 5.3px rgba(0, 0, 0, 0.048),0 12.5px 10px rgba(0, 0, 0, 0.06),0 22.3px 17.9px rgba(0, 0, 0, 0.072)',
'glow-primary': '0 0 20px rgba(123,97,255,.5)',
'glow-secondary': '0 0 20px rgba(255,132,94,.5)',
'glow-primary-intense': '0 0 30px 10px rgba(123,97,255,.5)',
'glow-secondary-intense': '0 0 30px 10px rgba(255,132,94,.5)',
'focus-primary': '0 0 0 3px rgba(123,97,255,1)',
'focus-secondary': '0 0 0 3px rgba(255,132,94,1)',
},
},
},
variants: {},
plugins: [],
purge: {
// Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
enabled: process.env.NODE_ENV === 'production',
content: [
'pixelslices/slices/**/*.vue',
'pixelslices/components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'nuxt.config.js',
],
},
}