Tokamak icon indicating copy to clipboard operation
Tokamak copied to clipboard

Implement ContentSizeCategory

Open MaxDesiatov opened this issue 5 years ago • 3 comments

This is going to be a requirement for proper accessibility support. Also, in the betas this type is Comparable: https://twitter.com/twostraws/status/1278713171344318464

MaxDesiatov avatar Jul 02 '20 19:07 MaxDesiatov

Looks like this is for Dynamic Type which can’t be accessed from the DOM IIRC. It’s definitely important to have something for responsiveness — I think those are horizontalSizeClass and verticalSizeClass.

j-f1 avatar Jul 02 '20 20:07 j-f1

Looks like there's a way to tailor for the current Dynamic Type setting, at least in Safari.

MaxDesiatov avatar Jul 02 '20 20:07 MaxDesiatov

Thanks for pointing me to size classes, I've created a separate issue for it: #152

MaxDesiatov avatar Jul 02 '20 20:07 MaxDesiatov