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

Update to tailwind 4 #227

Closed
wants to merge 1 commit into from
Closed

Update to tailwind 4 #227

wants to merge 1 commit into from

Conversation

sethhorsley
Copy link
Collaborator

This pr is to track the update to tailwind 4

@sethhorsley sethhorsley changed the title update application css Update to tailwind 4 Mar 6, 2025
Comment on lines +5 to +10
@source "./app/views/**/*.rb"; /* Phlex views */
@source "./app/components/**/*.rb"; /* Phlex components */
@source "./app/views/**/*.html.erb";
@source "./app/helpers/**/*.rb";
@source "./app/assets/stylesheets/**/*.css";
@source "./app/javascript/**/*.js";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't need this anymore, because Tailwind 4 looks for tailwind classes in all project files.

--border: 240 3.7% 15.9%;
--input: 240 3.7% 15.9%;
--ring: 240 4.9% 83.9%;
:root {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About these variables, I think we can copy from Shadcn, what do you think?
https://ui.shadcn.com/docs/installation/manual (Step 4 Configure styles)

@stephannv
Copy link
Contributor

@sethhorsley I added you as co-author in this PR: #237

I'm closing this PR, thanks!

@stephannv stephannv closed this Mar 25, 2025
@sethhorsley sethhorsley deleted the upgrade-tailwind branch March 25, 2025 13:46
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.

2 participants