Add Op-1 theme
This commit is contained in:
parent
9730eb4cf2
commit
9ae67898f9
3 changed files with 15 additions and 0 deletions
|
|
@ -315,6 +315,17 @@ function Donsol () {
|
||||||
b_low: '#42464C',
|
b_low: '#42464C',
|
||||||
b_inv: '#ffcd22'
|
b_inv: '#ffcd22'
|
||||||
}
|
}
|
||||||
|
this.op1Theme = {
|
||||||
|
background: '#0E0D11',
|
||||||
|
f_high: '#EFEFEF',
|
||||||
|
f_med: '#26936F',
|
||||||
|
f_low: '#A5435A',
|
||||||
|
f_inv: '#0E0D11',
|
||||||
|
b_high: '#191A26',
|
||||||
|
b_med: '#14151F',
|
||||||
|
b_low: '#101119',
|
||||||
|
b_inv: '#9F9FB3'
|
||||||
|
}
|
||||||
this.rogueliteTheme = {
|
this.rogueliteTheme = {
|
||||||
background: '#352b31',
|
background: '#352b31',
|
||||||
f_high: '#f5f5d4',
|
f_high: '#f5f5d4',
|
||||||
|
|
|
||||||
|
|
@ -233,6 +233,9 @@ function Player () {
|
||||||
if (theme_value.localeCompare('obsidian') === 0) {
|
if (theme_value.localeCompare('obsidian') === 0) {
|
||||||
new_theme = donsol.obsidianTheme
|
new_theme = donsol.obsidianTheme
|
||||||
}
|
}
|
||||||
|
if (theme_value.localeCompare('op-1') === 0) {
|
||||||
|
new_theme = donsol.op1Theme
|
||||||
|
}
|
||||||
if (theme_value.localeCompare('roguelite') === 0) {
|
if (theme_value.localeCompare('roguelite') === 0) {
|
||||||
new_theme = donsol.rogueliteTheme
|
new_theme = donsol.rogueliteTheme
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ function Settings () {
|
||||||
this.theme_button.innerHTML += '<option value=\"noir\">Noir</option>'
|
this.theme_button.innerHTML += '<option value=\"noir\">Noir</option>'
|
||||||
this.theme_button.innerHTML += '<option value=\"nord\">Nord</option>'
|
this.theme_button.innerHTML += '<option value=\"nord\">Nord</option>'
|
||||||
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=\"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