rio
rio copied to clipboard
Make all attributes of `TextStyle` optional
Some attributes of TextStyle
default to None
, which means "unchanged" (i.e. inherit the value from the theme or whatever), but all attributes should do this. This is a tricky change because it affects quite a few different parts of rio, including:
-
Theme
-
getTextDimensions
(extra tricky because it removes the element from its parent)