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

README: it is possible to generate initial CSS-classes during SSR: #1391

Closed
NasgulNexus opened this issue Mar 1, 2024 · 1 comment
Closed
Labels
documentation Improvements or additions to documentation

Comments

@NasgulNexus
Copy link
Contributor

Hello, I saw the connection in Redmi

https://github.com/gravity-ui/uikit/blob/main/README.md

it is possible to generate initial CSS-classes during SSR:

import {getInitialRootClassName} from '@gravity-ui/uikit';

const theme = 'light';
const rootClassName = getInitialRootClassName({theme});

However, there is no such getInitialRootClassName function in the code. Let's remove this part of redmi or write a function that replaces it.

@NasgulNexus NasgulNexus added the documentation Improvements or additions to documentation label Mar 1, 2024
@amje
Copy link
Contributor

amje commented Jun 8, 2024

@NasgulNexus Will be fixed in #1633

@amje amje closed this as completed Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants