feat: refresh site

This commit is contained in:
taskylizard 2024-07-20 10:59:10 +00:00
parent 47440696c4
commit 3efa583973
No known key found for this signature in database
GPG key ID: 1820131ED1A24120
6 changed files with 1145 additions and 1111 deletions

View file

@ -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()]
})