From: Stephen Jianu Date: Thu, 18 Jan 2024 01:02:09 +0000 (-0600) Subject: Add Boysenberry theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=069eb243650ffb4999f070e79769cedf3c94b904;p=donsol-js.git Add Boysenberry theme --- diff --git a/sources/scripts/donsol.js b/sources/scripts/donsol.js index d78f7bc..682a336 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -62,6 +62,17 @@ function Donsol () { b_low: '#778899', b_inv: '#6B8E23' } + this.boysenberryTheme = { + background: '#171717', + f_high: '#efefef', + f_med: '#999999', + f_low: '#873260', + f_inv: '#919191', + b_high: '#373737', + b_med: '#272727', + b_low: '#000000', + b_inv: '#873260' + } this.gameboyTheme = { background: '#9BBC0F', f_high: '#0F380F', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index 8a656c9..c37976f 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -164,6 +164,9 @@ function Player () { if (theme_value.localeCompare('bigtime') === 0) { new_theme = donsol.bigtimeTheme } + if (theme_value.localeCompare('boysenberry') === 0) { + new_theme = donsol.boysenberryTheme + } if (theme_value.localeCompare('gameboy') === 0) { new_theme = donsol.gameboyTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index 07d3700..311fc18 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -15,6 +15,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 += ''