-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
33 lines (29 loc) · 952 Bytes
/
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
import {
pg_colors,
pg_fonts,
pg_backgrounds,
} from './themes/pg-tailwindcss/tokens.mjs'
import { safelist } from './src/utils/colors'
export default {
darkMode: 'class',
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@pinegrow/tailwindcss-plugin').default({
colors: pg_colors, // primary, secondary etc
fonts: pg_fonts,
backgrounds: pg_backgrounds, // bg-design-image, bg-design-image-large
}),
],
safelist,
/* Please ensure that you update the filenames and paths to accurately match those used in your project. */
get content() {
const _content = [
'./index.html',
'./src/**/*.{vue,svelte,astro,js,jsx,cjs,mjs,ts,tsx,cts,mts,html,md,mdx,json}',
]
return process.env.NODE_ENV === 'production'
? _content
: [..._content, './_pginfo/**/*.{html,js}'] // used by Vue Desginer for live-designing during development
},
}