-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
49 lines (47 loc) · 1.09 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
import type { Config } from 'tailwindcss';
import plugin from 'tailwindcss/plugin';
import daisyui from 'daisyui';
import { spectrum } from './src/theme';
export default {
content: ['./src/**/*.{html,ts}'],
theme: {
fontFamily: {
sans: [
'Avenir Next',
'system-ui',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
'sans-serif',
],
mono: ['monospace'],
},
extend: {
colors: spectrum,
},
},
plugins: [
plugin(function ({ addBase }: { addBase: any }) {
addBase({
h1: { fontSize: '6.25rem', fontWeight: 500 },
h2: { fontSize: '4rem', fontWeight: 500 },
h3: { fontSize: '3rem', fontWeight: 500 },
h4: { fontSize: '2rem', fontWeight: 500 },
h5: { fontSize: '1.5rem', fontWeight: 500 },
h6: { fontSize: '0.75rem', fontWeight: 500 },
});
}),
daisyui,
],
daisyui: {
prefix: "d-",
base: false,
utils: false,
logs: false,
},
} satisfies Config;