From: Stephen Jianu Date: Thu, 10 Oct 2024 16:20:42 +0000 (-0500) Subject: Add Haxe theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=8ef8359c300ffbe4647002befc7c10c1777ea8dd;p=donsol-js.git Add Haxe theme --- diff --git a/sources/scripts/donsol.js b/sources/scripts/donsol.js index be9a18a..08a7c0b 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -161,6 +161,17 @@ function Donsol () { b_low: '#10151B', b_inv: '#8FAF9F' } + this.haxeTheme = { + background: '#141419', + f_high: '#FAB20B', + f_med: '#F47216', + f_low: '#F1471D', + f_inv: '#141419', + b_high: '#141419', + b_med: '#141419', + b_low: '#141419', + b_inv: '#FFFFFF' + } this.nightowlTheme = { background: '#011627', f_high: '#7fdbca', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index b6185c0..dc5e3d7 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -191,6 +191,9 @@ function Player () { if (theme_value.localeCompare('gotham') === 0) { new_theme = donsol.gothamTheme } + if (theme_value.localeCompare('haxe') === 0) { + new_theme = donsol.haxeTheme + } if (theme_value.localeCompare('nightowl') === 0) { new_theme = donsol.nightowlTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index c33dedb..e68aadd 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -24,6 +24,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 += ''