-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Undocumented 'Customization via css variables'? #2
Comments
You can do this by putting something like
in one of your own css files. The trick is to make sure it is included/imported after 'react-st-modal' so that it overwrites the variables from the default stylesheet. This makes it a bit tricky to add global defaults near the root of your app. You could do something like
to achieve this, even if that's slightly unconventional. @Nodlik I love this library - great work! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there! I can't find documentation to apply css variables on the modal.
There seems to be some variables by inspecting... but how to use them?:
Also both these links give 404:
The text was updated successfully, but these errors were encountered: