chore: clean up

This commit is contained in:
changjun
2023-05-12 02:12:56 +08:00
parent 546f45802c
commit c32f32905f
3 changed files with 243 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
import fs from 'node:fs' import fs from 'node:fs'
import { defineConfig, presetAttributify, presetIcons, presetTypography, presetUno } from 'unocss' import { defineConfig, presetAttributify, presetIcons, presetTypography, presetUno } from 'unocss'
import { fontFamily } from '@unocss/preset-mini/theme' import { fontFamily } from '@unocss/preset-mini/dist/theme'
import { ARTICLE_TEXT, DIRECTORY_NAME } from './constant' import { ARTICLE_TEXT, DIRECTORY_NAME } from './constant'
function getMainCss() { function getMainCss() {
@@ -31,12 +31,12 @@ export default defineConfig({
theme: { theme: {
fontFamily: { fontFamily: {
sans: [ sans: [
'LXGWWenKai-Regular', 'LXGWWenKaiGBScreen',
...fontFamily.sans, ...fontFamily.sans.split(','),
], ],
mono: [ mono: [
'JetBrainsMono-Regular', 'JetBrainsMono-Regular',
...fontFamily.mono, ...fontFamily.mono.split(','),
], ],
}, },
}, },