Add Rain on Wires theme
This commit is contained in:
parent
c75018d50f
commit
69c778a7cc
3 changed files with 15 additions and 0 deletions
|
|
@ -370,6 +370,17 @@ function Donsol () {
|
||||||
b_low: '#222222',
|
b_low: '#222222',
|
||||||
b_inv: '#ff4444'
|
b_inv: '#ff4444'
|
||||||
}
|
}
|
||||||
|
this.rainOnWiresTheme = {
|
||||||
|
background: '#010101',
|
||||||
|
f_high: '#c692bb',
|
||||||
|
f_med: '#149106',
|
||||||
|
f_low: '#8a6682',
|
||||||
|
f_inv: '#8D2E71',
|
||||||
|
b_high: '#8D2E71',
|
||||||
|
b_med: '#6E2455',
|
||||||
|
b_low: '#010101',
|
||||||
|
b_inv: '#159106'
|
||||||
|
}
|
||||||
this.rogueliteTheme = {
|
this.rogueliteTheme = {
|
||||||
background: '#352b31',
|
background: '#352b31',
|
||||||
f_high: '#f5f5d4',
|
f_high: '#f5f5d4',
|
||||||
|
|
|
||||||
|
|
@ -248,6 +248,9 @@ function Player () {
|
||||||
if (theme_value.localeCompare('polivoks') === 0) {
|
if (theme_value.localeCompare('polivoks') === 0) {
|
||||||
new_theme = donsol.polivoksTheme
|
new_theme = donsol.polivoksTheme
|
||||||
}
|
}
|
||||||
|
if (theme_value.localeCompare('rainonwires') === 0) {
|
||||||
|
new_theme = donsol.rainOnWiresTheme
|
||||||
|
}
|
||||||
if (theme_value.localeCompare('roguelite') === 0) {
|
if (theme_value.localeCompare('roguelite') === 0) {
|
||||||
new_theme = donsol.rogueliteTheme
|
new_theme = donsol.rogueliteTheme
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ function Settings () {
|
||||||
this.theme_button.innerHTML += '<option value=\"pawbin">Pawbin</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=\"pico8">PICO-8</option>'
|
||||||
this.theme_button.innerHTML += '<option value=\"polivoks">Polivoks</option>'
|
this.theme_button.innerHTML += '<option value=\"polivoks">Polivoks</option>'
|
||||||
|
this.theme_button.innerHTML += '<option value=\"rainonwires">Rain on Wires</option>'
|
||||||
this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'
|
this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'
|
||||||
this.theme_button.innerHTML += '<option value=\"tape\">Tape</option>'
|
this.theme_button.innerHTML += '<option value=\"tape\">Tape</option>'
|
||||||
this.theme_button.addEventListener('mousedown', () => { donsol.player.change_theme(this.theme_button.value) })
|
this.theme_button.addEventListener('mousedown', () => { donsol.player.change_theme(this.theme_button.value) })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue