angular / angular/components

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

Abierto
#23,457 10 comentarios 2 reacciones 0 asignados Ver en GitHub
area: theming feature material spec P4
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

#### 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)

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
design, frontend
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.