Add Apollo theme
This commit is contained in:
parent
6f8ed0141a
commit
297caa928f
3 changed files with 15 additions and 0 deletions
|
|
@ -18,6 +18,17 @@ function Donsol () {
|
||||||
b_low: '#333333',
|
b_low: '#333333',
|
||||||
b_inv: '#a93232'
|
b_inv: '#a93232'
|
||||||
}
|
}
|
||||||
|
this.apolloTheme= {
|
||||||
|
background: '#29272b',
|
||||||
|
f_high: '#ffffff',
|
||||||
|
f_med: '#e47464',
|
||||||
|
f_low: '#66606b',
|
||||||
|
f_inv: '#000000',
|
||||||
|
b_high: '#000000',
|
||||||
|
b_med: '#201e21',
|
||||||
|
b_low: '#322e33',
|
||||||
|
b_inv: '#e47464'
|
||||||
|
}
|
||||||
this.gameboyTheme = {
|
this.gameboyTheme = {
|
||||||
background: '#9BBC0F',
|
background: '#9BBC0F',
|
||||||
f_high: '#0F380F',
|
f_high: '#0F380F',
|
||||||
|
|
|
||||||
|
|
@ -152,6 +152,9 @@ function Player () {
|
||||||
if (theme_value.localeCompare('theme') === 0) {
|
if (theme_value.localeCompare('theme') === 0) {
|
||||||
new_theme = donsol.defaultTheme
|
new_theme = donsol.defaultTheme
|
||||||
}
|
}
|
||||||
|
if (theme_value.localeCompare('apollo') === 0) {
|
||||||
|
new_theme = donsol.apolloTheme
|
||||||
|
}
|
||||||
if (theme_value.localeCompare('gameboy') === 0) {
|
if (theme_value.localeCompare('gameboy') === 0) {
|
||||||
new_theme = donsol.gameboyTheme
|
new_theme = donsol.gameboyTheme
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ function Settings () {
|
||||||
this.theme_button = document.createElement('select')
|
this.theme_button = document.createElement('select')
|
||||||
this.theme_button.setAttribute('class', 'theme button')
|
this.theme_button.setAttribute('class', 'theme button')
|
||||||
this.theme_button.innerHTML = '<option value=\"theme\">Theme (default)</option>'
|
this.theme_button.innerHTML = '<option value=\"theme\">Theme (default)</option>'
|
||||||
|
this.theme_button.innerHTML += '<option value=\"apollo\">Apollo</option>'
|
||||||
this.theme_button.innerHTML += '<option value=\"gameboy\">Game Boy</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=\"nightowl\">Night Owl</option>'
|
||||||
this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'
|
this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue