material icon indicating copy to clipboard operation
material copied to clipboard

md-datepicker: change background color

Open vsrboth opened this issue 10 years ago • 3 comments

First, sorry for my created issue is you guys feel like this is nonsense (bow).

Anyway, I am encountering with md-datepicker background color. Do you think the background color would rather be able to change according to the design layout. Kindly find the following screenshot:

screen shot 2015-12-08 at 9 38 18 am

Thanks a lot and hope to hear from you all soon :)

vsrboth avatar Dec 08 '15 02:12 vsrboth

+1

I think just killing the explicit white background should be good enough hopefully

gbaj avatar Dec 08 '15 17:12 gbaj

@gbaj I did as your suggestion and it won't work. More problems still exist; for ex, the icon color is dark gray, therefore, the date picker will look even darker.

vsrboth avatar Dec 09 '15 06:12 vsrboth

The background color is currently based on the theme. By default, the theme's background color is white. You should be able to override it by:

md-datepicker.md-THEME_NAME-theme {
  background: magenta;
}

Where THEME_NAME is the name of your theme, or default if you're using the default.

jelbourn avatar Jan 05 '16 23:01 jelbourn