mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
fix: incorrect configuration
This commit is contained in:
parent
5d327ff4f8
commit
4341dab741
6 changed files with 183 additions and 114 deletions
|
@ -1,3 +1,4 @@
|
|||
import type { Theme } from 'unocss/preset-uno'
|
||||
import type { ThemeConfig } from './src/types'
|
||||
import {
|
||||
defineConfig,
|
||||
|
@ -41,8 +42,12 @@ export default defineConfig({
|
|||
presetUno(),
|
||||
presetAttributify(),
|
||||
presetTypography({ cssExtend }),
|
||||
presetTheme<object>({
|
||||
theme: { dark },
|
||||
presetTheme<Theme>({
|
||||
theme: {
|
||||
dark: {
|
||||
colors: dark,
|
||||
},
|
||||
},
|
||||
}),
|
||||
],
|
||||
transformers: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue