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
Convert an additional set Svelte Components to Element styles #756
Labels
Milestone
Comments
endigo9740
changed the title
Convert Alerts, Breadcrumbs, Dividers, Gradient Headings to Tailwind Elements
Convert and additional set Svelte Components to Element styles
Jan 3, 2023
endigo9740
changed the title
Convert and additional set Svelte Components to Element styles
Convert an additional set Svelte Components to Element styles
Jan 3, 2023
This is now ready to test:
I've also provided a migration recommendation for Gradient Heading styles: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!
None of these components contain logic, which makes them prime candidates to convert to Elements. That being CSS styles like buttons, badges, cards, etc rather than Svelte components. This greatly simplified the easy of use (no import needed).
The first three would be a similar conversion to buttons, badges, cards, etc. But Gradient Headings would be a bit different. In most cases we would recommend folks generate their own
@apply
styles that are dropped into a reusable class in their global stylesheet. Something like this:For now I'm opening this to feedback and questions, but plan to jump on this in the next few days.
What type of pull request would this be?
Enhancement
Any links to similar examples or other references we should review?
No response
The text was updated successfully, but these errors were encountered: