Add Haxe theme

This commit is contained in:
Stephen Jianu 2024-10-10 11:20:42 -05:00
commit 8ef8359c30
3 changed files with 15 additions and 0 deletions

View file

@ -161,6 +161,17 @@ function Donsol () {
b_low: '#10151B',
b_inv: '#8FAF9F'
}
this.haxeTheme = {
background: '#141419',
f_high: '#FAB20B',
f_med: '#F47216',
f_low: '#F1471D',
f_inv: '#141419',
b_high: '#141419',
b_med: '#141419',
b_low: '#141419',
b_inv: '#FFFFFF'
}
this.nightowlTheme = {
background: '#011627',
f_high: '#7fdbca',

View file

@ -191,6 +191,9 @@ function Player () {
if (theme_value.localeCompare('gotham') === 0) {
new_theme = donsol.gothamTheme
}
if (theme_value.localeCompare('haxe') === 0) {
new_theme = donsol.haxeTheme
}
if (theme_value.localeCompare('nightowl') === 0) {
new_theme = donsol.nightowlTheme
}

View file

@ -24,6 +24,7 @@ function Settings () {
this.theme_button.innerHTML += '<option value=\"gameboy\">Game Boy</option>'
this.theme_button.innerHTML += '<option value=\"garden\">Garden</option>'
this.theme_button.innerHTML += '<option value=\"gotham\">Gotham</option>'
this.theme_button.innerHTML += '<option value=\"haxe\">Haxe</option>'
this.theme_button.innerHTML += '<option value=\"nightowl\">Night Owl</option>'
this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'
this.theme_button.innerHTML += '<option value=\"tape\">Tape</option>'