-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
70 lines (69 loc) · 1.76 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
darkMode: 'class',
theme: {
extend: {
spacing: {
'9/16': '56.25%',
},
lineHeight: {
11: '2.75rem',
12: '3rem',
13: '3.25rem',
14: '3.5rem',
},
fontFamily: {
sans: ['InterVariable', ...defaultTheme.fontFamily.sans],
},
backgroundImage: {
'cover-gradient':
'linear-gradient(180deg,transparent 0,rgba(0,0,0,.15) 70%,rgba(0,0,0,.5))',
},
typography: (theme) => ({
DEFAULT: {
css: {
a: {
color: theme('colors.purple.500'),
'&:hover': {
color: `${theme('colors.purple.400')} !important`,
},
code: { color: theme('colors.purple.400') },
},
pre: {
backgroundColor: theme('colors.gray.900'),
border: `1px solid ${theme('colors.gray.700')}`,
},
'code::before': {
content: 'none'
},
'code::after': {
content: 'none'
},
code: {
color: `${theme('colors.gray.50')} !important`,
backgroundColor: theme('colors.gray.900'),
borderRadius: '0.25rem',
padding: '0.25rem',
},
},
},
}),
},
},
corePlugins: {
aspectRatio: false,
},
plugins: [
require('@tailwindcss/typography'),
require('@catppuccin/tailwindcss', {
defaultFlavour: 'mocha',
}),
require('@tailwindcss/aspect-ratio'),
],
content: [
'site/themes/staticfy/templates/*.tmpl',
'site/pages/**/*.md',
'site/posts/**/*.md',
'site/public/**/*.html'
]
}