fix: incorrect configuration

This commit is contained in:
radishzzz 2025-01-13 22:03:57 +00:00
parent 5d327ff4f8
commit 4341dab741
6 changed files with 183 additions and 114 deletions

View file

@ -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: [