'Which backgroundcolor does the Material Design 3 Navigation bar have in Google Apps?
According to the navigation bar documentation in Material Design 3, the navigation bar has the background color md.sys.color.surface
.
I tried this in one app, but the Google Apps (Play Store, Photos, ...) seem to use a different color. Does anyone know what color Google uses here?
In Flutter, surface is implemented like this:
final Color surface = Color(neutrals.get(dark ? 10 : 99));
Solution 1:[1]
It is also the surface
color, but they configured other colors for surface
. In this case, it is #FFFFFFFF
for Light mode and #FF000000
for dark mode.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Daniel |