owsolutions / amazing-time-picker

Timepicker (Clock Picker) for Angular 2, Angular 4 and Angular 5, Angular 6, Angular 7 - Compatible with Angular Material
138 stars 76 forks source link

How to customize the css of this library #142

Open vineethma opened 4 years ago

vineethma commented 4 years ago

Can some one help me to customize the css of this module. I have to change the button text, header color matching to application theme etc.

zasuh commented 4 years ago

You can change the button text using .open({ preferences: { labels: { ok: 'Text for ok', cancel: 'Text for cancel' }} }). To change the css you first target #time-picker and then go from there.