From: Stephen Jianu Date: Thu, 10 Oct 2024 16:21:08 +0000 (-0500) Subject: Add Isotope theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=ea88cd70f15fac1005e36c5432b22d9a464cd1f6;p=donsol-js.git Add Isotope theme --- diff --git a/sources/scripts/donsol.js b/sources/scripts/donsol.js index 08a7c0b..25c4b30 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -172,6 +172,17 @@ function Donsol () { b_low: '#141419', b_inv: '#FFFFFF' } + this.isotopeTheme = { + background: '#000000', + f_high: '#FFFFFF', + f_med: '#33FF00', + f_low: '#FF0099', + f_inv: '#000000', + b_high: '#505050', + b_med: '#000000', + b_low: '#000000', + b_inv: '#FFFFFF' + } this.nightowlTheme = { background: '#011627', f_high: '#7fdbca', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index dc5e3d7..7f42c3b 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -194,6 +194,9 @@ function Player () { if (theme_value.localeCompare('haxe') === 0) { new_theme = donsol.haxeTheme } + if (theme_value.localeCompare('isotope') === 0) { + new_theme = donsol.isotopeTheme + } if (theme_value.localeCompare('nightowl') === 0) { new_theme = donsol.nightowlTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index e68aadd..96f9a10 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -25,6 +25,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 += ''