Add Orca theme
This commit is contained in:
parent
9ae67898f9
commit
c48dfc68eb
3 changed files with 15 additions and 0 deletions
|
|
@ -326,6 +326,17 @@ function Donsol () {
|
|||
b_low: '#101119',
|
||||
b_inv: '#9F9FB3'
|
||||
}
|
||||
this.orcaTheme = {
|
||||
background: '#000000',
|
||||
f_high: '#ffffff',
|
||||
f_med: '#777777',
|
||||
f_low: '#444444',
|
||||
f_inv: '#000000',
|
||||
b_high: '#dddddd',
|
||||
b_med: '#72dec2',
|
||||
b_low: '#222222',
|
||||
b_inv: '#ffb545'
|
||||
}
|
||||
this.rogueliteTheme = {
|
||||
background: '#352b31',
|
||||
f_high: '#f5f5d4',
|
||||
|
|
|
|||
|
|
@ -236,6 +236,9 @@ function Player () {
|
|||
if (theme_value.localeCompare('op-1') === 0) {
|
||||
new_theme = donsol.op1Theme
|
||||
}
|
||||
if (theme_value.localeCompare('orca') === 0) {
|
||||
new_theme = donsol.orcaTheme
|
||||
}
|
||||
if (theme_value.localeCompare('roguelite') === 0) {
|
||||
new_theme = donsol.rogueliteTheme
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ function Settings () {
|
|||
this.theme_button.innerHTML += '<option value=\"nord\">Nord</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=\"orca">Orca</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