angular / angular/components

docs-bug(elevation): No documentation for how to change shadow colour for elevation

オープン
#29,519 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: theming docs P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

### Documentation Feedback

The current documentation does not provide sufficient documentation for how to change the shadow colour (possibly more relevant with dark themes).

I have found the [original commits for the feature](https://github.com/angular/components/issues/11343), so I know it is achievable, but I could not find enough documentation to implement it myself. My attempts can be seen at [this Stack Blitz](https://stackblitz.com/edit/material-shadow-demo?file=src%2Fglobal_styles.scss).

I'm selfishly just wanting to know how to implement the feature, but I'm also willing to update the documentation if that would be of assistance.

Thank you all for your work - Angular Material is great.

### Affected documentation page

https://material.angular.io/guide/elevation#overridable-elevation

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

material.angular.io/guide/elevation#overridable-elevation の影響を受けるページから始め、元の機能 issue 11343 を確認してください。リンクされている StackBlitz を使って、シャドウの色に関する不足しているガイダンスを理解し、その後、再現可能な手順を含むように elevation のドキュメントを更新し、ダークテーマのユースケースがカバーされていることを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
documentation
issue の種類
ドキュメント
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。