-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
39 lines (37 loc) · 921 Bytes
/
tailwind.config.js
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
import plugin from 'tailwindcss/plugin';
// noinspection JSUnusedGlobalSymbols
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
animation: {
extend: 'extend 250ms ease-in-out forwards'
},
height: {
timbral: '100px',
time: '50px',
track: '150px'
},
inset: ({ theme }) => ({
dropdown: `calc(100% + ${ theme('spacing.1') })`
}),
keyframes: {
extend: {
'0%': { width: '0%' },
'100%': { width: '100%' }
}
},
minHeight: ({ theme }) => ({
...theme('spacing')
}),
spacing: {
'track-header': '200px'
}
}
},
plugins: [
plugin(({ addVariant }) => addVariant('aside-action', '&>button')),
plugin(({ addVariant }) => addVariant('nav', '&>*:not(:first-child)'))
]
};