-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
65 lines (62 loc) · 2.18 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';
export default {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/templates/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
extend: {
colors: {
heading: 'rgb(var(--color-text-heading) / <alpha-value>)',
body: 'rgb(var(--color-text-body) / <alpha-value>)',
muted: 'rgb(var(--color-text-muted) / <alpha-value>)',
mutedElement: 'rgb(var(--color-muted) / <alpha-value>)',
primary: {
DEFAULT: 'rgb(var(--color-primary) / <alpha-value>)',
hover: 'rgb(var(--color-primary-hover) / <alpha-value>)',
muted: 'rgb(var(--color-primary-muted) / <alpha-value>)',
},
secondary: {
DEFAULT: 'rgb(var(--color-secondary) / <alpha-value>)',
hover: 'rgb(var(--color-secondary-hover) / <alpha-value>)',
muted: 'rgb(var(--color-secondary-muted) / <alpha-value>)',
},
accent: {
DEFAULT: 'rgb(var(--color-accent) / <alpha-value>)',
hover: 'rgb(var(--color-accent-hover) / <alpha-value>)',
muted: 'rgb(var(--color-accent-muted) / <alpha-value>)',
},
background: 'rgb(var(--color-background) / <alpha-value>)',
foreground: 'rgb(var(--color-foreground) / <alpha-value>)',
border: {
DEFAULT: 'rgb(var(--color-border) / <alpha-value>)',
hover: 'rgb(var(--color-border-hover) / <alpha-value>)',
},
surface: {
DEFAULT: 'rgb(var(--color-surface) / <alpha-value>)',
hover: 'rgb(var(--color-surface-hover) / <alpha-value>)',
},
},
fontFamily: {
heading: 'var(--font-heading)',
body: 'var(--font-body)',
},
fontSize: {
'4xl': 'var(--text-4xl)',
'3xl': 'var(--text-3xl)',
'2xl': 'var(--text-2xl)',
xl: 'var(--text-xl)',
lg: 'var(--text-lg)',
base: 'var(--text-base)',
},
spacing: {
'section-gap': 'var(--section-gap)',
'element-gap': 'var(--element-gap)',
},
},
},
plugins: [],
} satisfies Config;