-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathtailwind.config.js
More file actions
30 lines (30 loc) · 828 Bytes
/
tailwind.config.js
File metadata and controls
30 lines (30 loc) · 828 Bytes
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
import theme from 'tailwindcss/defaultTheme';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
fontFamily: {
'sans': ['Inter', ...theme.fontFamily.sans],
'mono': ['"Roboto Mono"', ...theme.fontFamily.mono],
},
colors: {
'primary': 'var(--color-primary)',
'background': 'var(--color-background)',
'background-secondary': 'var(--color-background-secondary)',
'background-tertiary': 'var(--color-background-tertiary)',
'label': 'var(--color-label)',
'info': 'var(--color-info)',
'warning': 'var(--color-warning)',
},
borderRadius: {
'4xl': '2rem',
},
fontSize: {
'2xs': '0.58rem',
},
},
},
darkMode: ['class', '[data-theme="dark"]'],
plugins: [require('@tailwindcss/forms')],
};