feat(projects): support theme perset to override component library presets.

This commit is contained in:
Azir-11
2025-12-02 16:07:09 +08:00
committed by Soybean
parent 73e9a0fe0b
commit 605173a1cc
5 changed files with 49 additions and 8 deletions

View File

@@ -4,6 +4,9 @@ declare namespace App {
namespace Theme {
type ColorPaletteNumber = import('@sa/color').ColorPaletteNumber;
/** NaiveUI theme overrides that can be specified in preset */
type NaiveUIThemeOverride = import('naive-ui').GlobalThemeOverrides;
/** Theme setting */
interface ThemeSetting {
/** Theme scheme */