-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Replace auto and fade variables #1448
Conversation
🦋 Changeset detectedLatest commit: 1d48bb3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Since the v2 variables are not available yet
This should not be needed anymore.
Spoke with @simurai but I think we can use v2 here with the fallback. Will fix the stylelint in this PR. |
This reverts commit cc620b9.
This replaces/aliases all
auto
andfade
variables in preparation for V2.Initially I tried to use the new V2 variables with a fallback, like
var(--color-v2, var(--color-v1))
. But unlike on dotcom where we can load a separate CSS bundle, in Primer CSS I don't think we have that mechanism. So this PR tries to replace thefade
+auto
variables with existing V1 variables.