perf: 全局样式调整

This commit is contained in:
张传龙
2022-06-18 22:00:58 +08:00
parent 16957a96b7
commit 39a80926bf
13 changed files with 60 additions and 119 deletions

View File

@@ -1,6 +1,13 @@
import { defineConfig, presetAttributify, presetIcons, presetUno } from 'unocss'
export default defineConfig({
shortcuts: [['f-c-c', 'flex justify-center items-center']],
shortcuts: [
['f-c-c', 'flex justify-center items-center'],
['ellipsis', 'truncate'],
],
rules: [
['color-primary', { color: 'var(--primaryColor)' }],
['bgc-primary', { backgroundColor: 'var(--primaryColor)' }],
],
presets: [presetUno(), presetAttributify()],
})