While studing the material design specification, I came across two different values for gray:
Classical 50% gray: Color.rgb255 0x77 0x77 0x77
A gray tone that adapts to the palette: palette.on.surface |> MaterialColor.scaleOpacity 0.14
While I'm still not sure why there are two versions, I do believe that the second definition is a lot more pleasing to the eyes and thus I'll go with that one (mostly because I can't believe that the first version is the official one)
The new version will be added as Material.gray. The old version will be removed in Version 4.0.0
While studing the material design specification, I came across two different values for gray:
Color.rgb255 0x77 0x77 0x77
palette.on.surface |> MaterialColor.scaleOpacity 0.14
While I'm still not sure why there are two versions, I do believe that the second definition is a lot more pleasing to the eyes and thus I'll go with that one (mostly because I can't believe that the first version is the official one)
The new version will be added as
Material.gray
. The old version will be removed in Version 4.0.0