unjs / website

UnJS website Content and Design!
https://unjs.io
Other
131 stars 25 forks source link

Improving Visibility of Code Snippets in Light Mode #261

Closed jwanner83 closed 9 months ago

jwanner83 commented 9 months ago

Environment

Reproduced in Firefox 122.0 (64-Bit) and Chrome 121.0.6167.85 (Official Build) (arm64), both on macOS 14.2.1.

Reproduction

  1. Enable Light Mode in the Footer of the page.
  2. Visit this URL: https://unjs.io/packages/c12#usage
  3. Try to read the code in the code snippets.

Describe the bug

If the page is viewed in light mode, the code snippets are not really visible because the text color is to close to the background color.

Additional context

No response

Logs

No response

jwanner83 commented 9 months ago

I wanted to fix the issue by myself but as I forked the site and run it locally, the error seems to be already fixed. Is production behind of the main branch?

Local: Bildschirmfoto 2024-01-30 um 15 57 43

Production: Bildschirmfoto 2024-01-30 um 15 30 19

Barbapapazes commented 9 months ago

It seems that there is an highlight issue with the latest version of Nuxt Content.

Barbapapazes commented 9 months ago

yes, main is the production

Barbapapazes commented 9 months ago

should be fixed in some minutes.