Skip to content

Commit 01eade2

Browse files
committed
changed default custom theme colors
1 parent 1e315b4 commit 01eade2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/js/userconfig.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
let defaultConfig = {
22
theme: 'serika_dark',
33
customTheme: 'false',
4-
customThemeColors: ['#ffffff','#000000','#276891','#A1A1A1','#00000','#ff6161','#A62626','#ff6161','#A62626'],
4+
customThemeColors: ['#323437','#e2b714','#e2b714','#646669','#d1d0c5','#ca4754','#7e2a33','#ca4754','#7e2a33'],
55
showKeyTips: true,
66
showLiveWpm: false,
77
showTimerBar: true,
@@ -94,8 +94,8 @@ function loadConfigFromCookie() {
9494
function applyConfig(configObj){
9595
if (configObj && configObj != null && configObj != "null") {
9696
setTheme(configObj.theme,true);
97-
setCustomTheme(newConfig.customTheme,true);
98-
setCustomThemeColors(newConfig.customThemeColors,true);
97+
setCustomTheme(configObj.customTheme,true);
98+
setCustomThemeColors(configObj.customThemeColors,true);
9999
setQuickTabMode(configObj.quickTab,true);
100100
setPunctuation(configObj.punctuation,true);
101101
setKeyTips(configObj.showKeyTips,true);

0 commit comments

Comments
 (0)