RSS Feed/News variations.less is not as efficient as it could be

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,816
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top