From 044055dbc4c02f3ca32645f440dbd98c0ebe2392 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Thu, 15 Jan 2026 00:35:14 +0100 Subject: [PATCH] . --- styles/less/global/global.less | 8 ++++ styles/less/ui/sidebar/daggerheartMenu.less | 43 ++------------------- 2 files changed, 11 insertions(+), 40 deletions(-) diff --git a/styles/less/global/global.less b/styles/less/global/global.less index 6cc63c2a..060691d0 100644 --- a/styles/less/global/global.less +++ b/styles/less/global/global.less @@ -51,3 +51,11 @@ } } } + +.themed.theme-dark { + color-scheme: dark; +} + +.themed.theme-light { + color-scheme: light; +} diff --git a/styles/less/ui/sidebar/daggerheartMenu.less b/styles/less/ui/sidebar/daggerheartMenu.less index 203735d4..80eda9a1 100644 --- a/styles/less/ui/sidebar/daggerheartMenu.less +++ b/styles/less/ui/sidebar/daggerheartMenu.less @@ -1,43 +1,6 @@ -.theme-light.tab.sidebar-tab.daggerheartMenu-sidebar { - fieldset { - border-color: @dark-blue; - - legend { - color: @dark-blue; - } - } - - button { - background: transparent; - } - - .menu-refresh-container .menu-refresh-inner-container .experience-chip { - background: @dark-blue-10; - color: @dark-blue; - - &.selected { - background: @dark-blue-40; - } - } -} - .tab.sidebar-tab.daggerheartMenu-sidebar { padding: 4px; - fieldset { - border-color: @golden; - - legend { - color: @golden; - } - } - - button { - background: @golden; - border: 1px solid @dark-blue; - color: @dark-blue; - } - div[data-application-part] { display: flex; flex-direction: column; @@ -68,8 +31,8 @@ gap: 5px; cursor: pointer; padding: 5px; - background: @golden-10; - color: @golden; + background: light-dark(@dark-blue-10, @golden-10); + color: light-dark(@dark-blue, @golden); .label { font-style: normal; @@ -79,7 +42,7 @@ } &.selected { - background: @golden-40; + background: light-dark(@dark-blue-40, @golden-40); } } }