-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
51 lines (50 loc) · 1.52 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
39
40
41
42
43
44
45
46
47
48
49
50
51
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./index.html",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
daisyui: {
themes: [
{
mytheme: {
primary: "#ff9900",
secondary: "#ff7700",
},
},
],
},
theme: {
extend: {
colors: {
primary: "#ff9900",
"on-primary": "#ffffff",
secondary: "#ff7700",
"on-secondary": "#ffffff",
tertiary: "#2d1800",
"on-tertiary": "#ffffff",
surface: "#ffffff",
"on-surface": "#0A1014",
},
animation: {
marquee: "marquee var(--duration) linear infinite",
"marquee-vertical":
"marquee-vertical var(--duration) linear infinite",
},
keyframes: {
marquee: {
from: { transform: "translateX(0)" },
to: { transform: "translateX(calc(-100% - var(--gap)))" },
},
"marquee-vertical": {
from: { transform: "translateY(0)" },
to: { transform: "translateY(calc(-100% - var(--gap)))" },
},
},
},
},
plugins: [require("daisyui")],
};
export default config;