Repository navigation
refactor(frontend): retire frontend-static-site; keep its general rules (#2086) - #2103
Merged
Merged
Conversation
…es (#2086) One stylesheet, BEM naming, system fonts, the theme snippet and the page table are one site's choices and leave with the template. The theme flash rule and the trailing-slash check move to frontend-quality and frontend-content with their IDs; a custom 404 page and build-time rendering by default join them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rule mandated a blocking head script, but a server-rendered page that emits the stored theme avoids the flash without one. The script is now required only where the browser stores the theme. The score row drops from 94.2 to 93.5 for the added qualifier. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…c-site # Conflicts: # CHANGELOG.md # docs/architecture/05-building-block-view.md # docs/migrating-to-v3.md
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Retires
frontend-static-site. Its CSS, font and theme choices fit one site's stack, not every static site.frontend-qualityCSS already covers tokens, inline styles, a naming conventionfont-display: blockfrontend-contentAssets already serves nothing from outside the buildlocalStoragetheme snippetstatic-site-themeinfrontend-quality: the theme applies before first paint, server-rendered or by a blocking<head>script where the browser stores it (MUST / MUST NOT kept)static-site-trailing-slashinfrontend-content, ID keptfrontend-contentSEOfrontend-qualityPerformance: render at build or on the server by defaultfrontend-qualityfrontend-static-site,static-site-stack,-architecture,-pages,-code,-typography; none is referenced elsewherefrontend-content's lead-in now says a stack extends itfrontend-contentfrontend-qualityfrontend-static-siteChecks
sync_docs --check, score ratchetCloses #2086.
🤖 Generated with Claude Code