我需要对NgbDatepicker中的颜色进行汇总。
在* .css中,我可以设置以下几天的text-color
:.input-group-append { color: green !important; }
但是,今天是白色的日子,其他一些事情却无法改变。
const now = new Date();
@Component({
selector: 'ngbd-datepicker-popup',
templateUrl: './datepicker-popup.html',
styleUrls: ['./datepicker-popup.css'],
providers: [I18n, {provide: NgbDatepickerI18n, useClass:
CustomDatepickerI18n}] // define custom NgbDatepickerI18n provider
})
export class NgbdDatepickerPopup {
showWeekNumbers = true;
autoClose = true;
minDate = {year: now.getFullYear(), month: now.getMonth() + 1, day:
......
}