automotive-design-compose
automotive-design-compose copied to clipboard
Separate layout and appearance style properties
The layout and appearance properties are all bundled into ViewStyle -- we can refactor ViewStyle to contain several structs that are more focused on a particular area (ViewStyle is currently modeled after DOM style, but this isn't necessarily the best direction). Additionally, we could choose to break layout down into interior/exterior, or even further along "which properties are used by which layout model".
#792 has some discussion on splitting up layout properties.
Also worth thinking about how tokens fit in, if we revisit ViewStyle.
@iamralpht did this PR resolve this https://github.com/google/automotive-design-compose/pull/974, or is there more to be done with this ticket?