-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
52 lines (51 loc) · 1.35 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
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
import colors from "tailwindcss/colors";
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: {
fontFamily: {
sans: ["var(--font-inter)"],
mond: ["var(--font-mond)"],
bit: ["var(--font-bit)"],
},
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
primary: {
"50": "#f0fdf6",
"100": "#dbfdec",
"200": "#b9f9d9",
"300": "#83f2ba",
"400": "#46e294",
"500": "#1dc672",
"600": "#12a75d",
"700": "#12834b",
"800": "#14673e",
"900": "#125536",
"950": "#042f1c",
},
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
},
},
plugins: [
plugin(({ addVariant }) => {
addVariant("child", "& > *");
addVariant("child-hover", "& > *:hover");
}),
require("tailwindcss-animate"),
require("@tailwindcss/typography"),
],
};
export default config;