-
-
Notifications
You must be signed in to change notification settings - Fork 457
feat: enhance theme style generator to support Tailwind CSS version 4 #123
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
base: main
Are you sure you want to change the base?
Conversation
- Added tailwindVersion parameter to generateColorVariables and generateThemeVariables functions. - Updated sidebar variable handling to differentiate between Tailwind CSS versions. - Adjusted theme generation logic to accommodate new parameter for consistent theme styling.
|
@aarjun8060 is attempting to deploy a commit to the tweakcn OSS program Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughA new utility function Changes
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
utils/theme-style-generator.tsOops! Something went wrong! :( ESLint: 9.24.0 ESLint couldn't find the plugin "eslint-plugin-react-hooks". (The package "eslint-plugin-react-hooks" was not found when loaded as a Node module from the directory "".) It's likely that the plugin isn't installed correctly. Try reinstalling by running the following: The plugin "eslint-plugin-react-hooks" was referenced from the config file in " » eslint-config-next/core-web-vitals » /node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/eslint-config-next/index.js". If you still can't figure out the problem, please see https://eslint.org/docs/latest/use/troubleshooting. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
- Removed tailwindVersion parameter from generateColorVariables and generateThemeVariables functions for cleaner implementation. - Introduced changeThemeObjKeyName function to facilitate renaming of CSS variable keys. - Updated theme generation logic to utilize the new key renaming function for Tailwind CSS version 4 compatibility.
|
Good change, will have to test it once before I can merge it |
fixes -> #27
Summary by CodeRabbit
New Features
Refactor