Add Polivoks theme

This commit is contained in:
Stephen Jianu 2025-12-07 21:31:26 -06:00
commit c75018d50f
3 changed files with 15 additions and 0 deletions

View file

@ -359,6 +359,17 @@ function Donsol () {
b_low: '#695f56',
b_inv: '#00aefe'
}
this.polivoksTheme = {
background: '#111111',
f_high: '#efefef',
f_med: '#ff4444',
f_low: '#333333',
f_inv: '#000000',
b_high: '#666666',
b_med: '#444444',
b_low: '#222222',
b_inv: '#ff4444'
}
this.rogueliteTheme = {
background: '#352b31',
f_high: '#f5f5d4',

View file

@ -245,6 +245,9 @@ function Player () {
if (theme_value.localeCompare('pico8') === 0) {
new_theme = donsol.pico8Theme
}
if (theme_value.localeCompare('polivoks') === 0) {
new_theme = donsol.polivoksTheme
}
if (theme_value.localeCompare('roguelite') === 0) {
new_theme = donsol.rogueliteTheme
}

View file

@ -42,6 +42,7 @@ function Settings () {
this.theme_button.innerHTML += '<option value=\"orca">Orca</option>'
this.theme_button.innerHTML += '<option value=\"pawbin">Pawbin</option>'
this.theme_button.innerHTML += '<option value=\"pico8">PICO-8</option>'
this.theme_button.innerHTML += '<option value=\"polivoks">Polivoks</option>'
this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'
this.theme_button.innerHTML += '<option value=\"tape\">Tape</option>'
this.theme_button.addEventListener('mousedown', () => { donsol.player.change_theme(this.theme_button.value) })