From 87483b61484bc82aabc43c65d1e0a309159e9016 Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Wed, 17 Jan 2024 19:04:20 -0600 Subject: [PATCH] Add Coal 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 682a336..4fa4983 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -73,6 +73,17 @@ function Donsol () { b_low: '#000000', b_inv: '#873260' } + this.coalTheme = { + background: '#EDEAEA', + f_high: '#393B3F', + f_med: '#808790', + f_low: '#A3A3A4', + f_inv: '#000000', + b_high: '#333333', + b_med: '#777777', + b_low: '#DDDDDD', + b_inv: '#ffffff' + } this.gameboyTheme = { background: '#9BBC0F', f_high: '#0F380F', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index c37976f..424f3b6 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -167,6 +167,9 @@ function Player () { if (theme_value.localeCompare('boysenberry') === 0) { new_theme = donsol.boysenberryTheme } + if (theme_value.localeCompare('coal') === 0) { + new_theme = donsol.coalTheme + } if (theme_value.localeCompare('gameboy') === 0) { new_theme = donsol.gameboyTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index 311fc18..d4fb86b 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -16,6 +16,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