Add Cobalt theme

This commit is contained in:
Stephen Jianu 2024-01-17 19:06:41 -06:00
commit 9ca916feac
3 changed files with 15 additions and 0 deletions

View file

@ -84,6 +84,17 @@ function Donsol () {
b_low: '#DDDDDD',
b_inv: '#ffffff'
}
this.cobaltTheme = {
background: '#18364A',
f_high: '#ffffff',
f_med: '#ffc600',
f_low: '#0088ff',
f_inv: '#000000',
b_high: '#1B1A1C',
b_med: '#204863',
b_low: '#15232D',
b_inv: '#ffffff'
}
this.gameboyTheme = {
background: '#9BBC0F',
f_high: '#0F380F',

View file

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

View file

@ -17,6 +17,7 @@ function Settings () {
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=\"coal\">Coal</option>'
this.theme_button.innerHTML += '<option value=\"cobalt\">Cobalt</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=\"roguelite\">Roguelite</option>'