From: Stephen Jianu Date: Mon, 14 Oct 2024 01:50:28 +0000 (-0500) Subject: Add Murata theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=50b3c7a5501737b48c573490b298ef4ad2888822;p=donsol-js.git Add Murata theme --- 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 += ''