-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
68 lines (67 loc) · 1.39 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
62
63
64
65
66
67
68
import { join } from 'path';
import type { Config } from 'tailwindcss';
import forms from '@tailwindcss/forms';
import { skeleton } from '@skeletonlabs/tw-plugin';
import { RemasterGreen } from './src/themes/RemasterGreen';
import { CoreRed } from './src/themes/CoreRed';
import pf2ools from './scripts/tailwind-plugin';
import colors from 'tailwindcss/colors';
export default {
darkMode: 'class',
content: [
'./src/**/*.{html,js,svelte,ts}',
join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}'),
],
theme: {
extend: {
gridTemplateColumns: {
'24': 'repeat(24, minmax(0, 1fr))',
},
gridColumn: {
'span-var': 'span var(--span) / span var(--span);',
},
scale: {
'200': '2',
'175': '1.75',
},
spacing: {
slot: 'var(--slotHeight)',
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
},
fontFamily: {
flavor: ['var(--theme-font-family-flavor)'],
action: ['pathfinder2eactions'],
},
colors: {
gray: colors.gray,
},
},
container: {
center: true,
padding: {
DEFAULT: '1rem',
sm: '2rem',
lg: '4rem',
xl: '6rem',
'2xl': '8rem',
},
},
},
plugins: [
pf2ools,
forms,
skeleton({
themes: {
custom: [RemasterGreen, CoreRed],
},
}),
],
} satisfies Config;