Skip to content

Atomic: Phase P2.10 true per-declaration output#95

Merged
dbanksdesign merged 2 commits into
mainfrom
fix/true-atomic-p2-10
Jun 17, 2026
Merged

Atomic: Phase P2.10 true per-declaration output#95
dbanksdesign merged 2 commits into
mainfrom
fix/true-atomic-p2-10

Conversation

@dbanksdesign

Copy link
Copy Markdown
Collaborator

Summary

  • Rename hash-only whole-object class naming from atomic to compact (breaking change for users of the old atomic name).
  • Implement true atomic mode: one class per CSS declaration with cross-component dedup so CSS size plateaus as the codebase grows.
  • Wire decomposition through styles.class, styles.component, and styles.hashClass; document migration and update bundle budget.

Test plan

  • npm test in packages/typestyles (331 tests pass)
  • npm run build passes with updated gzip budget
  • Verify two components sharing color: red emit one CSS rule in atomic mode
  • Confirm existing apps using old atomic for hash-only names switch to compact

Made with Cursor

dbanksdesign and others added 2 commits June 16, 2026 22:30
Rename hash-only whole-object naming to `compact` and implement true `atomic`
mode with per-declaration classes and cross-component dedup.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@dbanksdesign dbanksdesign merged commit f06fb48 into main Jun 17, 2026
6 checks passed
@dbanksdesign dbanksdesign deleted the fix/true-atomic-p2-10 branch June 17, 2026 05:36
@github-actions github-actions Bot mentioned this pull request Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant