rio icon indicating copy to clipboard operation
rio copied to clipboard

Make all attributes of `TextStyle` optional

Open Aran-Fey opened this issue 9 months ago • 2 comments

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)

Aran-Fey avatar May 12 '24 15:05 Aran-Fey