Bug variations.less is not as efficient as it could be

There is a bug in this version
K

Kirby

Guest
variations.less ouputs every color property / component 3 times (default, for prefers-color-scheme and for explicit override) - including colors / components that are identical.

For example --xf-contentBg--h, -xf-borderColor--s and --xf-borderColor--a are identical for XenForo default style light and dark variations.

Suggested Fix
Only output colors / components that actually are different between variations.

Continue reading...