Compare commits
10 commits
8a5c8040e1
...
69c778a7cc
| Author | SHA1 | Date | |
|---|---|---|---|
| 69c778a7cc | |||
| c75018d50f | |||
| 1e58a3760f | |||
| b5109f67f2 | |||
| c48dfc68eb | |||
| 9ae67898f9 | |||
| 9730eb4cf2 | |||
| 88d91bb58f | |||
| 3478753597 | |||
| ffe7b0a8bc |
3 changed files with 150 additions and 0 deletions
|
|
@ -271,6 +271,116 @@ function Donsol () {
|
|||
b_low: '#2f4759',
|
||||
b_inv: '#7fdbca'
|
||||
}
|
||||
this.ninetynineTheme = {
|
||||
background: '#000000',
|
||||
f_high: '#efefef',
|
||||
f_med: '#cdcdcd',
|
||||
f_low: '#676767',
|
||||
f_inv: '#0a0a0a',
|
||||
b_high: '#eeeeee',
|
||||
b_med: '#ffd220',
|
||||
b_low: '#464646',
|
||||
b_inv: '#ff3300'
|
||||
}
|
||||
this.noirTheme = {
|
||||
background: '#222222',
|
||||
f_high: '#ffffff',
|
||||
f_med: '#cccccc',
|
||||
f_low: '#999999',
|
||||
f_inv: '#ffffff',
|
||||
b_high: '#888888',
|
||||
b_med: '#666666',
|
||||
b_low: '#444444',
|
||||
b_inv: '#000000'
|
||||
}
|
||||
this.nordTheme = {
|
||||
background: '#2E3440',
|
||||
f_high: '#ECEFF4',
|
||||
f_med: '#9DC4C3',
|
||||
f_low: '#B4B8C0',
|
||||
f_inv: '#5E81AC',
|
||||
b_high: '#5E81AC',
|
||||
b_med: '#434C5E',
|
||||
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.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.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.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.pico8Theme = {
|
||||
background: '#000000',
|
||||
f_high: '#ffffff',
|
||||
f_med: '#fff1e8',
|
||||
f_low: '#ff78a9',
|
||||
f_inv: '#ffffff',
|
||||
b_high: '#c2c3c7',
|
||||
b_med: '#83769c',
|
||||
b_low: '#695f56',
|
||||
b_inv: '#00aefe'
|
||||
}
|
||||
this.polivoksTheme = {
|
||||
background: '#111111',
|
||||
f_high: '#efefef',
|
||||
f_med: '#ff4444',
|
||||
f_low: '#333333',
|
||||
f_inv: '#000000',
|
||||
b_high: '#666666',
|
||||
b_med: '#444444',
|
||||
b_low: '#222222',
|
||||
b_inv: '#ff4444'
|
||||
}
|
||||
this.rainOnWiresTheme = {
|
||||
background: '#010101',
|
||||
f_high: '#c692bb',
|
||||
f_med: '#149106',
|
||||
f_low: '#8a6682',
|
||||
f_inv: '#8D2E71',
|
||||
b_high: '#8D2E71',
|
||||
b_med: '#6E2455',
|
||||
b_low: '#010101',
|
||||
b_inv: '#159106'
|
||||
}
|
||||
this.rogueliteTheme = {
|
||||
background: '#352b31',
|
||||
f_high: '#f5f5d4',
|
||||
|
|
|
|||
|
|
@ -221,6 +221,36 @@ function Player () {
|
|||
if (theme_value.localeCompare('nightowl') === 0) {
|
||||
new_theme = donsol.nightowlTheme
|
||||
}
|
||||
if (theme_value.localeCompare('ninetynine') === 0) {
|
||||
new_theme = donsol.ninetynineTheme
|
||||
}
|
||||
if (theme_value.localeCompare('noir') === 0) {
|
||||
new_theme = donsol.noirTheme
|
||||
}
|
||||
if (theme_value.localeCompare('nord') === 0) {
|
||||
new_theme = donsol.nordTheme
|
||||
}
|
||||
if (theme_value.localeCompare('obsidian') === 0) {
|
||||
new_theme = donsol.obsidianTheme
|
||||
}
|
||||
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('pawbin') === 0) {
|
||||
new_theme = donsol.pawbinTheme
|
||||
}
|
||||
if (theme_value.localeCompare('pico8') === 0) {
|
||||
new_theme = donsol.pico8Theme
|
||||
}
|
||||
if (theme_value.localeCompare('polivoks') === 0) {
|
||||
new_theme = donsol.polivoksTheme
|
||||
}
|
||||
if (theme_value.localeCompare('rainonwires') === 0) {
|
||||
new_theme = donsol.rainOnWiresTheme
|
||||
}
|
||||
if (theme_value.localeCompare('roguelite') === 0) {
|
||||
new_theme = donsol.rogueliteTheme
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,16 @@ function Settings () {
|
|||
this.theme_button.innerHTML += '<option value=\"murata\">Murata</option>'
|
||||
this.theme_button.innerHTML += '<option value=\"muzieca\">Muzieca</option>'
|
||||
this.theme_button.innerHTML += '<option value=\"nightowl\">Night Owl</option>'
|
||||
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=\"op-1\">Op-1</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=\"pico8">PICO-8</option>'
|
||||
this.theme_button.innerHTML += '<option value=\"polivoks">Polivoks</option>'
|
||||
this.theme_button.innerHTML += '<option value=\"rainonwires">Rain on Wires</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