fern-api / fern

Input OpenAPI. Output SDKs and Docs.
https://buildwithfern.com
Apache License 2.0
2.68k stars 151 forks source link

[Bug] Contrast on Inline Code Blocks Too Low #5193

Open noanflaherty opened 1 day ago

noanflaherty commented 1 day ago

Describe the Bug

It's hard to differentiate inline code blocks from surrounding text. The contrast is too low.

Information to Reproduce

2024-11-18_09-08-09

CLI Version

0.41.16

Expected Behavior

The background of the inline code block should have higher contrast (e.g. be more grey).

awlevin commented 15 hours ago

Short-term fixed with the following:

/* Targets only code elements with no class */
code:not([class]) {
  color: #e83e8c;
  padding: 0.2em 0.4em;
}