Why is there no `EmphasisLevel.Low`? The differenc...
# compose
j
Why is there no
EmphasisLevel.Low
? The difference and contrast between High and Medium is pretty stark if you want to fine tune the Emphasis. So why not simply add a
Low
when there is
High
and
Medium
?
👍 2
a
Totally agree!
j
I will probably open an issue on IssueTracker if that is fine (or no veto from someone working on Compose)?
k
You can use EmphasisLevel.Disabled
a
This likely isn't up to the compose team, they are just following the material design spec. You probably should file a bug against the material design team instead
j
Well where should I do so?
a
What are you trying to achieve?
I personally disagree that it would be a good idea to add Low, as anything below Medium would likely not meet the minimum text contrast ratio to be considered "accessible".
j
well no i meant that medium is pretty low, so make Medium a bit higher, and Low either the current Medium or even a bit less. But it really does annoy me that the builtin values are so harsh and I cannot easily fine tune the design
a
Ah I see. There should be a way to change the color used by Medium. I just don't think you would easily be able to introduce a 3rd emphasis level without rolling out your own thing
j
Its an Ambient, so I think its possible (maybe easily) to do so, but I do not like the default. And I see it as a pretty big flaw, especially in dark modes, i often end up just not liking the EmphasisLevel, since there is no in-between with High and Medium.