From 50b3c7a5501737b48c573490b298ef4ad2888822 Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Sun, 13 Oct 2024 20:50:28 -0500 Subject: [PATCH] Add Murata 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 edb82f0..25e8e25 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -238,6 +238,17 @@ function Donsol () { b_low: '#CFD2CD', b_inv: '#676164' } + this.murataTheme = { + background: '#111111', + f_high: '#ffffff', + f_med: '#e8dacb', + f_low: '#5a6970', + f_inv: '#000000', + b_high: '#bbbbbb', + b_med: '#8498a2', + b_low: '#333333', + b_inv: '#b9615a' + } this.nightowlTheme = { background: '#011627', f_high: '#7fdbca', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index 24a7f9b..9103523 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -212,6 +212,9 @@ function Player () { if (theme_value.localeCompare('marble') === 0) { new_theme = donsol.marbleTheme } + if (theme_value.localeCompare('murata') === 0) { + new_theme = donsol.murataTheme + } if (theme_value.localeCompare('nightowl') === 0) { new_theme = donsol.nightowlTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index 0c99985..c66cb50 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -31,6 +31,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