-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.mjs
34 lines (32 loc) · 944 Bytes
/
tailwind.config.mjs
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
import { getIconCollections, iconsPlugin } from '@egoist/tailwindcss-icons'
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
plugins: [iconsPlugin({
collections: getIconCollections(['mdi', 'ic', 'carbon', 'eos-icons', 'material-symbols']),
})],
theme: {
extend: {
colors: {
primary: 'var(--c-primary)',
secondary: 'var(--c-secondary)',
accent: 'var(--c-accent)',
default: 'var(--c-text-default)',
muted: 'var(--c-text-muted)',
border: {
default: 'var(--c-border-base)',
},
},
backgroundColor: {
'page': 'var(--c-bg-page)',
'page-dark': 'var(--c-bg-page-dark)',
'active': 'var(--c-accent)',
},
textColor: {
page: 'var(--c-text-page)',
muted: 'var(--c-text-muted)',
},
},
},
}