-
-
Notifications
You must be signed in to change notification settings - Fork 422
/
tailwind.config.ts
58 lines (55 loc) · 1.21 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
// Plugins:
import defaultTheme from 'tailwindcss/defaultTheme';
import twTypography from '@tailwindcss/typography';
const config = {
darkMode: 'class',
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
'code::before': {
content: '""'
},
'code::after': {
content: '""'
},
'h1 a': {
'text-decoration': 'none'
},
'h2 a': {
'text-decoration': 'none'
},
blockquote: {
'font-style': 'normal'
}
}
}
},
colors: {
dark: '#161616',
light: '#f5f5f5'
},
fontFamily: {
sans: ['InterVariable', ...defaultTheme.fontFamily.sans],
mono: ['GeistMono', ...defaultTheme.fontFamily.mono]
},
fontSize: {
mini: '14px'
}
}
},
plugins: [
twTypography,
({ addUtilities }) => {
addUtilities({
'.text-balance': {
'text-wrap': 'balance'
}
});
}
]
} satisfies Config;
export default config;