-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
41 lines (40 loc) · 1.09 KB
/
tailwind.config.mjs
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
import defaultTheme from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
darkMode: ["selector", "[data-dark-mode='true']"],
theme: {
extend: {
fontFamily: {
sans: ["'Inter Variable'", ...defaultTheme.fontFamily.sans],
},
typography: {
DEFAULT: {
css: {
"code::before": {
content: '""',
},
"code::after": {
content: '""',
},
},
},
},
keyframes: {
slideDown: {
from: { height: "0px" },
to: { height: "var(--radix-accordion-content-height)" },
},
slideUp: {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0px" },
},
},
animation: {
slideDown: "slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)",
slideUp: "slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)",
},
},
},
plugins: [require("@tailwindcss/typography")],
};