Skip to content

bug(mat-progress-bar): Buffer bar slightly lighter than expected  #22130

Closed
@infacto

Description

@infacto

Reproduction

  1. Visit the Material docs page: https://material.angular.io/components/progress-bar/overview
  2. Change the theme to dark.
  3. See that the mat-progress-bar has a fixed white background (blend with theme color).

Expected Behavior

The background should be transparent (semi opacity). Not fixed color white.

Actual Behavior

The background color is fixed white. It's 1. hard to see in dark mode. 2. Ugly in dark mode. 3. It violates Material Design.

https://material.io/components/progress-indicators
https://material.io/design/color/dark-theme.html

Get inspired by Vuetify Progress Bar

Demo

demo

As you can see, the background color is more prominent as the progress in dark mode. Not good...

Goal

Should look like:

goal

Environment

All you need is on the docs page. It's not related to my project.
Viewed in Chrome on Windows 10. Angular Material Version 11.2.2. (as you can see in the gif record).

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/progress-barmaterial specIssue related to the Material Design spec https://material.io/design/

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions