element-plus/docs/unocss.config.ts
dopamine f6b7fb30a8
refactor(docs): upgrade vitepress (#17444)
* docs: upgrade vitepress

* revert original copy button

---------

Co-authored-by: 云游君 <me@yunyoujun.cn>
2024-07-15 18:30:10 +08:00

27 lines
575 B
TypeScript

import { defineConfig, presetAttributify, presetIcons, presetUno } from 'unocss'
export default defineConfig({
presets: [presetUno(), presetAttributify(), presetIcons()],
include: [`${__dirname}/**/*`],
exclude: [
`${__dirname}/node_modules/**/*`,
`${__dirname}/.vitepress/cache/**/*`,
],
theme: {
breakpoints: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
'3xl': '1920px',
},
colors: {
primary: {
DEFAULT: '#2563eb',
deep: '#1d4ed8',
},
},
},
})