mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +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',
|
|
},
|
|
},
|
|
},
|
|
})
|