components icon indicating copy to clipboard operation
components copied to clipboard

Datepicker comparison ranges uses substandard colors

Open Panossa opened this issue 4 months ago • 5 comments

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


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


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


Panossa avatar Aug 06 '25 21:08 Panossa

Hi, I’d love to work on this. Is it still available?

shubhamavhad96 avatar Aug 14 '25 22:08 shubhamavhad96

Hi, I’d love to work on this. Is it still available?

@shubhamavhad96 My fix isn’t fully correct, so feel free to take a look and make the necessary adjustments.

SZZhang0619 avatar Aug 28 '25 05:08 SZZhang0619

@shubhamavhad96 hi are u working on it ?

ahtishamkhan5678 avatar Oct 04 '25 16:10 ahtishamkhan5678

Can i take the issue? if no one is working on it currently?

bipinchaudhary28899 avatar Nov 14 '25 06:11 bipinchaudhary28899

@mmalerba /@panossa I raised a PR to fix this issue, please take a look and let me know: https://github.com/angular/components/pull/32366

teja2 avatar Nov 17 '25 23:11 teja2