-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
60 lines (57 loc) · 1.43 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
59
60
import type { Config } from 'tailwindcss'
const plugin = require('tailwindcss/plugin')
const defaultTheme = require('tailwindcss/defaultTheme')
const config: Config = {
content: ['./src/**/*.{html,tsx,ts,js,jsx,css,scss,sass,less,json}'],
theme: {
fontFamily: {
sans: ['GeneralSans', ...defaultTheme.fontFamily.sans],
mono: [...defaultTheme.fontFamily.mono]
},
extend: {
transitionProperty: {
height: 'height'
}
}
},
daisyui: {
themes: [
{
light: {
'color-scheme': 'light',
'primary': 'oklch(49.12% 0.3096 275.75)',
'secondary': 'oklch(69.71% 0.329 342.55)',
'secondary-content': 'oklch(98.71% 0.0106 342.55)',
'accent': 'oklch(76.76% 0.184 183.61)',
'neutral': '#000000',
'neutral-content': '#FFFFFF',
'base-100': 'oklch(100% 0 0)',
'base-200': '#F2F2F2',
'base-300': '#E5E6E6',
'base-content': '#1f2937'
}
}
]
},
variants: {},
plugins: [
require('tailwindcss'),
require('@tailwindcss/typography'),
require('autoprefixer'),
require('daisyui'),
plugin(function ({ addBase }: { addBase: any }) {
addBase({
a: {
'textDecoration': 'none',
'&:hover': {
textDecoration: 'underline'
}
}
})
})
],
corePlugins: {
preflight: true
}
}
export default config