mirror of
https://github.com/fmhy/edit.git
synced 2026-01-18 01:41:52 +11:00
feat: refresh site
This commit is contained in:
parent
47440696c4
commit
3efa583973
6 changed files with 1145 additions and 1111 deletions
|
|
@ -1,4 +1,11 @@
|
|||
import { defineConfig, presetUno, presetAttributify, presetIcons } from 'unocss'
|
||||
import {
|
||||
defineConfig,
|
||||
presetUno,
|
||||
presetAttributify,
|
||||
presetIcons,
|
||||
transformerDirectives
|
||||
} from 'unocss'
|
||||
import { colors, shortcuts } from '@fmhy/colors'
|
||||
|
||||
export default defineConfig({
|
||||
content: {
|
||||
|
|
@ -6,6 +13,7 @@ export default defineConfig({
|
|||
},
|
||||
theme: {
|
||||
colors: {
|
||||
...colors,
|
||||
primary: 'var(--vp-c-brand-1)',
|
||||
bg: 'var(--vp-c-bg)',
|
||||
'bg-alt': 'var(--vp-c-bg-alt)',
|
||||
|
|
@ -15,6 +23,7 @@ export default defineConfig({
|
|||
div: 'var(--vp-c-divider)'
|
||||
}
|
||||
},
|
||||
shortcuts,
|
||||
presets: [
|
||||
presetUno(),
|
||||
presetAttributify(),
|
||||
|
|
@ -25,5 +34,6 @@ export default defineConfig({
|
|||
'vertical-align': 'middle'
|
||||
}
|
||||
})
|
||||
]
|
||||
],
|
||||
transformers: [transformerDirectives()]
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue