diff --git a/sources/scripts/donsol.js b/sources/scripts/donsol.js index 46e5812..9ca58bc 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -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', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index 7dfb626..131da93 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -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 } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index 14f967d..95b27c6 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -34,6 +34,16 @@ function Settings () { this.theme_button.innerHTML += '' this.theme_button.innerHTML += '' this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' this.theme_button.innerHTML += '' this.theme_button.innerHTML += '' this.theme_button.addEventListener('mousedown', () => { donsol.player.change_theme(this.theme_button.value) })