mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
f6b7fb30a8
* docs: upgrade vitepress * revert original copy button --------- Co-authored-by: 云游君 <me@yunyoujun.cn>
27 lines
575 B
TypeScript
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',
|
|
},
|
|
},
|
|
},
|
|
})
|