redoc
redoc copied to clipboard
Add theme support to additional elements
- H2 and H3 now use
theme.colors.primary.main - The right panel allows controlling
- Selected tab background and text colors
- Endpoint background and text colors
- Endpoint server background and text colors
These are the only pieces I noticed as being especially problematic when trying to create a dark theme.
The first commit contains the actual changes (I think I touched 4 files). The second is after running prettier.
Hey, this looks great! Thanks!
So many changes caused by prettier. I think they changed the default value for arrowParens. Could you set it to avoid in package.json (https://github.com/Redocly/redoc/blob/master/package.json#L194) and rerun prettier again?
Thanks!
@RomanHotsiy changed prettier as requested and ran again. Down to 11 files now 😄
@RomanHotsiy is there anything else needed to get this merged?
Thanks @Dianoga -- we'll be checking this out again soon. Thanks for your patience too.
Is this still active?
It solves a lot of the customization problems that i am having.
Thanks so much for building and sharing this with us. This pull request has been open a while, and I want to first apologise for that. We decided recently that this isn't a feature we're ready to adopt at this time - so I'll close this pull request, with thanks again for your input.