Add Roguelite and Tape themes
This commit is contained in:
parent
13bf2d1529
commit
6f8ed0141a
3 changed files with 30 additions and 0 deletions
|
|
@ -158,6 +158,12 @@ function Player () {
|
|||
if (theme_value.localeCompare('nightowl') === 0) {
|
||||
new_theme = donsol.nightowlTheme
|
||||
}
|
||||
if (theme_value.localeCompare('roguelite') === 0) {
|
||||
new_theme = donsol.rogueliteTheme
|
||||
}
|
||||
if (theme_value.localeCompare('tape') === 0) {
|
||||
new_theme = donsol.tapeTheme
|
||||
}
|
||||
donsol.theme = new Theme(new_theme)
|
||||
donsol.theme.load(new_theme)
|
||||
donsol.theme.install(document.body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue