-
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
docs-bug(ALL): Add Styling Instructions #28000
Comments
We have a separate guide page that describes how to theme our components: https://material.angular.io/guide/theming. If you are referring to the CSS variables, we are still in the process of refactoring the components to use CSS variables generated from MDC's design tokens. We will add further documentation about how to customize these once we have finished the refactoring and they are stable |
Hi @mmalerba, I've read the theming doc and it is helpful but incomplete. It doesn't describe all the themable options nor how to theme individual components. The relationship between the theme values and the CSS variables is also unclear. Each component has a lot of states (focus, hover, pressed...), but I don't see these documented anywhere either. All of this makes it difficult to customize how components appear. |
👍 It seems some aspects of theming are well-documented while others are missing. After exhausting the documentation, I've been digging through the repository trying to find out how to change |
@mmalerba i think it's a correct place to ask since you mentioned already design tokens implementation. Is there any chance you can give us some hint when can we expect it to be released? Highly anticipated feature by angular devs since v.17 release. Anyway wish you luck and inspiration in the work, thanks. |
I also find the documentation incomplete on how to style each components with Material 3. IMO the component page (example: https://material.angular.io/components/button) lacks at least:
Is that what you also wanted @thatcort ? Please complete if needed. |
@martinboue That's a good list. Only thing I'd add to it is:
|
With Angular Material v19 this issue needs some update. Here are the things I think the documentation lacks;
|
I am closing this issue since the docs now has a |
I have created a doc issue about this: #30240 |
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. |
Documentation Feedback
Please add instructions for how to theme and style the components. As a start, please describe the CSS properties that apply to each component, what they do, and their default values. Please describe how styles are inherited from theming (or not) and how to best customize them.
Affected documentation page
ALL
The text was updated successfully, but these errors were encountered: