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

[feat]: Update theme for tailwind v4 #6856

Open
2 tasks done
alireza-asgharii opened this issue Mar 4, 2025 · 8 comments
Open
2 tasks done

[feat]: Update theme for tailwind v4 #6856

alireza-asgharii opened this issue Mar 4, 2025 · 8 comments

Comments

@alireza-asgharii
Copy link

alireza-asgharii commented Mar 4, 2025

Feature description

🚀 Website Theme Update for the New Tailwind CSS Version

With the release of the latest Tailwind CSS version, several important changes and optimizations have been applied to the color system and styles. To ensure better compatibility and take advantage of new features, the website themes have been updated.

🔹 Key Changes:

Support for the new OKLCH color space for better color accuracy
Improved accessibility in background and text colors
New variables added for the Sidebar
Adjusted some colors and borders for better consistency

⚡ Actions Taken:

🔹 Replaced hsl color values with oklch
🔹 Updated color variables in :root
🔹 Defined new variables for the Sidebar
🔹 Increased --radius value for a more modern design

✨ This update ensures a better visual experience across the website! 🚀

Affected component/components

No response

Additional Context

Additional details here...

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues and PRs
@jorgetoh
Copy link

jorgetoh commented Mar 5, 2025

up

@johnnybinh
Copy link

johnnybinh commented Mar 5, 2025

what is the workaround for now to apply theme from shadcn website?

@alireza-asgharii
Copy link
Author

what is the workaround for now to apply theme from shadcn website?

I am waiting for the website itself to update for the theme. But the codes can be replaced by updating from the previous version to 4 as written on the site, but it is a bit difficult because the theme must be updated in general with the new version of tailwindcss.

@shadcn
Copy link
Collaborator

shadcn commented Mar 5, 2025

@alireza-asgharii Not sure if you have already started working into this but this is currently in progress. I have a new theme builder coming soon.

@alireza-asgharii
Copy link
Author

alireza-asgharii commented Mar 5, 2025

@shadcn

Thanks

@johnnybinh
Copy link

@shadcn
Thanks.
Keep up the good work!

@stefan-xyz
Copy link

+1

@thekesslereffect
Copy link

is there an extension you recommend to color pick oklch in vscode? I can't seem to find one.

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

No branches or pull requests

6 participants