You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a proposal to improve the default slice interfaces in order to have a more scalable system and a more intuitive theme building.
Sizes
The xxs and xxl could become 2xs and 2xl in order to suggest a more scalable naming for all sizes props.
Font Slice
As the font slice keys could be used to define different fonts and even the same fonts with different weights and styles it could be better to leave this slice more flexible by changing regular, medium, bold to just one default property default.
Borders
primary and secondary keys seem to not work properly to define borders. We could change them with some more appropriate like thin and `bold.
Zindices
light, soft and strong keys seem to not work properly to define zIndices. We could change them with some more appropriate like `lowest, lower, low, high, higher, highest.
The text was updated successfully, but these errors were encountered:
This is a proposal to improve the default slice interfaces in order to have a more scalable system and a more intuitive theme building.
Sizes
The
xxs
andxxl
could become2xs
and2xl
in order to suggest a more scalable naming for all sizes props.Font Slice
As the font slice keys could be used to define different fonts and even the same fonts with different weights and styles it could be better to leave this slice more flexible by changing
regular, medium, bold
to just one default propertydefault
.Borders
primary
andsecondary
keys seem to not work properly to defineborders
. We could change them with some more appropriate likethin
and `bold.Zindices
light, soft and strong
keys seem to not work properly to definezIndices
. We could change them with some more appropriate like `lowest, lower, low, high, higher, highest.The text was updated successfully, but these errors were encountered: