-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
34 lines (34 loc) · 919 Bytes
/
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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
aria: {
page: 'current="page"',
},
spacing: {
'page-gutter': 'var(--page-gutter)',
},
maxWidth: {
shell: 'var(--shell-width)',
content: 'var(--content-width)',
},
colors: {
base: 'hsl(var(--color-base) / <alpha-value>)',
surface: 'hsl(var(--color-surface) / <alpha-value>)',
overlay: 'hsl(var(--color-overlay) / <alpha-value>)',
muted: 'hsl(var(--color-muted) / <alpha-value>)',
subtle: 'hsl(var(--color-subtle) / <alpha-value>)',
text: 'hsl(var(--color-text) / <alpha-value>)',
primary: 'hsl(var(--color-primary) / <alpha-value>)',
},
borderColor: (theme) => ({
DEFAULT: theme('colors.overlay', 'currentColor'),
}),
ringColor: {
DEFAULT: 'hsl(var(--color-primary) / 20)',
},
},
},
plugins: [],
};