-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
53 lines (52 loc) · 1.37 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
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
module.exports = {
mode: 'jit',
// https://tailwindcss.com/docs/upcoming-changes
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
purge: {
enabled: process.env.NODE_ENV === 'production',
content: ['./src/**/*.js'],
},
theme: {
extend: {
boxShadow: {
'dark-mode-outline': '0 0 0 3px rgba(255, 255, 225, 0.95)',
banner: '0px 4px 40px rgba(0, 0, 0, 0.05)',
},
colors: {
'accent-1': '#333',
'super-blue': '#2CD9FF',
'super-orange': '#F29B4A',
'super-yellow': '#F9CD31',
orange: colors.orange,
teal: colors.teal,
},
fontFamily: {
sans: ['Poppins', ...defaultTheme.fontFamily.sans],
system: defaultTheme.fontFamily.sans,
hero: ['Poppins', ...defaultTheme.fontFamily.sans],
},
maxWidth: {
limit: '80rem',
},
minHeight: {
0: '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
full: '100%',
},
},
},
variants: {
boxShadow: ['focus', 'hover', 'focus-visible'],
opacity: ['focus', 'hover', 'group-hover'],
outline: ['focus', 'hover', 'focus-visible'],
textDecoration: ['focus', 'hover', 'focus-visible'],
},
plugins: [],
};