Please add a setting in the app which will be responsible for increasing font size of the distance/dimensions marker.
I use 13 inch 1,440x900 mac book air and I often change interface scale to widen my workspace. Font size of the distance/dimensions markers scales down a lot which makes it values unreadable.
Also distance marker has low contrast ratio, it makes it very unreadable: Contrast Ratio: Easily calculate color contrast ratios. Passing WCAG was never this easy!
I know that not everyone (including myself) can clearly see distance values because of it. Please change background color of this marker, it will help a lot.
p.s distance/dimensions markers - part of figma UI which displays distance between objects and dimensions of objects.