From: Stephen Jianu Date: Thu, 18 Jan 2024 01:04:20 +0000 (-0600) Subject: Add Coal theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=87483b61484bc82aabc43c65d1e0a309159e9016;p=donsol-js.git Add Coal theme --- 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 += ''