swagger-api / swagger-ui

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
https://swagger.io
Apache License 2.0
26.59k stars 8.96k forks source link

Fix hideous purple color for <code> in markdown #6500

Open jcracknell opened 4 years ago

jcracknell commented 4 years ago

image

Wow, so snazzy. For some reason this appears to be assigned the color for the HEAD method:

https://github.com/swagger-api/swagger-ui/blob/1d1e2346610f72a486f23e65cbf1901c0a9f4d74/src/style/_variables.scss#L112

jcracknell commented 4 years ago

To be clear, I'm not looking for support. I'm suggesting that the default style is both ugly and unintended.

luiz-leite-dev commented 5 months ago

How could I change this color directly in my React application?