redocusaurus icon indicating copy to clipboard operation
redocusaurus copied to clipboard

Styling issue with callbacks in dark mode

Open becca-tiessen opened this issue 2 years ago • 2 comments

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: Screen Shot 2022-03-22 at 4 09 10 PM

Dark mode: Screen Shot 2022-03-22 at 4 08 56 PM

becca-tiessen avatar Mar 22 '22 21:03 becca-tiessen

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

rohit-gohri avatar Mar 23 '22 06:03 rohit-gohri

Hi, is there any suggestion on how to fix this?

a00012025 avatar Oct 06 '22 01:10 a00012025