Closed ShreckYe closed 7 months ago
Some references:
It appears that the HTML attributes customizing styles, e.g., height
, width
, and bgcolor
have become legacy.
This requires furthur consideration as CSS styles can also be set through the class
property.
After working on this project for a while it seems to me that a Compose
Modifier
is more similar to the CSS styles in thestyle
attribute instead of all the attributes of an HTML element, while HTML attributes are more similar to a Composable's arguments. If this is investigated to be true in most cases, modify the existingModifierOrAttrs
interface into a common interface forModifier
and CSS styles instead of HTML attributes.