forked from ShipBit/slickgpt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
61 lines (58 loc) · 1.33 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 { join } from 'path';
import type { Config } from 'tailwindcss';
// 1. Import the Skeleton plugin
import { skeleton } from '@skeletonlabs/tw-plugin';
const config = {
darkMode: 'class',
content: [
'./src/**/*.{html,js,svelte,ts}',
// 3. Append the path to the Skeleton package
join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')
],
theme: {
extend: {
colors: {
shipbit: {
DEFAULT: '#E81748'
}
},
fontFamily: {
inter: ['Inter', 'sans-serif'],
'architects-daughter': ['"Architects Daughter"', 'sans-serif'],
barlow: ['Barlow', 'sans-serif'],
code: ['Fira Code', 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', 'monospace']
},
letterSpacing: {
tighter: '-0.02em',
tight: '-0.01em',
normal: '0',
wide: '0.01em',
wider: '0.02em',
widest: '0.4em'
},
fontSize: {
xs: '0.875rem',
sm: '1rem',
base: '1.125rem',
lg: '1.25rem',
xl: '1.375rem',
'2xl': '1.5rem',
'3xl': '2rem',
'4xl': '2.5rem',
'5xl': '3.25rem',
'6xl': '4rem'
}
}
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
skeleton({
themes: {
// Register each theme within this array:
preset: [{ name: 'skeleton', enhancements: true }]
}
})
]
} satisfies Config;
export default config;