From: Stephen Jianu Date: Sun, 7 Jan 2024 18:21:35 +0000 (-0600) Subject: Add Big Time theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=5673dab57457261cab8f5324b9b316e779b7230e;p=donsol-js.git Add Big Time theme --- diff --git a/sources/scripts/donsol.js b/sources/scripts/donsol.js index fa8ffc7..d78f7bc 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -51,6 +51,17 @@ function Donsol () { b_low: '#6ADEDC', b_inv: '#6ADEDC' } + this.bigtimeTheme = { + background: '#4682B4', + f_high: '#000000', + f_med: '#2F4F4F', + f_low: '#FFA500', + f_inv: '#9932CC', + b_high: '#F8F8FF', + b_med: '#696969', + b_low: '#778899', + b_inv: '#6B8E23' + } this.gameboyTheme = { background: '#9BBC0F', f_high: '#0F380F', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index 4d89558..8a656c9 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -161,6 +161,9 @@ function Player () { if (theme_value.localeCompare('berry') === 0) { new_theme = donsol.berryTheme } + if (theme_value.localeCompare('bigtime') === 0) { + new_theme = donsol.bigtimeTheme + } if (theme_value.localeCompare('gameboy') === 0) { new_theme = donsol.gameboyTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index 78ed9d5..07d3700 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -14,6 +14,7 @@ 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 += ''