generated from cyrus01337/astro-app-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
52 lines (51 loc) · 1.54 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
48
49
50
51
52
import typography from "@tailwindcss/typography";
import daisyUI from "daisyui";
import defaultTheme from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
daisyui: {
themes: ["light", "dark"],
},
theme: {
extend: {
animation: {
"display-numbers": "display-numbers 6s ease-in-out infinite",
},
brightness: {
30: "0.30",
},
fontFamily: {
sans: ["Inter Tight Variable", ...defaultTheme.fontFamily.sans],
},
keyframes: {
"display-numbers": {
"0%, 80%, 100%": {
"flex-basis": 0,
color: "oklch(var(--bc))",
},
"20%, 60%": {
"flex-basis": "50%",
color: "oklch(var(--p))",
},
},
},
transitionDelay: {
1500: "1500ms",
},
transitionProperty: {
filter: "filter",
"flex-basis": "flex-basis",
size: "height, width",
},
},
screens: {
sm: { max: "639px" },
md: { max: "767px" },
lg: { max: "1023px" },
xl: { max: "1279px" },
"2xl": { max: "1535px" },
},
},
plugins: [typography, daisyUI],
};