mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-05-10 06:19:36 -04:00
The dynamic-mode currentThemeData object at Theme.qml:447-468 omitted tertiary entirely, even though matugen generates it and writes it to the matugen colors JSON. As a result, Theme.tertiary returned undefined in dynamic mode, and any QML binding through .r/.g/.b/.a defaulted to white — visible as desaturated near-white highlights in the bar's ChromeShader (which mixes Theme.tertiary at highlight peaks). Two-line fix: - Add tertiary to the dynamic-mode currentThemeData via getMatugenColor - Add property color tertiary on the Theme singleton, falling back to secondary if tertiary is absent (covers the stock-theme path where tertiary is added separately via buildMatugenColorsFromTheme:1811) Fallback hex #efb8c8 is the M3 baseline tertiary (light pink) for dark mode, in case matugen output is missing. Theme.tertiary was already referenced at LockScreenContent.qml:737 so the property name is the right one. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>