feat: Themes can adapt to colour

This commit is contained in:
2026-04-06 14:11:19 +09:30
parent f667ff9e9b
commit e657152e3f
6 changed files with 98 additions and 2 deletions
+2
View File
@@ -13,6 +13,8 @@ export type CustomTheme = {
webURL?: string;
selectedColor?: string;
forceDark?: boolean;
/** CSS custom property names (e.g. `--my-accent`) that receive the same value as `--better-main` when adaptive colours apply. */
adaptiveCssVariables?: string[];
};
export type LoadedCustomTheme = CustomTheme & {