-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.cjs
49 lines (48 loc) · 1001 Bytes
/
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
const typographyPlugin = require('@tailwindcss/typography');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,ts,tsx,svg}'],
darkMode: ['class', '[data-mode="dark"]'],
plugins: [typographyPlugin()],
root: __dirname,
theme: {
extend: {
animation: {
dash: 'dash 3s forwards',
'spin-slow': 'spin 10s linear infinite'
},
colors: {
logo: {
300: '#57abda',
800: '#0743c6',
900: '#102e71'
}
},
container: {
center: true,
padding: {
DEFAULT: '1rem',
md: '2rem',
xl: '3rem'
}
},
fontSize: {
md: '0.9375rem'
},
keyframes: {
dash: {
'50%, 100%': {
strokeDashoffset: 0
}
}
},
typography: {
sm: {
css: {
fontSize: '0.9375rem'
}
}
}
}
}
};