-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
46 lines (44 loc) · 1.17 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
import type { Config } from "tailwindcss";
import * as defaultTheme from "tailwindcss/defaultTheme";
import * as colors from "tailwindcss/colors";
const { indigo, orange, green, red } = colors;
const {
fontFamily: { sans },
} = defaultTheme;
const config: Config = {
content: ["./src/app/**/*.{js,ts,jsx,tsx,mdx}", "./src/libs/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
fontFamily: {
clash: ["Clash", ...sans],
},
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
screens: {
xs: "420px",
"radix-xs": "520px",
"radix-xl": "1640px",
},
colors: {
primary: {
...indigo,
DEFAULT: indigo[950],
},
secondary: {
...orange,
DEFAULT: orange[500],
},
"primary-selected": indigo[400],
"success": green[400],
"error": red[500],
},
animation: {
"spin-slow": "spin 3s linear infinite",
},
},
},
plugins: [require("tailwind-scrollbar")],
};
export default config;