-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtailwind.config.js
More file actions
44 lines (43 loc) · 1.24 KB
/
Copy pathtailwind.config.js
File metadata and controls
44 lines (43 loc) · 1.24 KB
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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-sans)", ...defaultTheme.fontFamily.sans],
mono: ["var(--font-mono)", ...defaultTheme.fontFamily.mono],
display: ["var(--font-display)", ...defaultTheme.fontFamily.serif],
},
backgroundColor: {
background: "var(--background)",
foreground: "var(--foreground)",
},
textColor: {
background: "var(--background)",
foreground: "var(--foreground)",
},
colors: {
diamond: {
pink: "var(--diamond-pink)",
blue: "var(--diamond-blue)",
yellow: "var(--diamond-yellow)",
green: "var(--diamond-green)",
orange: "var(--diamond-orange)",
purple: "var(--diamond-purple)",
},
},
animation: {
marquee: "marquee 30s linear infinite",
},
keyframes: {
marquee: {
"0%": { transform: "translateX(100%)" },
"100%": { transform: "translateX(-100%)" },
},
},
},
},
plugins: [],
};