Skip to content

RFC: Prose styling and auto-injected CSS cleanup - #338

Closed
mattboon wants to merge 6 commits into
mainfrom
rfc/prose-and-css-cleanup
Closed

mattboon wants to merge 6 commits into
mainfrom
rfc/prose-and-css-cleanup

Conversation

@mattboon

Copy link
Copy Markdown
Collaborator

Summary

  • RFC proposing removal of redundant auto-injected CSS from production HTML
  • Include @tailwindcss/typography by default in the stylesheet
  • Use prose dark:prose-invert in MDX templates instead of verbose [&_] selectors
  • Full audit of everything injected into production HTML

Details

See RFC-001-prose-and-css-cleanup.md for the full document covering:

  • Production HTML audit (what's injected, what's needed, what's redundant)
  • Removing production-styles.ts (body reset, .prose, .container, utilities all duplicate Tailwind)
  • Removing duplicate inline CSS in build-app-route-renderer.ts
  • Cleaning up dead CSS in dev-styles.ts (unused bounce animations)
  • Reviewing .vf-tailwind base styles (font-family: Inter !important override)
  • MDX template updates to use standard prose class

Test plan

  • Review RFC document for completeness
  • Discuss open questions (.vf-tailwind removal, layoutless fallback, typography plugin loading)
  • Implement changes in follow-up PR(s)

🤖 Generated with Claude Code

mattboon and others added 6 commits February 13, 2026 08:52
Add RFC-001 documenting plan to remove redundant auto-injected CSS,
include @tailwindcss/typography by default, and use prose class in
MDX templates instead of verbose [&_] wrapper selectors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…oposal

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Confirmed no hard technical reason for two nested wrapper divs.
Added proposed single-div structure, full reference table of
all files that need updating, and risk assessment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Opinionated animation behaviour should not be auto-injected.
Users can add view transitions themselves if desired.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mattboon

Copy link
Copy Markdown
Collaborator Author

Closing — all changes already merged to main via #339.

@mattboon mattboon closed this Feb 13, 2026
@kwakayama
kwakayama deleted the rfc/prose-and-css-cleanup branch February 19, 2026 06:03
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