-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
40 lines (39 loc) · 1.24 KB
/
Copy pathtailwind.config.ts
File metadata and controls
40 lines (39 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
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: "class",
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
navy: "rgb(var(--tw-navy) / <alpha-value>)",
ivory: "rgb(var(--tw-ivory) / <alpha-value>)",
gold: "rgb(var(--tw-gold) / <alpha-value>)",
slate: "rgb(var(--tw-slate) / <alpha-value>)",
muted: "rgb(var(--tw-muted) / <alpha-value>)",
background: "rgb(var(--tw-navy) / <alpha-value>)",
foreground: "rgb(var(--tw-ivory) / <alpha-value>)",
},
fontFamily: {
"heading-en": ["var(--font-playfair)", "serif"],
"heading-zh": ["var(--font-noto-serif-tc)", "serif"],
"body-zh": ["var(--font-noto-sans-tc)", "sans-serif"],
"mono-data": ["var(--font-dm-mono)", "ui-monospace", "monospace"],
},
keyframes: {
"line-in": {
"0%": { transform: "scaleX(0)", opacity: "0" },
"100%": { transform: "scaleX(1)", opacity: "1" },
},
},
animation: {
"line-in": "line-in 1.1s ease-out forwards",
},
},
},
plugins: [],
};
export default config;