This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 342
/
tailwind.config.cjs
76 lines (74 loc) · 2.04 KB
/
tailwind.config.cjs
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
73
74
75
76
const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
100: 'var(--primary-100)',
200: 'var(--primary-200)',
300: 'var(--primary-300)',
400: 'var(--primary-400)',
},
accent: {
cyan: 'var(--accent-1)',
magenta: 'var(--accent-2)',
},
neutral: {
50: 'var(--neutral-050)',
100: 'var(--neutral-100)',
200: 'var(--neutral-200)',
300: 'var(--neutral-300)',
400: 'var(--neutral-400)',
500: 'var(--neutral-500)',
600: 'var(--neutral-600)',
700: 'var(--neutral-700)',
800: 'var(--neutral-800)',
900: 'var(--neutral-900)',
},
skin: {
primary: 'var(--color-primary)',
background: 'var(--color-background)',
'off-background': 'var(--color-off-background)',
text: 'var(--color-text)',
'text-highlight': 'var(--color-text-highlight)',
},
},
boxShadow: {
'primary-hover': 'rgba(255, 90, 0, 0.5) 0px 1px 2.5rem',
standard: 'rgba(0, 0, 0, 0.05) 0px 1rem 2rem',
dark: 'rgba(10, 12, 14, 0.9) 0px 1rem 2rem',
},
typography: {
DEFAULT: {
css: {
code: {
color: 'var(--text)',
},
color: 'var(--text)',
h1: {
color: 'var(--color-text-highlight)',
},
h2: {
color: 'var(--color-text-highlight)',
},
h3: {
color: 'var(--color-text-highlight)',
},
h4: {
color: 'var(--color-text-highlight)',
},
h5: {
color: 'var(--color-text-highlight)',
},
h6: {
color: 'var(--color-text-highlight)',
},
},
},
},
},
},
plugins: [require('@tailwindcss/typography')],
};
module.exports = config;