forked from creatorsgarten/creatorsgarten.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
56 lines (55 loc) · 1.29 KB
/
tailwind.config.cjs
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
const colors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
animation: {
loader: 'loader 0.6s infinite alternate'
},
keyframes: {
loader: {
to: {
opacity: 0.1,
transform: 'translate3d(0, -1rem, 0)'
}
}
},
typography: {
lg: {
css: {
lineHeight: '1.555555'
}
},
DEFAULT: {
css: {
'--tw-prose-links': colors.sky[600],
a: {
textDecoration: 'none',
fontWeight: 'inherit'
},
h1: {
fontWeight: 500
},
h2: {
fontWeight: 500
},
details: {
backgroundColor: colors.gray[50],
marginTop: '1.25em',
marginBottom: '1.25em',
padding: '0.5rem'
},
summary: {
backgroundColor: colors.gray[100],
margin: '-0.5rem -0.5rem 0',
padding: '0.5rem',
cursor: 'pointer'
}
}
}
}
}
},
plugins: [require('@tailwindcss/typography')]
};