Add Ninety Nine theme
This commit is contained in:
parent
8a5c8040e1
commit
ffe7b0a8bc
3 changed files with 15 additions and 0 deletions
|
|
@ -271,6 +271,17 @@ function Donsol () {
|
|||
b_low: '#2f4759',
|
||||
b_inv: '#7fdbca'
|
||||
}
|
||||
this.ninetynineTheme = {
|
||||
background: '#000000',
|
||||
f_high: '#efefef',
|
||||
f_med: '#cdcdcd',
|
||||
f_low: '#676767',
|
||||
f_inv: '#0a0a0a',
|
||||
b_high: '#eeeeee',
|
||||
b_med: '#ffd220',
|
||||
b_low: '#464646',
|
||||
b_inv: '#ff3300'
|
||||
}
|
||||
this.rogueliteTheme = {
|
||||
background: '#352b31',
|
||||
f_high: '#f5f5d4',
|
||||
|
|
|
|||
|
|
@ -221,6 +221,9 @@ function Player () {
|
|||
if (theme_value.localeCompare('nightowl') === 0) {
|
||||
new_theme = donsol.nightowlTheme
|
||||
}
|
||||
if (theme_value.localeCompare('ninetynine') === 0) {
|
||||
new_theme = donsol.ninetynineTheme
|
||||
}
|
||||
if (theme_value.localeCompare('roguelite') === 0) {
|
||||
new_theme = donsol.rogueliteTheme
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ function Settings () {
|
|||
this.theme_button.innerHTML += '<option value=\"murata\">Murata</option>'
|
||||
this.theme_button.innerHTML += '<option value=\"muzieca\">Muzieca</option>'
|
||||
this.theme_button.innerHTML += '<option value=\"nightowl\">Night Owl</option>'
|
||||
this.theme_button.innerHTML += '<option value=\"ninetynine\">Ninety Nine</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) })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue