angular / angular/components

docs-bug(all): Add doc for mixins

未关闭
#30,240 2 条评论 8 个 reaction 已指派 0 人 在 GitHub 查看
area: dev-infra area: material.angular.io docs P3
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

### Documentation Feedback

Add documentation for all the mixins and explain what they are used for and what the parameters are. This includes:
- Component mixins (examples: mat.button-theme, mat.button-color, mat.button-typography, mat.button-density, ...). I think this should be documented under the new styling tab on each component page. For now, there is only the new `overrides` mixin.
- Global mixins (examples: mat.get-theme-color, mat.define-theme, mat.core, mat.theme, mat.elevation-classes, mat.app-background, ...).

### Affected documentation page

https://material.angular.io/components/categories

贡献指南

打开贡献指南

调研方向

从 material.angular.io/components/categories 上受影响的文档页面开始,查看现有的组件样式文档,尤其是新的样式选项卡和 overrides mixin。盘点 issue 中列出的组件 mixin 和全局 mixin,然后确定每个 mixin 针对其用途和参数所需的文档;相关 mixin 在其预期的组件位置或全局位置完成文档记录即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
documentation
Issue 类型
文档
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。