redocusaurus
redocusaurus copied to clipboard
Styling issue with callbacks in dark mode
My team has noticed that the styling for callbacks in dark mode is virtually unreadable, and it looks like this is also the case on the example docs. If this is a known issue are there any suggested workarounds? Thanks!
Light mode:
Dark mode:
Thanks for pointing it out. I haven't used callbacks so didn't notice them.
I think the fix would just be fixing the styling here: https://github.com/rohit-gohri/redocusaurus/blob/7134ab9153aa1ae81191716d2e0ce98a6a6a228d/packages/docusaurus-theme-redoc/src/theme/Redoc/styles.css#L166-L184 We would probably need to apply different styles for callbacks. If you want to give it a try, PRs are most welcome
Hi, is there any suggestion on how to fix this?