Add Obsidian theme
This commit is contained in:
parent
88d91bb58f
commit
9730eb4cf2
3 changed files with 15 additions and 0 deletions
|
|
@ -304,6 +304,17 @@ function Donsol () {
|
|||
b_low: '#3B4252',
|
||||
b_inv: '#ABCDCC'
|
||||
}
|
||||
this.obsidianTheme = {
|
||||
background: '#22282a',
|
||||
f_high: '#f1f2f3',
|
||||
f_med: '#93c763',
|
||||
f_low: '#ec7600',
|
||||
f_inv: '#963a46',
|
||||
b_high: '#678cb1',
|
||||
b_med: '#4f6164',
|
||||
b_low: '#42464C',
|
||||
b_inv: '#ffcd22'
|
||||
}
|
||||
this.rogueliteTheme = {
|
||||
background: '#352b31',
|
||||
f_high: '#f5f5d4',
|
||||
|
|
|
|||
|
|
@ -230,6 +230,9 @@ function Player () {
|
|||
if (theme_value.localeCompare('nord') === 0) {
|
||||
new_theme = donsol.nordTheme
|
||||
}
|
||||
if (theme_value.localeCompare('obsidian') === 0) {
|
||||
new_theme = donsol.obsidianTheme
|
||||
}
|
||||
if (theme_value.localeCompare('roguelite') === 0) {
|
||||
new_theme = donsol.rogueliteTheme
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ function Settings () {
|
|||
this.theme_button.innerHTML += '<option value=\"ninetynine\">Ninety Nine</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=\"obsidian\">Obsidian</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