mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 05:26:54 +08:00
made sure to apply custom theme colors
This commit is contained in:
parent
16ee3a9422
commit
246b28a192
1 changed files with 4 additions and 1 deletions
|
@ -482,7 +482,10 @@ function setCustomTheme(boolean, nosave) {
|
|||
}
|
||||
|
||||
function setCustomThemeColors(colors, nosave){
|
||||
if(colors !== undefined) config.customThemeColors = colors;
|
||||
if(colors !== undefined){
|
||||
config.customThemeColors = colors;
|
||||
applyCustomThemeColors();
|
||||
}
|
||||
if(!nosave) saveConfigToCookie();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue