New Default theme: New York #363
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Migrate the default dark mode theme to shadcn/ui's "New York" style, aligning with shadcn's updated defaults.
Reference: https://ui.shadcn.com/docs/tailwind-v4#:~:text=We%27re%20deprecating%20the%20default%20style.%20New%20proj
ects%20will%20use%20new%2Dyork.
Theme Changes (Dark Mode):
--cardand--popover: oklch(0.145 0 0)→oklch(0.205 0 0)(slightly lighter)--primary: oklch(0.985 0 0)→oklch(0.922 0 0)(softer white)--border: solid color→oklch(1 0 0 / 10%)(white with 10% opacity)--input: solid color→oklch(1 0 0 / 15%)(white with 15% opacity)--ring: oklch(0.439 0 0)→oklch(0.556 0 0)(lighter focus ring)--sidebar-borderand--sidebar-ringoklch(0.396 0.141 25.723)→oklch(0.704 0.191 22.216)(more vibrant in dark mode)wrap_with_directivefor Tailwind 4 compatibility: CSS variables are no longer wrapped in @layer baseCopy Code Modal Improvements:
warning,successand their foreground variants) fromcopy output
sm:max-w-lg lg:max-w-xl)Accessibility Fixes (Homepage):
h4toh2h3toh2text-foreground opacity-30→text-primary/70for better contrastContext
This update follows shadcn/ui's transition to the "New York" theme as their new default. The New York style features:
Test Plan