Collapse the atoms cascade layer into components - #29
Merged
Conversation
The atoms/components split did no cascade work: cross-component class coupling is banned, so layer order between atoms and components never broke a tie, and no component CSS overrides an atom class. The split survived only as taxonomy, and its docs definition could not classify Badge unambiguously. The real distinction (CSS-only, no Astro file needed) is now a property instead of a category. - Rename atom.badge|button|toggle.css to component.*.css - Layer list is now: settings, base, elements, global, components, pages, helpers - Frontmatter type enum drops "atom"; new optional cssOnly flag drives the "(CSS-only)" label in /llms.txt - Merge the components sidebar and header nav into one list - build-css.mjs now wipes dist/css before rebuilding, which also removes two long-orphaned files (articleCard, postList) - Update docs, blog structure post, agents/ references, DESIGN.md, CI BREAKING CHANGE: the atoms layer and atom.*.css file paths are gone. Class names, theme tokens, and docs URLs are unchanged. The pre-change tree is preserved at the v0.9.0 tag. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
✅ Deploy Preview for mcssdev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.

Summary
Folds the
atomscascade layer intocomponentsahead of v1. The split did no cascade work (cross-component class coupling is banned, so layer order between atoms and components never broke a tie, and no component CSS overrides an atom class), and its docs definition could not classify Badge unambiguously. The one real distinction, CSS-only with no Astro file needed, is kept as a property instead of a category.atom.badge|button|toggle.cssrenamed tocomponent.*.css; class names (.bt,.badge,.toggle), theme tokens, and docs URLs unchangedsettings, base, elements, global, components, pages, helperstypeenum drops"atom"; new optionalcssOnlyflag marks class-only components and drives the "(CSS-only)" label in/llms.txtbuild-css.mjswipesdist/css/before rebuilding so renames can't leave stale outputs; this also removed two long-orphaned dist files (component.articleCard.css,component.postList.css)docs/start(Atoms section folded into Components), badge/button/toggle pages, card, pricing, the structure blog post,agents/*.md,DESIGN.md, and the CI layer-statement checkBREAKING CHANGE for anyone copying individual files from 0.9:
atom.*.csspaths and theatomslayer are gone. The pre-change tree is preserved at the v0.9.0 tag; the full migration story lands in the v1.0.0 release notes.Verification
npm run build:css: clean dist, zeroatomoccurrences, new layer statement in both bundlesnpm run build: 101 pages, validates the schema change.btcomputed styles resolve from the components layer on the badge and pricing pages,(CSS-only)labels in/llms.txt, no console errors🤖 Generated with Claude Code