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

Implement extend-theme functions for each component & overhaul override mixins to match behavior #29275

Closed
wants to merge 5 commits into from

Conversation

mmalerba
Copy link
Contributor

No description provided.

@mmalerba mmalerba added the target: minor This PR is targeted for the next minor release label Jun 17, 2024
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Jun 17, 2024
src/material/core/tokens/_token-utils.scss Outdated Show resolved Hide resolved
src/material/core/tokens/_token-utils.scss Outdated Show resolved Hide resolved
@mmalerba mmalerba changed the title feat(material/theming): extend-theme sass function feat(material/theming): Add <component>-extend-theme sass functions Jun 18, 2024
@mmalerba mmalerba force-pushed the extend-theme branch 3 times, most recently from b6e4fba to 7ce26a8 Compare June 28, 2024 00:16
@mmalerba mmalerba added the merge: preserve commits When the PR is merged, a rebase and merge should be performed label Jun 28, 2024
@mmalerba mmalerba changed the title feat(material/theming): Add <component>-extend-theme sass functions Implement extend-theme functions for each component & overhaul override mixins to match behavior Jun 28, 2024
@mmalerba mmalerba added target: major This PR is targeted for the next major release and removed target: minor This PR is targeted for the next minor release labels Jun 28, 2024
@mmalerba mmalerba force-pushed the extend-theme branch 5 times, most recently from d450944 to 76e337a Compare June 30, 2024 05:12
@mmalerba mmalerba added this to the 19.0.0 milestone Jun 30, 2024
@mmalerba mmalerba marked this pull request as ready for review June 30, 2024 05:21
@mmalerba mmalerba requested a review from a team as a code owner June 30, 2024 05:21
@mmalerba mmalerba requested review from crisbeto and amysorto and removed request for a team June 30, 2024 05:21
@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label Jul 2, 2024
@mmalerba mmalerba force-pushed the extend-theme branch 2 times, most recently from 361cb9b to cc82e87 Compare July 2, 2024 21:17
wagnermaciel and others added 5 commits August 6, 2024 17:08
Initial commit, adds shared logic for appling overrides without
validation of the given tokens.
Adds validation to the shared extend-theme logic along with tests to
verify its behavior.
Adds the individual extend-theme functions for each component that
delegate to the shared logic.
…nctions

Adds a test to validate that the individual extend-theme functions do
not have issues with unhandled overlapping short token names, and fixes
issues that were uncovered.
…ions

Avoids token name collisions between namespaces by assigning string
prefixes to token in namespaces that would otherwise have a collision
@mmalerba
Copy link
Contributor Author

mmalerba commented Aug 7, 2024

Per the team meeting discussion, we've decided to shelve this for now while we take a more holistic look at our theming system overall

@mmalerba mmalerba closed this Aug 7, 2024
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2024
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 merge: preserve commits When the PR is merged, a rebase and merge should be performed target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants