feat(projects): support grayscale. fixed #385

This commit is contained in:
Soybean
2024-04-24 14:01:47 +08:00
committed by ~li
parent 0d45b86cde
commit d335df6f46
9 changed files with 87 additions and 11 deletions

View File

@ -20,6 +20,8 @@ declare namespace App {
themeScheme: UnionKey.ThemeScheme;
/** Theme color */
themeColor: string;
/** grayscale mode */
grayscale: boolean;
/** Other color */
otherColor: OtherColor;
/** Whether info color is followed by the primary color */
@ -298,6 +300,7 @@ declare namespace App {
};
theme: {
themeSchema: { title: string } & Record<UnionKey.ThemeScheme, string>;
grayscale: string;
layoutMode: { title: string } & Record<UnionKey.ThemeLayoutMode, string>;
themeColor: {
title: string;