mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-25 07:17:23 +08:00
changed default custom theme colors
This commit is contained in:
parent
1e315b470d
commit
01eade270b
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
let defaultConfig = {
|
||||
theme: 'serika_dark',
|
||||
customTheme: 'false',
|
||||
customThemeColors: ['#ffffff','#000000','#276891','#A1A1A1','#00000','#ff6161','#A62626','#ff6161','#A62626'],
|
||||
customThemeColors: ['#323437','#e2b714','#e2b714','#646669','#d1d0c5','#ca4754','#7e2a33','#ca4754','#7e2a33'],
|
||||
showKeyTips: true,
|
||||
showLiveWpm: false,
|
||||
showTimerBar: true,
|
||||
|
|
@ -94,8 +94,8 @@ function loadConfigFromCookie() {
|
|||
function applyConfig(configObj){
|
||||
if (configObj && configObj != null && configObj != "null") {
|
||||
setTheme(configObj.theme,true);
|
||||
setCustomTheme(newConfig.customTheme,true);
|
||||
setCustomThemeColors(newConfig.customThemeColors,true);
|
||||
setCustomTheme(configObj.customTheme,true);
|
||||
setCustomThemeColors(configObj.customThemeColors,true);
|
||||
setQuickTabMode(configObj.quickTab,true);
|
||||
setPunctuation(configObj.punctuation,true);
|
||||
setKeyTips(configObj.showKeyTips,true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue