angular / angular/components

Datepicker comparison ranges uses substandard colors

Open
#31,663 10 comments 0 reactions 0 assignees View on GitHub
area: material/datepicker area: theming docs good first issue help wanted P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

### Describe the problem that you experienced

Up until V17 (excl.) the Datepicker Docs showed clear distinctions between the primary and accent colors, which made the example at the "Date range picker comparison ranges" section valuable. However, starting with the V17 docs (up until and including the current version), Angular Material started using Material 3 and some of the default themes (especially Azure & Blue) now don't show much of a color distinction (if at all), making the example barely useful with that respective color scheme.

Maybe it gets better with Material 3 Expressive, but I don't have particularly high hopes. Also, older versions will always have a docs page, still.

### Enter the URL of the topic with the problem

https://material.angular.dev/components/datepicker/overview

### Describe what you were looking for in the documentation

_No response_

### Describe the actions that led you to experience the problem

_No response_

### Describe what you want to experience that would fix the problem

More distinction between primary and accent colors, or actually custom defined colors for this example.

### Add a screenshot if that helps illustrate the problem

Image

### If this problem caused an exception or error, please paste it here

```true

```

### If the problem is browser-specific, please specify the device, OS, browser, and version

```true

```

### Provide any additional information here in as much as detail as you can

```true

```

Contributor guide

Open the contributing guide

Research direction

Open the Date range picker comparison ranges section in the datepicker overview at material.angular.dev/components/datepicker/overview and compare the primary and accent colors across the current Material 3 themes, especially Azure and Blue. Trace the example's documentation and theme styling entry points, then verify that the two ranges are visibly distinct in the documented themes and that older-version documentation remains unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
design, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.