-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
34 lines (33 loc) · 985 Bytes
/
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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
'node_modules/flowbite/**/*.js'
],
theme: {
extend: {
colors: {
primary: 'var(--aw-color-primary)',
secondary: 'var(--aw-color-secondary)',
accent: 'var(--aw-color-accent)',
default: 'var(--aw-color-text-default)',
muted: 'var(--aw-color-text-muted)',
},
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],
},
maxWidth: {
'20ch': '20ch',
'22ch': '22ch',
'24ch': '24ch',
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('flowbite/plugin'),
require('tailwindcss-animated')
],
darkMode: 'class',
};