Add Pawbin theme
This commit is contained in:
parent
c48dfc68eb
commit
b5109f67f2
3 changed files with 15 additions and 0 deletions
|
|
@ -337,6 +337,17 @@ function Donsol () {
|
||||||
b_low: '#222222',
|
b_low: '#222222',
|
||||||
b_inv: '#ffb545'
|
b_inv: '#ffb545'
|
||||||
}
|
}
|
||||||
|
this.pawbinTheme = {
|
||||||
|
background: '#2b2933',
|
||||||
|
f_high: '#f2f2f2',
|
||||||
|
f_med: '#00bdd6',
|
||||||
|
f_low: '#aa9fdf',
|
||||||
|
f_inv: '#1a1820',
|
||||||
|
b_high: '#1a1820',
|
||||||
|
b_med: '#24212c',
|
||||||
|
b_low: '#34303b',
|
||||||
|
b_inv: '#f2f2f2'
|
||||||
|
}
|
||||||
this.rogueliteTheme = {
|
this.rogueliteTheme = {
|
||||||
background: '#352b31',
|
background: '#352b31',
|
||||||
f_high: '#f5f5d4',
|
f_high: '#f5f5d4',
|
||||||
|
|
|
||||||
|
|
@ -239,6 +239,9 @@ function Player () {
|
||||||
if (theme_value.localeCompare('orca') === 0) {
|
if (theme_value.localeCompare('orca') === 0) {
|
||||||
new_theme = donsol.orcaTheme
|
new_theme = donsol.orcaTheme
|
||||||
}
|
}
|
||||||
|
if (theme_value.localeCompare('pawbin') === 0) {
|
||||||
|
new_theme = donsol.pawbinTheme
|
||||||
|
}
|
||||||
if (theme_value.localeCompare('roguelite') === 0) {
|
if (theme_value.localeCompare('roguelite') === 0) {
|
||||||
new_theme = donsol.rogueliteTheme
|
new_theme = donsol.rogueliteTheme
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ function Settings () {
|
||||||
this.theme_button.innerHTML += '<option value=\"obsidian\">Obsidian</option>'
|
this.theme_button.innerHTML += '<option value=\"obsidian\">Obsidian</option>'
|
||||||
this.theme_button.innerHTML += '<option value=\"op-1\">Op-1</option>'
|
this.theme_button.innerHTML += '<option value=\"op-1\">Op-1</option>'
|
||||||
this.theme_button.innerHTML += '<option value=\"orca">Orca</option>'
|
this.theme_button.innerHTML += '<option value=\"orca">Orca</option>'
|
||||||
|
this.theme_button.innerHTML += '<option value=\"pawbin">Pawbin</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