For 99% of the cases you just need to look in the
base.less stylesheet discussed earlier in this thread. Over time I’ve been scaling more style elements. But the most up-to-date list of what’s being scaled can always be extracted from
base.less. The goal is for all sizes to scale. So when you do View > Zoom In the entire UI scales proportionate to the font.
Of course there’s always an exception. The one place that I know of where I’m using ui-scale outside the stylesheet is when I draw the drag and drop indicator. (The long line with the circle on the end). In that case the circle size and line with is scaled using ui-scale.
They are always part of all themes. All user themes just overriding my base theme, they can override rules, but they can’t undefined variables such as @ui-scale. I guess a theme could do
@ui-scale: null, probably bad things would happen :).
Or maybe you mean… in the base theme, for example,
item-indent is setup to scale with
@ui-scale. But it’s possible for a user theme to override that rule and set
item-indent to an absolute value that doesn’t scale. That’s fine, the value just won’t scale in that case. But
@ui-scale is still present in the stylesheet, just not being used for that particular rule.
Not sure if that’s what you mean… send again if I didn’t understand.