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

WIP: Update tailwind to version 4.0.0 #5990

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leifmetcalf
Copy link
Contributor

This is waiting on the elixir library being updated to support tailwind v4 in phoenixframework/tailwind#103.

Things I'm not sure about:

  • Where the heroicons library should live. For the meantime I've put it in assets/css/tailwind_heroicons.js, but I'm not sure about the name and I don't think it belongs in assets/css. Also, for now, the tailwind standalone cli doesn't bundle the javascript library, so the heroicons plugin fails to load without running npm install tailwindcss or similar. See [v4] Standalone cli doesn't bundle tailwindcss js library tailwindlabs/tailwindcss#15235.

@variant phx-change-loading ([".phx-change-loading&", ".phx-change-loading &"]);
@theme {
--color-brand: "#FD4F00",
}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
}
}

Copy link
Member

Choose a reason for hiding this comment

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

Also, should we add ; for consistency?

}
}
}, {values})
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
}
})

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