Add Coal theme

This commit is contained in:
Stephen Jianu 2024-01-17 19:04:20 -06:00
commit 87483b6148
3 changed files with 15 additions and 0 deletions

View file

@ -73,6 +73,17 @@ function Donsol () {
b_low: '#000000', b_low: '#000000',
b_inv: '#873260' b_inv: '#873260'
} }
this.coalTheme = {
background: '#EDEAEA',
f_high: '#393B3F',
f_med: '#808790',
f_low: '#A3A3A4',
f_inv: '#000000',
b_high: '#333333',
b_med: '#777777',
b_low: '#DDDDDD',
b_inv: '#ffffff'
}
this.gameboyTheme = { this.gameboyTheme = {
background: '#9BBC0F', background: '#9BBC0F',
f_high: '#0F380F', f_high: '#0F380F',

View file

@ -167,6 +167,9 @@ function Player () {
if (theme_value.localeCompare('boysenberry') === 0) { if (theme_value.localeCompare('boysenberry') === 0) {
new_theme = donsol.boysenberryTheme new_theme = donsol.boysenberryTheme
} }
if (theme_value.localeCompare('coal') === 0) {
new_theme = donsol.coalTheme
}
if (theme_value.localeCompare('gameboy') === 0) { if (theme_value.localeCompare('gameboy') === 0) {
new_theme = donsol.gameboyTheme new_theme = donsol.gameboyTheme
} }

View file

@ -16,6 +16,7 @@ function Settings () {
this.theme_button.innerHTML += '<option value=\"berry\">Berry</option>' this.theme_button.innerHTML += '<option value=\"berry\">Berry</option>'
this.theme_button.innerHTML += '<option value=\"bigtime\">Big Time</option>' this.theme_button.innerHTML += '<option value=\"bigtime\">Big Time</option>'
this.theme_button.innerHTML += '<option value=\"boysenberry\">Boysenberry</option>' this.theme_button.innerHTML += '<option value=\"boysenberry\">Boysenberry</option>'
this.theme_button.innerHTML += '<option value=\"coal\">Coal</option>'
this.theme_button.innerHTML += '<option value=\"gameboy\">Game Boy</option>' this.theme_button.innerHTML += '<option value=\"gameboy\">Game Boy</option>'
this.theme_button.innerHTML += '<option value=\"nightowl\">Night Owl</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=\"roguelite\">Roguelite</option>'