Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export color variables as css string for SSR #397

Open
nlopin opened this issue Nov 9, 2023 · 0 comments
Open

Export color variables as css string for SSR #397

nlopin opened this issue Nov 9, 2023 · 0 comments

Comments

@nlopin
Copy link
Contributor

nlopin commented Nov 9, 2023

At the moment, we expose ClassicColors and ModernColors as styled-components which makes it impossible to inline semantic CSS variables to the head on the server side.

We should also expose a plain css string with declarations to enable Next.js and other frameworks to inject them efficiently.

@nlopin nlopin added this to the Wave@2 milestone Nov 9, 2023
@martimalek martimalek removed this from the Wave@2 milestone Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants