mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 19:28:14 +08:00
29 lines
566 B
TypeScript
29 lines
566 B
TypeScript
|
import { defineConfig } from 'windicss/helpers'
|
||
|
|
||
|
import colors from 'windicss/colors'
|
||
|
|
||
|
export default defineConfig({
|
||
|
// https://windicss.org/guide/extractions.html
|
||
|
extract: {
|
||
|
include: [
|
||
|
'**/*.md',
|
||
|
'.vitepress/vitepress/**/*.{md,vue}',
|
||
|
'examples/**/*.{md,vue}',
|
||
|
],
|
||
|
},
|
||
|
darkMode: 'class',
|
||
|
// https://windicss.org/posts/v30.html#attributify-mode
|
||
|
attributify: true,
|
||
|
|
||
|
theme: {
|
||
|
extend: {
|
||
|
colors: {
|
||
|
primary: {
|
||
|
DEFAULT: colors.blue[600],
|
||
|
deep: colors.blue[700],
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
})
|