From: Stephen Jianu Date: Thu, 10 Oct 2024 16:20:23 +0000 (-0500) Subject: Add Gotham theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=9a4a463d1f14e52c3db1a7bc357fc7e273b9fbad;p=donsol-js.git Add Gotham theme --- diff --git a/sources/scripts/donsol.js b/sources/scripts/donsol.js index a6b3d77..be9a18a 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -150,6 +150,17 @@ function Donsol () { b_low: '#48413a', b_inv: '#4cb1cf' } + this.gothamTheme = { + background: '#0A0F14', + f_high: '#FFFFFF', + f_med: '#98D1CE', + f_low: '#EDB54B', + f_inv: '#C33027', + b_high: '#093748', + b_med: '#081F2D', + b_low: '#10151B', + b_inv: '#8FAF9F' + } this.nightowlTheme = { background: '#011627', f_high: '#7fdbca', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index d1a6be3..b6185c0 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -188,6 +188,9 @@ function Player () { if (theme_value.localeCompare('garden') === 0) { new_theme = donsol.gardenTheme } + if (theme_value.localeCompare('gotham') === 0) { + new_theme = donsol.gothamTheme + } if (theme_value.localeCompare('nightowl') === 0) { new_theme = donsol.nightowlTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index a4f4f6c..c33dedb 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -23,6 +23,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 += ''