forked from satisfactorymodding/smr-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
42 lines (38 loc) · 891 Bytes
/
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
import { join } from 'path';
import type { Config } from 'tailwindcss';
import { skeleton } from '@skeletonlabs/tw-plugin';
import { customTheme } from './custom-theme';
const config = {
mode: 'jit',
content: [
'./src/**/*.{html,js,svelte,ts}',
join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')
],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
flow: ['Flow']
},
screens: {
fhd: '1920px',
'3xl': '2100px',
fhdx: { max: '1920px' },
'3xlx': { max: '2100px' },
'2xlx': { max: '1535px' },
xlx: { max: '1279px' },
lgx: { max: '1023px' },
mdx: { max: '767px' },
smx: { max: '639px' }
}
}
},
plugins: [
skeleton({
themes: {
custom: [customTheme]
}
})
]
} satisfies Config;
export default config;