element-plus/docs/unocss.config.ts
qiang ead1002533
chore(deps): update vite related dependency for play and docs (#18809)
* 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>
2024-11-08 09:38:27 +08:00

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',
},
},
},
})