feat(mornye): add persistent accent color choices

This commit is contained in:
zarzet committed 2026-09-27 04:32:02 +07:00
1 parent 6b53eb9c06
commit c89601b6dc
18 files changed
+310 -39

No files matched your search

+4 -1
View File
@@ -147,7 +147,10 @@ class _SpectrogramView extends StatelessWidget {
// The plot stays black in both appearances; its controls need matching
// contrast even when the surrounding Mornye page uses the light theme.
return context.isMornye
? Theme(data: MornyeTheme.build(Brightness.dark), child: card)
? Theme(
data: MornyeTheme.fromContext(context, brightness: Brightness.dark),
child: card,
)
: card;
}