angular / angular/components

feat(theming): dark theme elevation helpers don't match material spec for elevation behavior

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

説明

#### Feature Description

The material spec for elevation with dark theme (https://material.io/design/color/dark-theme.html#properties), says that elevation should be reflected by an increased lightening of the surface color (by applying more and more opaque white overlays to a base surface color), rather than using drop shadow alone to reflect elevation (since that's not reliable when you have dark surface backgrounds). This request is to have the mat-elevation-z# classes and elevation mixins implement this lightening behavior from the spec, rather than only using drop shadow like it does for light theme.

![image](https://user-images.githubusercontent.com/8071845/130947718-e2edd080-6b91-4237-9f2a-a66f0a00aa5d.png)

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

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

調査の方向性

Start by locating the mat-elevation-z# classes and elevation mixins in the theming implementation, then compare their dark-theme behavior with the linked Material spec. Done means dark-theme elevation reflects increasing surface lightening through the specified overlays rather than relying only on drop shadows; no specific files or tests are named in the issue.

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

評価

技術スタック
angular, typescript
領域
design, frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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