-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
50 lines (49 loc) · 1.01 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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,ts,tsx,md,mdx}'],
safelist: [
{
pattern: /bg-(yellow|green|violet|sky|rose)-100/,
},
{
pattern: /bg-(yellow|green|violet|sky|rose)-200/,
variants: ['hover'],
},
{
pattern: /text-(yellow|green|violet|sky|rose)-500/,
},
{
pattern: /text-(yellow|green|violet|sky|rose)-700/,
variants: ['hover'],
},
{
pattern: /(w|h)-(5|6|14)/,
},
],
theme: {
extend: {
fontFamily: {
mono: ['"JetBrains Mono"', ...defaultTheme.fontFamily.mono],
},
borderWidth: {
6: '6px',
},
listStyleType: {
circle: 'circle',
'lower-roman': 'lower-roman',
},
screens: {
xl: '1024px',
'2xl': '1024px',
},
maxWidth: {
'2/5': '40%',
},
lineHeight: {
relaxed: '1.75',
inherit: 'inherit',
},
},
},
plugins: [],
};