benjamincanac / ui3

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
52 stars 7 forks source link

[Docs] Invisible code expressions in light mode #148

Closed romhml closed 3 months ago

romhml commented 3 months ago

Description

The syntax highlighting used in code snippets renders some expression in white, making them invisible when browsing the documentation in light mode.

See /components/breadcrumb for example:

image
benjamincanac commented 3 months ago

@romhml This is not really an issue, since Dark mode is not yet available in Tailwind CSS v4 I've disabled @nuxtjs/color-mode which means there are no light / dark class applied on <html> and Shiki depends on these classes.

This will be fixed by itself at some point 😊