https://kotlinlang.org logo
#compose
Title
# compose
j

jaqxues

10/23/2020, 5:16 PM
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

alorma

10/23/2020, 5:17 PM
Totally agree!
j

jaqxues

10/23/2020, 6:19 PM
I will probably open an issue on IssueTracker if that is fine (or no veto from someone working on Compose)?
k

Kyant

10/23/2020, 10:27 PM
You can use EmphasisLevel.Disabled
a

Alexjlockwood

10/24/2020, 5:30 AM
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

jaqxues

10/24/2020, 12:50 PM
Well where should I do so?
a

Alexjlockwood

10/24/2020, 5:45 PM
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

jaqxues

10/24/2020, 6:00 PM
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

Alexjlockwood

10/24/2020, 6:08 PM
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

jaqxues

10/24/2020, 6:09 PM
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.