-
Notifications
You must be signed in to change notification settings - Fork 115
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
Dropdown Code block Has Contrast Issue in Dark Mode #231
Comments
Your temporary fix is the solution if you can make the selector not use css-in-js class names. Feel free to open a PR adding the style override here - https://github.com/rohit-gohri/redocusaurus/blob/main/packages/docusaurus-theme-redoc/src/theme/Redoc/styles.css |
I was trying to avoid the css-in-js classes but the div position seems to be dynamic and there isn't any other form of selector I can use, cant use the nth,not,has .. etc. |
Dropdown Code block Has Contrast Issue in Dark Mode rohit-gohri#231
The problem seems to appear from
This line here is causing the issue i have tried changing the color and running the redoc code seems to have fixed the issue. The patch also fixed the below issue |
PR: |
Any update on this? |
In the Dark Mode Redeadin, the Text Inside the code block Becomes Difficult.
As there is no direct css selector available for the fix.
Temporary Fix: I have used the class name as I can see that it is static for that block .
Is there any known workaround for this issue?
Thank you!
The text was updated successfully, but these errors were encountered: