Skip to content

Conversation

letianpailove
Copy link

This PR fixes incorrect comment syntax used in some CSS variable declarations.

CSS does not support // comments — only /* ... */ is valid.
The original code used:
:root {
--background: hsl(0 0% 100%); // ← Wrap in hsl
--foreground: hsl(0 0% 3.9%);
}

This has been corrected to:
:root {
--background: hsl(0 0% 100%); /* ← Wrap in hsl */
--foreground: hsl(0 0% 3.9%);
}

All similar instances (e.g., in .dark {} blocks) have also been updated accordingly.

This is a minor fix, but improves correctness and avoids unexpected behavior in browsers or tools that strictly parse CSS.

This PR fixes incorrect comment syntax used in some CSS variable declarations.

CSS does not support `//` comments — only `/* ... */` is valid.  
The original code used:

```css
:root {
  --background: hsl(0 0% 100%); // ← Wrap in hsl
  --foreground: hsl(0 0% 3.9%);
}
Copy link

vercel bot commented Aug 1, 2025

@letianpailove is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant