You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Say What a blank.css Duplicate or Conflict Calls for in the Theme README #386
In themes/README.md's Updating section, the customization-table paragraph says of blank.css: "Added rules there still ship, so a diff only means checking for duplication."
That sentence stops at checking. It gives no action when a duplicate is found. It also covers only duplication, not a new upstream rule that conflicts with custom.css without copying anything in it.
Constructed example: upstream adds a body { font-family: serif; } rule, or an img rule, to blank.css. Nothing in custom.css is a copy of it, so a reader following the paragraph literally finds no duplicate and does nothing. Both files ship through the head partial's css/extended/*.css glob, blank.css first and custom.css last. Source order and specificity then decide between them, so a more specific upstream rule can silently override the Lexend body font or the gallery rules.
The same upstream change also makes the header comment in assets/css/extended/custom.css untrue, since it says upstream's placeholder carries no rules and so nothing depends on the ordering. Nothing in the Updating section tells the reader to revisit that comment.
Done looks like the blank.css sentence naming what to do with a duplicate and with a conflicting rule, and pointing at the custom.css comment when blank.css stops being comment-only.
Found by the local review of the fix for #382, and pre-existing: the sentence is unchanged at that branch's merge base.
Activity