mirror of https://github.com/zulip/zulip.git
settings_config: Add type ColorSchemeDetails.
This commit is contained in:
parent
1ce76e5fbd
commit
df395e99eb
|
@ -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 = {
|
||||
automatic: {
|
||||
code: 1,
|
||||
|
|
Loading…
Reference in New Issue