Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d45c35d3 authored by Jorge Gil's avatar Jorge Gil
Browse files

Use material3's dynamic color schemes in App Header

Uses dynamicLightColorScheme and dynamicDarkColorScheme based on the
app's theme to style the header. This allows the App Header to use
light/dark variants of color tokens even if the app theme and system
theme are not aligned, whereas before, "inverse" tokens (resolved with
the system context) had to be used for apps not following the system
theme, which are much more limited than non-inverse tokens.

Bug: 328668781
Test: App Header of light app on dark system theme and viceversa
always follows the app theme and focus / unfocused headers are
differentiated

Change-Id: I9321726551a54c3ac1b1bf3fe12b2ee29dc7a5be
parent f6365408
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment