Add Commodore theme

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

View file

@ -95,6 +95,17 @@ function Donsol () {
b_low: '#15232D',
b_inv: '#ffffff'
}
this.commodoreTheme = {
background: '#a5a7fc',
f_high: '#ffffff',
f_med: '#444ae3',
f_low: '#ffd7cd',
f_inv: '#444ae3',
b_high: '#c2c4ff',
b_med: '#babcff',
b_low: '#b0b2ff',
b_inv: '#ffffff'
}
this.gameboyTheme = {
background: '#9BBC0F',
f_high: '#0F380F',

View file

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

View file

@ -18,6 +18,7 @@ function Settings () {
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=\"commodore\">Commodore</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>'