-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
54 lines (52 loc) · 1.26 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
import type { Config } from "tailwindcss";
import defaultTheme from "tailwindcss/defaultTheme";
import Typography from "@tailwindcss/typography";
import colors from "tailwindcss/colors";
const config = {
content: ["./src/**/*.{ts,tsx}"],
darkMode: "selector",
theme: {
extend: {
screens: {
sm: "540px",
md: "720px",
lg: "960px",
xl: "1140px",
"2xl": "1320px",
},
colors: {
primary: colors.green,
"light-green": "#f4f9f4",
},
fontFamily: {
sans: ["var(--font-rubik)", ...defaultTheme.fontFamily.sans],
},
typography: () => ({
DEFAULT: {
css: {
a: {
color: colors.green[500],
fontWeight: "400",
textDecoration: "none",
"&:hover": {
color: colors.green[500],
textDecoration: "underline",
},
},
strong: {
fontWeight: "500",
},
li: {
"&::marker": {
color: colors.green[500],
fontWeight: "500",
},
},
},
},
}),
},
},
plugins: [Typography],
} satisfies Config;
export default config;