-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
52 lines (49 loc) · 1.07 KB
/
Copy pathtailwind.config.ts
File metadata and controls
52 lines (49 loc) · 1.07 KB
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
import type { Config } from 'tailwindcss';
import temporal, { textStyles } from './src/lib/theme/plugin';
import { fontSize } from './src/lib/theme/preset';
const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
darkMode: ['selector', '[data-theme="dark"]'],
theme: {
fontFamily: {
sans: [
'ui-sans-serif',
'system-ui',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
],
serif: [
'ui-serif',
'Georgia',
'Cambria',
'Times New Roman',
'Times',
'serif',
],
mono: [
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'Liberation Mono',
'Courier New',
'monospace',
],
},
extend: {
animation: {
'spin-slow': 'spin 3s linear infinite',
},
fontSize,
zIndex: {
100: '100',
},
},
},
plugins: [temporal, textStyles],
} satisfies Config;
export default config;