Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
75 lines (75 loc) · 1.7 KB
/
Copy pathtailwind.config.js
File metadata and controls
75 lines (75 loc) · 1.7 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./components/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./content/**/*.mdx'
],
safelist: [
'max-w-sm',
'max-w-md',
'max-w-lg'
],
darkMode: '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']
}
},
plugins: [
require('tailwind-heropatterns')({
patterns: ['floating-cogs'],
includeThemeColors: true,
colors: {
default: '#312D2A'
}
}),
require('@tailwindcss/typography')
]
}