-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
47 lines (45 loc) · 1.4 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
import type { Config } from 'tailwindcss'
import defaultTheme from 'tailwindcss/defaultTheme'
import { iconsPlugin, getIconCollections } from "@egoist/tailwindcss-icons"
export default {
darkMode: 'selector',
content: ['./src/**/*.tsx'],
theme: {
extend: {
fontFamily: {
sans: [
'var(--font-noto-sans)',
'var(--font-noto-sans-sc)',
...defaultTheme.fontFamily.sans,
],
mono: ['var(--font-noto-sans-mono)', ...defaultTheme.fontFamily.mono],
},
boxShadow: {
cxs: 'rgba(0, 0, 0, 0.03) 1px 1px 20px 1px',
},
transitionDuration: {
400: '400ms',
600: '600ms',
},
colors: {
'primary-bg': 'rgb(var(--color-primary-bg) / <alpha-value>)',
primary: 'rgb(var(--color-primary) / <alpha-value>)',
'primary-dark': 'rgb(var(--color-primary-dark) / <alpha-value>)',
'primary-small': 'rgb(var(--color-primary-small) / <alpha-value>)',
'primary-medium': 'rgb(var(--color-primary-medium) / <alpha-value>)',
'primary-light': 'rgb(var(--color-primary-light) / <alpha-value>)',
'primary-extralight': 'rgb(var(--color-primary-extralight) / <alpha-value>)',
},
},
},
safelist: [
{
pattern: /duration-(400|500|600|700)/,
},
],
plugins: [
iconsPlugin({
collections: getIconCollections(['mingcute'])
})
]
} satisfies Config