Skip to content

Conversation

@sethhorsley
Copy link
Member

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.

3 participants