-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.ts
58 lines (57 loc) · 1.5 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
import type { Config } from 'tailwindcss';
import colorPalette from './color_palette';
import * as colors from 'tailwindcss/colors';
export default {
content: {
relative: true,
files: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
]
},
darkMode: "class",
theme: {
extend: {
fontFamily: {
sans: '"Commissioner",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"',
},
height: {
'13': '3.25rem',
'42': '10.5rem',
},
maxWidth: {
'72': '18rem',
'96': '24rem'
},
width: {
'13': '3.25rem',
'18': '4.5rem',
'42': '10.5rem',
'1/8': `${(1 / 8) * 100}%`,
'7/8': `${(7 / 8) * 100}%`,
'1/9': `${(1 / 9) * 100}%`,
'5/9': `${(5 / 9) * 100}%`,
'4/9': `${(4 / 9) * 100}%`
}
},
colors: {
primary: colorPalette.primary,
danger: colorPalette.danger,
warning: colorPalette.warning,
success: colorPalette.success,
info: colorPalette.info,
gray: colors.gray,
black: colors.black,
white: colors.white,
zinc: colors.zinc,
transparent: colors.transparent,
amber: colors.amber,
orange: colors.orange,
sky: colors.sky
},
},
plugins: [
require('@tailwindcss/forms'),
require('tailwind-scrollbar')
]
} satisfies Config;