settings_config: Add type ColorSchemeDetails.

This commit is contained in:
Varun Singh 2024-08-21 22:18:52 +05:30 committed by Tim Abbott
parent 1ce76e5fbd
commit df395e99eb
1 changed files with 8 additions and 0 deletions

View File

@ -129,6 +129,14 @@ export const web_home_view_values = {
}, },
}; };
type ColorScheme = "automatic" | "dark" | "light";
export type ColorSchemeDetails = {
[key in ColorScheme]: {
code: number;
description: string;
};
};
export const color_scheme_values = { export const color_scheme_values = {
automatic: { automatic: {
code: 1, code: 1,