-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.ts
60 lines (59 loc) · 2.62 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
// Types
import type { Config } from 'tailwindcss'
// Theme
import { fontFamily } from 'tailwindcss/defaultTheme'
// Plugins
import headlessUIPlugin from '@headlessui/tailwindcss'
import typographyPlugin from '@tailwindcss/typography'
import { iconsPlugin, getIconCollections } from '@egoist/tailwindcss-icons'
// https://tailwindcss.com/docs/configuration
export default <Partial<Config>>{
theme: {
extend: {
colors: { primary: '#a83d3d', discord: '#5865f2' },
fontFamily: {
sans: ['"Noto Sans JP"', ...fontFamily.sans],
mono: ['"Source Code Pro"', '"Noto Sans JP"', ...fontFamily.mono],
accent: ['Lexend', 'sans-serif'],
},
gridTemplateColumns: {
'fill-0': 'repeat(auto-fill, minmax(0px, 1fr))',
'fill-1': 'repeat(auto-fill, minmax(0.25rem, 1fr))',
'fill-2': 'repeat(auto-fill, minmax(0.5rem, 1fr))',
'fill-3': 'repeat(auto-fill, minmax(0.75rem, 1fr))',
'fill-4': 'repeat(auto-fill, minmax(1rem, 1fr))',
'fill-5': 'repeat(auto-fill, minmax(1.25rem, 1fr))',
'fill-6': 'repeat(auto-fill, minmax(1.5rem, 1fr))',
'fill-7': 'repeat(auto-fill, minmax(1.75rem, 1fr))',
'fill-8': 'repeat(auto-fill, minmax(2rem, 1fr))',
'fill-9': 'repeat(auto-fill, minmax(2.25rem, 1fr))',
'fill-10': 'repeat(auto-fill, minmax(2.5rem, 1fr))',
'fill-11': 'repeat(auto-fill, minmax(2.75rem, 1fr))',
'fill-12': 'repeat(auto-fill, minmax(3rem, 1fr))',
'fill-14': 'repeat(auto-fill, minmax(3.5rem, 1fr))',
'fill-16': 'repeat(auto-fill, minmax(4rem, 1fr))',
'fill-20': 'repeat(auto-fill, minmax(5rem, 1fr))',
'fill-24': 'repeat(auto-fill, minmax(6rem, 1fr))',
'fill-28': 'repeat(auto-fill, minmax(7rem, 1fr))',
'fill-32': 'repeat(auto-fill, minmax(8rem, 1fr))',
'fill-36': 'repeat(auto-fill, minmax(9rem, 1fr))',
'fill-40': 'repeat(auto-fill, minmax(10rem, 1fr))',
'fill-44': 'repeat(auto-fill, minmax(11rem, 1fr))',
'fill-48': 'repeat(auto-fill, minmax(12rem, 1fr))',
'fill-52': 'repeat(auto-fill, minmax(13rem, 1fr))',
'fill-56': 'repeat(auto-fill, minmax(14rem, 1fr))',
'fill-60': 'repeat(auto-fill, minmax(15rem, 1fr))',
'fill-64': 'repeat(auto-fill, minmax(16rem, 1fr))',
'fill-72': 'repeat(auto-fill, minmax(18rem, 1fr))',
'fill-80': 'repeat(auto-fill, minmax(20rem, 1fr))',
'fill-96': 'repeat(auto-fill, minmax(24rem, 1fr))',
},
},
},
plugins: [
headlessUIPlugin,
typographyPlugin,
iconsPlugin({ collections: getIconCollections(['ph', 'simple-icons']) }),
],
darkMode: 'class',
}