Skip to content

Say What a blank.css Duplicate or Conflict Calls for in the Theme README #386

Closed

Description

@ptr727

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.

🤖 Generated with Claude Code

Activity

  1. added
    documentation
    pre-existing
    on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationpre-existing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions