From 069eb243650ffb4999f070e79769cedf3c94b904 Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Wed, 17 Jan 2024 19:02:09 -0600 Subject: [PATCH] Add Boysenberry theme --- sources/scripts/donsol.js | 11 +++++++++++ sources/scripts/player.js | 3 +++ sources/scripts/settings.js | 1 + 3 files changed, 15 insertions(+) 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 += '' -- 2.39.5