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

Use the modern range notation for media queries #3406

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

Conversation

JulianNymark
Copy link
Contributor

internal tooling PR

Since we use lightningCSS to transpile anyways, I think we should use the modern syntax as it's much easier to reason about imo. (less 🧠 required, I always mix up what min-width means in the media query == does that apply when above the threshold or below it?)

Copy link

changeset-bot bot commented Nov 26, 2024

⚠️ No Changeset found

Latest commit: 4bf8d9c

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

Storybook demo

2c1a85c48 | 91 komponenter | 135 stories

@KenAJoh
Copy link
Collaborator

KenAJoh commented Nov 26, 2024

Nice 💅 While a nice improvement, i think it would make sense to set this PR "on hold" until we have the other darkside PRs merged. Merging this now would lead to quite a few merge-conflicts, so easier to implement after the fact 🤞

@KenAJoh KenAJoh added the On hold ⏸️ PR is on hold, no need for review yet! label Nov 27, 2024
@JulianNymark
Copy link
Contributor Author

Couldn't find a good stylelint rule for it (maybe the attribute blacklist), but it would be nice to prefer the shorthand background to background-color too 🤔 (this rule's not that big of a deal).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On hold ⏸️ PR is on hold, no need for review yet!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants