Docs: Fix prose text colors and typography after MDX migration (1/5)#419
Docs: Fix prose text colors and typography after MDX migration (1/5)#419pedromenezes1 merged 11 commits intomainfrom
Conversation
commit: |
Docs PreviewCommit: |
6b9292f to
c2f0bf0
Compare
|
/bonk |
There was a problem hiding this comment.
Code Review ✅
Changes approved.
This PR correctly fixes the CSS variable namespace regression from to for prose text colors. The 28 variable fixes, typography improvements, and spacing standardizations are all appropriate and follow project conventions.
Key fixes verified:
- ✅ CSS variable namespace corrected (28 references)
- ✅ Letter-spacing and typography alignment with kumo Text component
- ✅ Invalid property fixed to
- ✅ Root text color safety net added
- ✅ Visual regression changes are expected (color corrections)
The changes are minimal, well-scoped to docs-only files, and address the root cause described in the PR.
There was a problem hiding this comment.
Code Review ✅
Changes approved.
This PR correctly fixes the CSS variable namespace regression from the incorrect prefix to the correct text-color prefix for prose text colors. The 28 variable fixes, typography improvements, and spacing standardizations are all appropriate and follow project conventions.
Key fixes verified:
- CSS variable namespace corrected (28 references)
- Letter-spacing and typography alignment with kumo Text component
- Invalid ring-color property fixed to --tw-ring-color
- Root text color safety net added
- Visual regression changes are expected (color corrections)
The changes are minimal, well-scoped to docs-only files, and address the root cause described in the PR.
|
I've completed the code review for PR #419 and approved the changes. SummaryThe PR fixes a CSS variable namespace regression introduced during the .astro → .mdx migration. The prose text color variables were incorrectly using Key Changes Reviewed
The visual regression report showing 37 changed screenshots is expected - these represent the color fixes being applied correctly across component demos. |

















































































Summary
The .astro → .mdx migration introduced
.kumo-proseoverrides that referenced non-existent--color-kumo-*CSS variables for text colors. The correct namespace is--text-color-kumo-*. This caused all prose text (headings, body, links, lists) to fall back to browser-default#000across all MDX doc pages.Changes
.kumo-prosetoken overrides (--color-kumo-*→--text-color-kumo-*) for both light and dark modes<p>/<ul>/<ol>/<li>totext-base leading-relaxed(matching kumo<Text>component)-0.02emheadings,-0.01embody content)text-kumo-defaultto<html>as a root text color safety netinheritring-colorCSS property →--tw-ring-colormargin-bottom: 1rem 0→ split into base + adjacent-sibling margin rulesComponentSectionspacing tomb-8ChangelogEntrycode block font size ([&_pre]:text-base) to match paragraph sizingtext-kumo-default(near-black) instead oftext-kumo-strong(gray) for--tw-prose-headings<hr>margin from3emto1.5rem(24px)