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

feat(multiple): token overrides api #28910

Merged
merged 3 commits into from
Apr 22, 2024
Merged

Conversation

wagnermaciel
Copy link
Contributor

  • Roll out the overrides api to provide users with a well-lit path for overriding our css variables.

@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Apr 18, 2024
* Roll out the overrides api to provide users with a well-lit path for overriding our css
  variables.
@@ -55,6 +55,13 @@
}
}

@mixin overrides($tokens: ()) {
Copy link
Member

Choose a reason for hiding this comment

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

  1. We should expose these in the _index.scss, otherwise they're not usable.
  2. Should we document this somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added the mixins to _index.scss. I can add a section on our theming.md, but should that be done in a follow-up PR or as part of this PR?

Copy link
Member

Choose a reason for hiding this comment

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

I'm fine with doing the docs in a follow-up.

@wagnermaciel wagnermaciel linked an issue Apr 22, 2024 that may be closed by this pull request
@wagnermaciel wagnermaciel added target: major This PR is targeted for the next major release action: merge The PR is ready for merge by the caretaker labels Apr 22, 2024
@wagnermaciel wagnermaciel removed the request for review from andrewseguin April 22, 2024 21:11
@wagnermaciel wagnermaciel merged commit 4719da2 into angular:main Apr 22, 2024
26 of 28 checks passed
@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 May 23, 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 target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(material/theming): fine-grain token override
2 participants