Add SK theme
This commit is contained in:
parent
69c778a7cc
commit
c53e498561
3 changed files with 15 additions and 0 deletions
|
|
@ -392,6 +392,17 @@ function Donsol () {
|
||||||
b_low: '#4a3b44',
|
b_low: '#4a3b44',
|
||||||
b_inv: '#f5f5d4'
|
b_inv: '#f5f5d4'
|
||||||
}
|
}
|
||||||
|
this.skTheme = {
|
||||||
|
background: '#000709',
|
||||||
|
f_high: '#cbcbd3',
|
||||||
|
f_med: '#897668',
|
||||||
|
f_low: '#523d2c',
|
||||||
|
f_inv: '#3f4f5b',
|
||||||
|
b_high: '#aba49e',
|
||||||
|
b_med: '#59574b',
|
||||||
|
b_low: '#372823',
|
||||||
|
b_inv: '#8c5a3d'
|
||||||
|
}
|
||||||
this.tapeTheme = {
|
this.tapeTheme = {
|
||||||
background: '#dad7cd',
|
background: '#dad7cd',
|
||||||
f_high: '#696861',
|
f_high: '#696861',
|
||||||
|
|
|
||||||
|
|
@ -254,6 +254,9 @@ function Player () {
|
||||||
if (theme_value.localeCompare('roguelite') === 0) {
|
if (theme_value.localeCompare('roguelite') === 0) {
|
||||||
new_theme = donsol.rogueliteTheme
|
new_theme = donsol.rogueliteTheme
|
||||||
}
|
}
|
||||||
|
if (theme_value.localeCompare('sk') === 0) {
|
||||||
|
new_theme = donsol.skTheme
|
||||||
|
}
|
||||||
if (theme_value.localeCompare('tape') === 0) {
|
if (theme_value.localeCompare('tape') === 0) {
|
||||||
new_theme = donsol.tapeTheme
|
new_theme = donsol.tapeTheme
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@ function Settings () {
|
||||||
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=\"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=\"sk\">SK</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) })
|
||||||
this.theme_button.addEventListener('change', () => { donsol.player.change_theme(this.theme_button.value) })
|
this.theme_button.addEventListener('change', () => { donsol.player.change_theme(this.theme_button.value) })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue