-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
33 lines (31 loc) · 957 Bytes
/
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
import type { Config } from 'tailwindcss';
import colorThemePlugin from './src/lib/utils/tailwindcss/color-theme-plugin';
import scrollVariantsPlugin from './src/lib/utils/tailwindcss/scroll-variants-plugin';
import transitionDurableMixinPlugin from './src/lib/utils/tailwindcss/transition-durable-mixin-plugin';
import variablePlugin from './src/lib/utils/tailwindcss/variable-plugin';
module.exports = {
darkMode: ['class', '[data-theme="dark"]'],
content: ['./src/**/*.{html,js,svelte,ts}'],
future: {
hoverOnlyWhenSupported: true
},
theme: {
extend: {
screens: {
xs: '475px'
},
transitionProperty: {
shape: 'width, height, margin, padding, transform'
},
transitionTimingFunction: {
spring: 'cubic-bezier(1, -0.4, 0, 1.4)'
}
}
},
plugins: [
colorThemePlugin,
scrollVariantsPlugin,
transitionDurableMixinPlugin,
variablePlugin
]
} satisfies Config;