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

feat: add hx- prefix to Hextra Tailwind CSS classes #300

Merged
merged 12 commits into from
Feb 20, 2024

Conversation

imfing
Copy link
Owner

@imfing imfing commented Feb 18, 2024

Summary: This PR introduces the hx- prefix to Tailwind CSS classes utilized in Hextra, enabling users to seamlessly integrate standard Tailwind CSS utility classes without conflicting with Hextra's generated styles. With this enhancement, users can incorporate out-of-the-box components directly without the need for overriding styles.

⚠️ However, please note that existing custom CSS rules intended to override Tailwind styles may break due to this change.

Preview: deploy-preview-300--hugo-hextra.netlify.app

For example, out-of-the-box components can be copied as-is:

image

it will produce

image

@imfing imfing linked an issue Feb 18, 2024 that may be closed by this pull request
Copy link

netlify bot commented Feb 18, 2024

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit 81f5f3e
🔍 Latest deploy log https://app.netlify.com/sites/hugo-hextra/deploys/65d52ce796e3c90008d6da99
😎 Deploy Preview https://deploy-preview-300--hugo-hextra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@imfing imfing merged commit 5c7303b into main Feb 20, 2024
4 checks passed
@imfing imfing deleted the 299-make-custom-tailwind-css-work branch February 20, 2024 22:59
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.

Make custom Tailwind CSS work
1 participant