-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
tailwind.config.js
71 lines (71 loc) · 1.68 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
module.exports = {
mode: 'jit',
important: true,
purge: ['./components/**/*.{js,ts,jsx,tsx,mdx}', './pages/**/*.{js,ts,jsx,tsx,mdx}'],
darkMode: 'class', // 'media' or 'class'
theme: {
extend: {
colors: {
'accent-1': '#333',
discord: '#7289da',
// https://javisperez.github.io/tailwindcolorshades/#/?Mine%20Shaft=312d2a&tv=1
primary: {
50: '#F5F5F4',
100: '#EAEAEA',
200: '#CCCBCA',
300: '#ADABAA',
400: '#6F6C6A',
500: '#312D2A',
600: '#2C2926',
700: '#1D1B19',
800: '#161413',
900: '#0F0E0D'
}
},
typography: (theme) => ({
DEFAULT: {
css: {
'code::before': {
content: 'none'
},
'code::after': {
content: 'none'
},
h1: {
fontWeight: theme('fontWeight.medium'),
marginBottom: 0
},
h2: {
fontWeight: theme('fontWeight.medium'),
marginBottom: '0.5em',
marginTop: '1.5em'
}
}
}
}),
maxWidth: {
'8xl': '90rem'
},
maxHeight: (theme) => ({
'(screen-5)': `calc(100vh - ${theme('spacing.5')})`
})
},
fontFamily: {
minecraft: ['minecraftiaregular', 'sans-serif']
}
},
variants: {
extend: {}
},
plugins: [
require('tailwind-heropatterns')({
patterns: ['floating-cogs'],
// The foreground opacity
includeThemeColors: true,
colors: {
default: '#312D2A'
}
}),
require('@tailwindcss/typography')
]
}