md-date-time-picker icon indicating copy to clipboard operation
md-date-time-picker copied to clipboard

Support reading project global theme

Open schang933 opened this issue 9 years ago • 2 comments

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;

schang933 avatar Aug 14 '16 19:08 schang933

Thanks @schang933 can you send a pr it will be merged

puranjayjain avatar Aug 15 '16 02:08 puranjayjain

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                                                                          

im-n1 avatar Jun 11 '20 09:06 im-n1