-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.ts
38 lines (37 loc) · 1.08 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
import type { Config } from 'tailwindcss'
import defaultTheme from "tailwindcss/defaultTheme";
import { animations, components, palette, shade } from "@tailus/themer";
import containerQueries from '@tailwindcss/container-queries'
import { withTV } from 'tailwind-variants/transformer';
module.exports = withTV({
content: [
'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
"./node_modules/@tailus/themer/dist/components/**/*.{js,ts}",
],
darkMode: "selector",
safelist : ["dark:from-gray-950"],
theme: {
extend: {
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
mono: ['GeistMono', 'fira-code', ...defaultTheme.fontFamily.mono],
},
keyframes: {
inTooltip: {
from: { scale: "0.75", opacity: "0" },
to: { scale: "1", opacity: "1" },
},
},
animation: {
inTooltip: "inTooltip 200ms cubic-bezier(0.87, 0, 0.13, 1)",
},
}
},
plugins: [
components,
shade,
palette,
animations,
containerQueries,
],
}) satisfies Config;