-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
61 lines (60 loc) · 1.47 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
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
import safeArea from 'tailwindcss-safe-area';
import {
gray,
neutral,
black,
white,
} from 'tailwindcss/colors';
import type { Config } from 'tailwindcss';
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
darkMode: 'class',
future: {
hoverOnlyWhenSupported: true,
},
theme: {
colors: {
current: 'currentColor',
inherit: 'inherit',
transparent: 'transparent',
primary: '#ee6e00',
black,
white,
dark: neutral[800],
light: neutral[50],
gray,
neutral,
},
extend: {
boxShadow: {
DEFAULT: '-1px 1px 4px 0px rgba(0, 0, 0, 0.4)',
},
spacing: {
sidebar: 'var(--sidebar)',
'sidebar-gap': 'var(--sidebar-gap)',
'card-gap': 'var(--card-gap)',
'titlebar-area-x': 'env(titlebar-area-x, 0)',
'titlebar-area-y': 'env(titlebar-area-y, 0)',
'titlebar-area-width': 'env(titlebar-area-width, 0)',
'titlebar-area-height': 'env(titlebar-area-height, 0)',
},
typography: {
DEFAULT: {
css: {
'--tw-prose-bullets': 'var(--tw-prose-body)',
'--tw-prose-invert-body': 'white',
'--tw-prose-invert-bullets': 'var(--tw-prose-invert-body)',
maxWidth: '100%',
},
},
},
},
},
plugins: [
forms,
safeArea,
typography,
],
} satisfies Config;