-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
40 lines (40 loc) · 1.52 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
darkMode: 'class', // Enable dark mode variant
theme: {
extend: {
colors: {
primary: {
DEFAULT: 'rgb(var(--color-primary) / <alpha-value>)',
light: 'rgb(var(--color-primary-light) / <alpha-value>)',
dark: 'rgb(var(--color-primary-dark) / <alpha-value>)',
},
secondary: {
DEFAULT: 'rgb(var(--color-secondary) / <alpha-value>)',
light: 'rgb(var(--color-secondary-light) / <alpha-value>)',
dark: 'rgb(var(--color-secondary-dark) / <alpha-value>)',
},
background: {
DEFAULT: 'rgb(var(--color-background) / <alpha-value>)',
light: 'rgb(var(--color-background-light) / <alpha-value>)',
dark: 'rgb(var(--color-background-dark) / <alpha-value>)',
},
text: {
DEFAULT: 'rgb(var(--color-text) / <alpha-value>)',
muted: 'rgb(var(--color-text-muted) / <alpha-value>)',
dark: 'rgb(var(--color-text-dark) / <alpha-value>)',
},
accent: {
DEFAULT: 'rgb(var(--color-accent) / <alpha-value>)',
light: 'rgb(var(--color-accent-light) / <alpha-value>)',
dark: 'rgb(var(--color-accent-dark) / <alpha-value>)',
},
error: 'rgb(var(--color-error) / <alpha-value>)',
success: 'rgb(var(--color-success) / <alpha-value>)',
warning: 'rgb(var(--color-warning) / <alpha-value>)',
},
},
},
plugins: [],
}