forked from EntropiaFox/astranauta.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
53 lines (52 loc) · 1.31 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');
// Shades & Tints generator: https://javisperez.github.io/tailwindcolorshades/#/?primary=1169D3&tv=1
module.exports = {
purge: {
enabled: process.env.HUGO_ENVIRONMENT === 'production',
content: ['./layouts/**/*.html'],
},
theme: {
extend: {
colors: {
primary: {
50: '#faf3f3',
100: '#f5e7e7',
200: '#e7c2c3',
300: '#d89d9f',
400: '#ba5456',
500: '#9d0a0e',
600: '#8d090d',
700: '#76080b',
800: '#5e0608',
900: '#4d0507',
},
},
maxWidth: {
ch: '72ch',
},
screens: {
print: { raw: 'print' },
},
fontFamily: {
serif: [
'Crimson Text',
...defaultTheme.fontFamily.serif,
],
},
},
screens: {
sm: `${640 / 16}rem`, // => @media (min-width: 40rem) { ... }
md: `${768 / 16}rem`, // => @media (min-width: 48rem) { ... }
lg: `${1024 / 16}rem`, // => @media (min-width: 64rem) { ... }
xl: `${1280 / 16}rem`, // => @media (min-width: 80rem) { ... }
},
},
variants: {
margin: ['responsive', 'first', 'last'],
padding: ['responsive', 'first', 'last'],
},
plugins: [],
corePlugins: {
animation: false,
},
};