Merge pull request #484 from hzeller/20230413-add-ys-size-type

Make it easy to change the type used for sizes.