-
Notifications
You must be signed in to change notification settings - Fork 9
/
tailwind.config.ts
65 lines (64 loc) · 2.01 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
container: {
padding: {
DEFAULT: "1rem",
lg: "2rem",
},
center: true,
screens: {
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
},
},
extend: {
fontFamily: {
sans: ["Lato", "Noto Sans TC", "sans-serif"],
rubik: ["Rubik", "Noto Sans TC", "sans-serif"],
},
colors: {
white: { light: "#FFFFFF", DEFAULT: "#FFFFFF", dark: "#FFFFFF" },
gold: { light: "#E5C366", DEFAULT: "#E5C366", dark: "#CBAB58" },
purple: { light: "#A441E0", DEFAULT: "#A441E0", dark: "#B53DFF" },
pink: { light: "#FF3495", DEFAULT: "#FF3495", dark: "#EB127A" },
green: { light: "#00D98B", DEFAULT: "#00D98B", dark: "#19D18F" },
blue: { light: "#46A5FD", DEFAULT: "#46A5FD", dark: "#3E9EF6" },
"6-6": { light: "#373737", DEFAULT: "#373737", dark: "#595959" },
"5-6": { light: "#595959", DEFAULT: "#595959", dark: "#808080" },
"4-6": { light: "#808080", DEFAULT: "#808080", dark: "#A5A5A5" },
"3-6": { light: "#A5A5A5", DEFAULT: "#A5A5A5", dark: "#BFBFBF" },
"2-6": { light: "#BFBFBF", DEFAULT: "#BFBFBF", dark: "#D9D9D9" },
"1-6": { light: "#D9D9D9", DEFAULT: "#D9D9D9", dark: "#FFFFFF" },
},
animation: {
scroll:
"scroll var(--animation-duration, 40s) var(--animation-direction, forwards) linear infinite",
"spin-slow": "spin 20s linear infinite",
},
keyframes: {
scroll: {
to: {
transform: "translate(calc(-50% - 0.5rem))",
},
},
},
typography: {
DEFAULT: {
css: {
maxWidth: "100%",
},
},
},
},
},
plugins: [require("@tailwindcss/typography")],
};
export default config;