mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-29 17:58:08 +08:00
ead1002533
* chore(deps): update vite related dependency for play and docs * fix: type error * fix: unocss * chore: add port * fix: types --------- Co-authored-by: warmthsea <2586244885@qq.com>
28 lines
578 B
TypeScript
28 lines
578 B
TypeScript
import { defineConfig, presetAttributify, presetIcons, presetUno } from 'unocss'
|
|
|
|
export default defineConfig({
|
|
presets: [presetUno(), presetAttributify(), presetIcons()],
|
|
content: {
|
|
pipeline: {
|
|
include: [`./**/*`],
|
|
exclude: [`./node_modules/**/*`, `./.vitepress/cache/**/*`],
|
|
},
|
|
},
|
|
theme: {
|
|
breakpoints: {
|
|
sm: '640px',
|
|
md: '768px',
|
|
lg: '1024px',
|
|
xl: '1280px',
|
|
'2xl': '1536px',
|
|
'3xl': '1920px',
|
|
},
|
|
colors: {
|
|
primary: {
|
|
DEFAULT: '#2563eb',
|
|
deep: '#1d4ed8',
|
|
},
|
|
},
|
|
},
|
|
})
|