mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-17 14:19:40 +08:00
parent
622e016db2
commit
bb294db746
1 changed files with 3 additions and 3 deletions
|
|
@ -151,15 +151,15 @@ function apply(themeName: string, isCustom: boolean, isPreview = false): void {
|
|||
}
|
||||
if (!isPreview) {
|
||||
ThemeColors.getAll().then((colors) => {
|
||||
$(".current-theme .text").text(
|
||||
isCustom ? "custom" : themeName.replace(/_/g, " ")
|
||||
);
|
||||
$(".keymap-key").attr("style", "");
|
||||
ChartController.updateAllChartColors();
|
||||
updateFavicon(128, 32);
|
||||
$("#metaThemeColor").attr("content", colors.bg);
|
||||
});
|
||||
}
|
||||
$(".current-theme .text").text(
|
||||
isCustom ? "custom" : themeName.replace(/_/g, " ")
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue