-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
72 lines (71 loc) · 1.86 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
66
67
68
69
70
71
72
import type { Config } from "tailwindcss";
import defaultTheme from "tailwindcss/defaultTheme";
import animate from "tailwindcss-animate";
const config: Config = {
darkMode: ["class"],
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
safelist: [
"bg-[#FFE5F8]",
"bg-[#DBF0DB]",
"bg-[#DAD6FF]",
"bg-[#FFEEBE]",
"bg-[#FFFDEB]",
"bg-[#FFD9CE]",
"bg-[#D3EDFE]",
"bg-[#C8F6F6]",
],
theme: {
extend: {
fontFamily: {
mono: ["var(--font-dm-mono)", ...defaultTheme.fontFamily.mono],
sans: ["var(--font-dm-sans)", ...defaultTheme.fontFamily.sans],
},
backgroundImage: {
"hero-bg-gradient": "url('/hero-gradient-bg.png')",
"footer-gradient-bg": "url('/footer-gradient-bg.png')",
"allo-bg": "url('/allo-bg.svg')",
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
colors: {
green: {
"500": "#185B52",
"700": "#00433B",
},
blue: {
"200": "#9EDCFF",
"600": "#191AFE",
"800": "#082553",
},
yellow: {
"200": "#F8FFA9",
"500": "#F0FF40",
},
grey: {
"100": "#EBEBEB",
"200": "#CACBCB",
"400": "#979998",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
},
},
plugins: [
animate,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function ({ addVariant }: any) {
addVariant("child", "& > *");
addVariant("child-hover", "& > *:hover");
},
],
};
export default config;