-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
48 lines (46 loc) · 1.27 KB
/
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
39
40
41
42
43
44
45
46
47
import themer from '@tailus/themer'
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./src/app.html',
'./src/**/*.{html,js,svelte,ts}',
"./node_modules/@tailus/themer-**/dist/**/*.{js,ts}"
],
theme: {
extend: {
colors: ({ colors }) => ({
primary: colors.blue,
success: colors.green,
danger: colors.red,
warning: colors.yellow,
info: colors.blue,
gray : colors.zinc,
white: colors.white,
black: colors.black,
transparent: colors.transparent,
}),
fontFamily: {
sans: ['Geist', 'Inter', ...defaultTheme.fontFamily.sans],
mono : ['GeistMono', 'fira-code', ...defaultTheme.fontFamily.mono],
},
keyframes: {
slideDown: {
from: { height: 0 },
to: { height: 'var(--themer-accordion-content-height)' },
},
slideUp: {
from: { height: 'var(--themer-accordion-content-height)' },
to: { height: 0 },
},
},
animation: {
slideDown: 'slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)',
slideUp: 'slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)',
}
},
},
plugins: [
themer
],
}