Skip to content

docs: add createTheme API documentation#997

Open
quantizor wants to merge 1 commit intomainfrom
docs/create-theme
Open

docs: add createTheme API documentation#997
quantizor wants to merge 1 commit intomainfrom
docs/create-theme

Conversation

@quantizor
Copy link
Contributor

Summary

  • Add createTheme to the API helpers section documenting the new CSS variable theming utility (shipping in styled-components v6.4)
  • Covers: basic usage, ThemeProvider integration, RSC usage, resolve() for reading computed values, prefix and selector options, dark mode best practices

Test plan

  • Verify the new section renders correctly on the docs site
  • Check all code examples are syntactically valid
  • Confirm the helpers index includes createTheme after createGlobalStyle

@vercel
Copy link

vercel bot commented Mar 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
styled-components Ready Ready Preview, Comment Mar 21, 2026 5:07am

Request Review

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