mirror of
https://github.com/fmhy/edit.git
synced 2025-07-29 23:32:17 +10:00
hello world, again
This commit is contained in:
commit
f479740dd1
133 changed files with 32895 additions and 0 deletions
39
unocss.config.ts
Normal file
39
unocss.config.ts
Normal file
|
@ -0,0 +1,39 @@
|
|||
import {
|
||||
defineConfig,
|
||||
presetUno,
|
||||
presetAttributify,
|
||||
presetIcons,
|
||||
transformerDirectives
|
||||
} from 'unocss'
|
||||
import { colors, shortcuts } from '@fmhy/colors'
|
||||
|
||||
export default defineConfig({
|
||||
content: {
|
||||
filesystem: ['.vitepress/config.mts', '.vitepress/constants.ts']
|
||||
},
|
||||
theme: {
|
||||
colors: {
|
||||
...colors,
|
||||
primary: 'var(--vp-c-brand-1)',
|
||||
bg: 'var(--vp-c-bg)',
|
||||
'bg-alt': 'var(--vp-c-bg-alt)',
|
||||
'bg-elv': 'var(--vp-c-bg-elv)',
|
||||
text: 'var(--vp-c-text-1)',
|
||||
'text-2': 'var(--vp-c-text-2)',
|
||||
div: 'var(--vp-c-divider)'
|
||||
}
|
||||
},
|
||||
shortcuts,
|
||||
presets: [
|
||||
presetUno(),
|
||||
presetAttributify(),
|
||||
presetIcons({
|
||||
scale: 1.2,
|
||||
extraProperties: {
|
||||
display: 'inline-block',
|
||||
'vertical-align': 'middle'
|
||||
}
|
||||
})
|
||||
],
|
||||
transformers: [transformerDirectives()]
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue