From 37900c8754d5d42dce6540649d499ae56ec4e9c5 Mon Sep 17 00:00:00 2001 From: Warchamp7 Date: Sat, 21 Mar 2026 10:21:20 -0400 Subject: [PATCH] frontend: Fix audio mixer light theme colors --- frontend/data/themes/Light/headphones.svg | 2 +- frontend/data/themes/Yami.obt | 7 +++-- frontend/data/themes/Yami_Light.ovt | 37 ++++++++++++++++++++++- 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/frontend/data/themes/Light/headphones.svg b/frontend/data/themes/Light/headphones.svg index 113da789a..70095a492 100644 --- a/frontend/data/themes/Light/headphones.svg +++ b/frontend/data/themes/Light/headphones.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/frontend/data/themes/Yami.obt b/frontend/data/themes/Yami.obt index df96f5ec8..3f3d1aef1 100644 --- a/frontend/data/themes/Yami.obt +++ b/frontend/data/themes/Yami.obt @@ -92,7 +92,7 @@ --danger: var(--red3); --text: var(--white1); - --text_light: rgb(214, 214, 214); + --text_light: var(--white1); --text_muted: rgb(153, 153, 153); --text_disabled: var(--text_muted); @@ -1677,17 +1677,20 @@ QSlider::handle:disabled { .btn-monitor.checked { background: var(--green4); + color: var(--text_light); qproperty-icon: url(theme:Dark/headphones.svg); } .btn-monitor.checked:focus, .btn-monitor:checked:focus { + color: var(--text_light); border-color: var(--green1); } .btn-monitor.checked:hover { background: var(--green3); border-color: var(--green1); + color: var(--text_light); } .volume-inactive .btn-monitor.checked { @@ -1861,7 +1864,7 @@ VolumeControl .mixer-category { VolumeControl.volume-pinned .mixer-category { background: var(--blue5); - color: var(--text); + color: var(--text_light); } VolumeControl.volume-hidden .mixer-category { diff --git a/frontend/data/themes/Yami_Light.ovt b/frontend/data/themes/Yami_Light.ovt index a5fc8524e..25dfa0a19 100644 --- a/frontend/data/themes/Yami_Light.ovt +++ b/frontend/data/themes/Yami_Light.ovt @@ -25,7 +25,6 @@ --bg_preview: var(--grey8); --text: var(--black1); - --text_light: var(--black3); --text_muted: var(--black4); --text_disabled: var(--text_muted); @@ -61,6 +60,7 @@ } .btn-monitor.checked { + color: var(--text_light); qproperty-icon: url(theme:Light/headphones.svg); } @@ -76,6 +76,41 @@ VolumeMeter { qproperty-minorTickColor: var(--black5); } +.toggle-hidden:checked { + background: var(--purple1); + border-color: var(--purple5); + color: var(--purple6); +} + +VolumeControl .mixer-category { + background: var(--blue1); + color: var(--text_light); +} + +VolumeControl.volume-pinned .mixer-category { + background: var(--blue2); +} + +VolumeControl.volume-hidden .mixer-category { + background: var(--purple1); + color: var(--purple6); +} + +VolumeControl.volume-unassigned .mixer-category { + background: var(--yellow1); + color: var(--yellow6); +} + +VolumeControl.volume-inactive .mixer-category { + background: var(--grey8); + color: var(--text_muted); +} + +VolumeControl.volume-preview .mixer-category { + background: var(--green3); + color: var(--text_light); +} + QMenu::right-arrow { image: url(theme:Light/expand.svg); }