Render attribute modifiers different from style modifiers #42
Labels
IDE: Documentation
Some feature related to quick docs / surfacing documentation in a popup or widget
IDE: Inspection
Some information that should be surfaced to the user (tooltip, notification, lint warning)
maybe?
Not sure we'll do this, but thinking about it, and open for input.
Milestone
Not 100% sure the best approach here, but it might be nice if instead of code like this:
Modifier.id("hi").color(Colors.Red).tabIndex(0)
it looked like this:
Modifier.id("hi").color(Colors.Red).tabIndex(0)
(We should probably only apply the visual style to attribute modifiers since they are rarer)
This could make it easy for new users to visually and quickly build a mental model that some modifiers are different than others.
It might be nice if we could also surface "This is a style modifier" and "This is an attribute modifier" into the quick docs somehow, maybe with a link to more information about that.
The text was updated successfully, but these errors were encountered: