mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-13 19:04:06 +08:00
spacing
This commit is contained in:
parent
ebbfc53fee
commit
f4ee12b77e
1 changed files with 1 additions and 0 deletions
|
|
@ -1168,6 +1168,7 @@ export function setAutoSwitchTheme(
|
|||
|
||||
export function setCustomTheme(boolean: boolean, nosave?: boolean): boolean {
|
||||
if (!isConfigValueValid("custom theme", boolean, ["boolean"])) return false;
|
||||
|
||||
config.customTheme = boolean;
|
||||
saveToLocalStorage("customTheme", nosave);
|
||||
ConfigEvent.dispatch("customTheme", config.customTheme);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue