From c48dfc68ebeee8c039f3ae8c5b8da50015772bc3 Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Sat, 29 Nov 2025 23:16:06 -0600 Subject: [PATCH] Add Orca 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 faa231c..50015ef 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -326,6 +326,17 @@ function Donsol () { b_low: '#101119', b_inv: '#9F9FB3' } + this.orcaTheme = { + background: '#000000', + f_high: '#ffffff', + f_med: '#777777', + f_low: '#444444', + f_inv: '#000000', + b_high: '#dddddd', + b_med: '#72dec2', + b_low: '#222222', + b_inv: '#ffb545' + } this.rogueliteTheme = { background: '#352b31', f_high: '#f5f5d4', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index f5a9d34..a14d837 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -236,6 +236,9 @@ function Player () { if (theme_value.localeCompare('op-1') === 0) { new_theme = donsol.op1Theme } + if (theme_value.localeCompare('orca') === 0) { + new_theme = donsol.orcaTheme + } if (theme_value.localeCompare('roguelite') === 0) { new_theme = donsol.rogueliteTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index 2abc416..9a278f5 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -39,6 +39,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.addEventListener('mousedown', () => { donsol.player.change_theme(this.theme_button.value) }) -- 2.39.5