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

Cascade layers #1712

Merged
merged 9 commits into from
Oct 11, 2024
Merged

Cascade layers #1712

merged 9 commits into from
Oct 11, 2024

Conversation

hasparus
Copy link
Collaborator

@hasparus hasparus commented Oct 9, 2024

Imported Nextra and Tailwind styles into new layers and refactored code that needed extra CSS specificity before.

Copy link

changeset-bot bot commented Oct 9, 2024

⚠️ No Changeset found

Latest commit: 33b9f16

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Oct 9, 2024

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@theguild/components 7.0.0-alpha-20241011172058-33b9f16e93a282e39112338a62ae24a44f613a83 npm ↗︎ unpkg ↗︎


@import 'tailwindcss/base' layer(l-base);
@import 'nextra-theme-docs/dist/style.css' layer(l-nextra);
@import 'tailwindcss/components' layer(l-components);
@import 'tailwindcss/utilities';
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've left tailwindcss/uitilities in the implicit layer, so the utility classes in React code can override any code in .css files with normal specificity like they do currently.

Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
@hasparus hasparus merged commit 3eb4ced into nextra-search-results Oct 11, 2024
3 of 5 checks passed
@hasparus hasparus deleted the cascade-layers branch October 11, 2024 17:28
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