-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsdocsThis issue is related to documentationThis issue is related to documentationhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue
Description
Bug, feature request, or proposal:
proposal: Improve documentation for theming
What is the expected behavior?
I find all informations i need in the material documentation regarding the theming feature, especially for custom components.
What is the current behavior?
I don't find all informations i need. Some examples
- how do i use the correct contrast value to a corresponding value of a palette? I only know
color: mat-color($app-primary, default-contrast)
but when i use
background-color: mat-color($app-primary, 50)
and the default-contrast is white, i have white text on a bright background - how to theme existing components in depth
- how to theme a input if i use it in the toolbar (default input is black, this often doesn't fit in a toolbar)
- best practices how to structure theming in the project
- best practice: what should go in my theme.scss, what belongs to a component.css, what in the styles.(s)css?
Thanks.
yinonov
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsdocsThis issue is related to documentationThis issue is related to documentationhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue