forked from ShipBit/slickgpt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
53 lines (50 loc) · 1.18 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
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']
},
fontSize: {
xs: '0.875rem',
sm: '0.925rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.75rem',
'4xl': '2rem',
'5xl': '2.25rem',
'6xl': '2.5rem'
}
}
},
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;