You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example, the Astro code adds the dark class to the document, which matches the Tailwindss documentation. However, in the Tailwindcss config that Solid-ui generates, the class is changed from class to the following
darkMode: ["class","[data-kb-theme=\"dark\"]"],
Based on the types in Tailwindcss, this means that the normal dark class doesn't work anymore for dark:
In this example, the Astro code adds the
dark
class to the document, which matches the Tailwindss documentation. However, in the Tailwindcss config that Solid-ui generates, the class is changed fromclass
to the followingBased on the types in Tailwindcss, this means that the normal
dark
class doesn't work anymore fordark:
https://github.com/tailwindlabs/tailwindcss/blob/ed3c5356b77b6c428e9c0ea5bc32719dcdf94128/types/config.d.ts#L75
The correct value should be
The text was updated successfully, but these errors were encountered: