Add Battlestation theme
This commit is contained in:
parent
297caa928f
commit
0acd1bc039
3 changed files with 15 additions and 0 deletions
|
|
@ -29,6 +29,17 @@ function Donsol () {
|
||||||
b_low: '#322e33',
|
b_low: '#322e33',
|
||||||
b_inv: '#e47464'
|
b_inv: '#e47464'
|
||||||
}
|
}
|
||||||
|
this.battlestationTheme = {
|
||||||
|
background: '#222222',
|
||||||
|
f_high: '#ffffff',
|
||||||
|
f_med: '#affec7',
|
||||||
|
f_low: '#888888',
|
||||||
|
f_inv: '#000000',
|
||||||
|
b_high: '#555555',
|
||||||
|
b_med: '#333333',
|
||||||
|
b_low: '#111111',
|
||||||
|
b_inv: '#affec7'
|
||||||
|
}
|
||||||
this.gameboyTheme = {
|
this.gameboyTheme = {
|
||||||
background: '#9BBC0F',
|
background: '#9BBC0F',
|
||||||
f_high: '#0F380F',
|
f_high: '#0F380F',
|
||||||
|
|
|
||||||
|
|
@ -155,6 +155,9 @@ function Player () {
|
||||||
if (theme_value.localeCompare('apollo') === 0) {
|
if (theme_value.localeCompare('apollo') === 0) {
|
||||||
new_theme = donsol.apolloTheme
|
new_theme = donsol.apolloTheme
|
||||||
}
|
}
|
||||||
|
if (theme_value.localeCompare('battlestation') === 0) {
|
||||||
|
new_theme = donsol.battlestationTheme
|
||||||
|
}
|
||||||
if (theme_value.localeCompare('gameboy') === 0) {
|
if (theme_value.localeCompare('gameboy') === 0) {
|
||||||
new_theme = donsol.gameboyTheme
|
new_theme = donsol.gameboyTheme
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ function Settings () {
|
||||||
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=\"apollo\">Apollo</option>'
|
||||||
|
this.theme_button.innerHTML += '<option value=\"battlestation\">Battlestation</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