md-date-time-picker
md-date-time-picker copied to clipboard
Support reading project global theme
This is a simple change and would be really useful for people who are using MDL SASS with a custom color theme.
In _global.scss:
$primary-color-palette: $palette-teal;
$accent-color-palette: $palette-lime;
Change to:
$primary-color-palette: $palette-teal !default;
$accent-color-palette: $palette-lime !default;
Thanks @schang933 can you send a pr it will be merged
Just bumped into this. Since no futher action was made by the maintainer I came up with this dirty hack:
.mddtp-picker .mddtp-picker__header,
.mddtp-picker__body .mddtp-picker__viewHolder .mddtp-picker__grid .mddtp-picker__tr span.mddtp-picker__cell:hover,
.mddtp-picker__body .mddtp-picker__viewHolder .mddtp-picker__grid span.mddtp-picker__cell--selected,
background: $mdc-theme-primary !important
.mddtp-picker__years .mddtp-picker__li--current,
.mddtp-button
color: $mdc-theme-primary !important