Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(shadcn): default next styles are not completely cleared #4922

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sapenlei
Copy link

@sapenlei sapenlei commented Sep 21, 2024

after initializing nextjs project, the global css is

CleanShot 2024-09-21 at 08 16 21@2x

after initializing shadcn , the global css is

CleanShot 2024-09-21 at 08 20 12@2x

--foreground, --background of nextjs conflict with shadcn. nextjs will override shadcn.

CleanShot 2024-09-21 at 08 27 39@2x

Fix #4923

Copy link

vercel bot commented Sep 21, 2024

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

A member of the Team first needs to authorize it.

@sapenlei sapenlei marked this pull request as draft September 21, 2024 01:45
@sapenlei sapenlei closed this Sep 21, 2024
@sapenlei sapenlei reopened this Sep 21, 2024
@sapenlei sapenlei marked this pull request as ready for review September 21, 2024 01:49
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.

[bug]: foreground and background don't change when toggle dark mode
1 participant