generated from onwidget/astrowind
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.cjs
47 lines (46 loc) · 1.35 KB
/
tailwind.config.cjs
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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
primary: 'var(--aw-color-primary)',
secondary: 'var(--aw-color-secondary)',
accent: 'var(--aw-color-accent)',
themeColor: {
blue: 'var(--aw-themeColor-blue)',
purple: 'var(--aw-themeColor-purple)',
orange: 'var(--aw-themeColor-orange)',
yellow: 'var(--aw-themeColor-yellow)',
},
},
fontFamily: {
sans: [
'Quicksand',
'Helvetica Neue',
'Arial',
'Hiragino Kaku Gothic ProN',
'Hiragino Sans',
'Meiryo',
'sans-serif',
...defaultTheme.fontFamily.sans,
],
mono: ['JetBrains Mono', ...defaultTheme.fontFamily.mono],
serif: ['var(--aw-font-serif)', ...defaultTheme.fontFamily.serif],
heading: [
'Quicksand',
'Helvetica Neue',
'Arial',
'Hiragino Kaku Gothic ProN',
'Hiragino Sans',
'Meiryo',
'sans-serif',
...defaultTheme.fontFamily.sans,
],
display: ['Bebas Neue', ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [require('@tailwindcss/typography')],
darkMode: 'class',
};