-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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(multiple): fallback to system level variables #29480
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
andrewseguin
force-pushed
the
theme-exp
branch
6 times, most recently
from
July 30, 2024 15:24
4901740
to
3f368a5
Compare
andrewseguin
changed the title
feat(multiple): experiment with system variables
feat(multiple): fallback to system level variables
Jul 30, 2024
andrewseguin
requested review from
crisbeto,
amysorto,
mmalerba and
wagnermaciel
and removed request for
a team
July 30, 2024 15:26
andrewseguin
force-pushed
the
theme-exp
branch
2 times, most recently
from
July 30, 2024 15:34
8c4b151
to
af430cf
Compare
andrewseguin
added
target: minor
This PR is targeted for the next minor release
target: patch
This PR is targeted for the next patch release
and removed
target: minor
This PR is targeted for the next minor release
labels
Jul 30, 2024
crisbeto
reviewed
Jul 30, 2024
crisbeto
approved these changes
Jul 30, 2024
wagnermaciel
approved these changes
Jul 30, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
amysorto
approved these changes
Jul 31, 2024
andrewseguin
added
target: minor
This PR is targeted for the next minor release
target: patch
This PR is targeted for the next patch release
and removed
target: patch
This PR is targeted for the next patch release
target: minor
This PR is targeted for the next minor release
labels
Jul 31, 2024
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
action: merge
The PR is ready for merge by the caretaker
detected: feature
PR contains a feature commit
target: patch
This PR is targeted for the next patch release
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduces a new
theme
API that takes the theme-config and emits system-level CSS variables. Component tokens will fallback to these system-level variables, removing the need to call component-specific mixins and setting fine-grained tokens.This
theme
API is not exposed, because hardcoded values still fallback to M2 values in some cases. This will need to be updated before this API can be used, but it will require updating a number of internal screenshots. This will be a follow-up change before addingtheme
to theindex.scss
.