-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
25 lines (24 loc) · 872 Bytes
/
Copy pathtailwind.config.cjs
File metadata and controls
25 lines (24 loc) · 872 Bytes
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
const defaultTheme = require( 'tailwindcss/defaultTheme' )
const colors = require( 'tailwindcss/colors' )
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)',
},
fontFamily: {
sans: [ 'var(--aw-font-sans)', ...defaultTheme.fontFamily.sans ],
serif: [ 'var(--aw-font-serif)', ...defaultTheme.fontFamily.serif ],
heading: [ 'var(--aw-font-heading)', ...defaultTheme.fontFamily.sans ],
},
},
},
plugins: [
require( '@tailwindcss/typography' ),
require( '@tailwindcss/forms' ),
],
darkMode: 'class',
}