Fix OpenAPI viewer for dark mode
What does this MR do and why?
Uses the CSS filter
property to invert the text color to make the OpenAPI viewer readable when dark mode is enabled.
As SwaggerUI currently does not support dark mode out of the box, this seemed like a simple approach to make it readable again.
Also see: https://github.com/swagger-api/swagger-ui/issues/5327#issuecomment-742375520
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #262641 (closed)