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

Refactor some screen compatibility code #14465

Merged
merged 3 commits into from
Sep 20, 2024
Merged

Conversation

thecrypticace
Copy link
Contributor

These changes were extracted from our work on a screen() function for CSS — we've decided to move those changes to a code mod instead of implementing support for screen() in the compiler — but the refactoring around the changes still makes sense to do so I'm landing that here separately.

thecrypticace and others added 3 commits September 18, 2024 15:41
This will ensure that a breakpoint defined with an object like `lg: { min: "1280px" }` will also support `max-lg:*`
Copy link
Member

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

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

Ah, yep, thanks!

@thecrypticace thecrypticace merged commit 4e129be into next Sep 20, 2024
3 of 6 checks passed
@thecrypticace thecrypticace deleted the feat/v4-screen-refactoring branch September 20, 2024 13:42
adamwathan pushed a commit that referenced this pull request Sep 20, 2024
These changes were extracted from our work on a `screen()` function for
CSS — we've decided to move those changes to a code mod instead of
implementing support for `screen()` in the compiler — but the
refactoring around the changes still makes sense to do so I'm landing
that here separately.

---------

Co-authored-by: Philipp Spiess <hello@philippspiess.com>
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