I've gone through material.angular.io documentation on build a custom theme & I tried to created a custom theme for overridding the form controls like Md input textbox, text area, md-select, checkbox, radiobutton controls using custom_theme.scss file which has overriding styles for these input controls.
.mat-select-trigger {
font-size: 12px;
min-width: 200px;
}
similarly for other form controls to override color, font styles that comes with indigo-pink pre-built theme but it seems my styles are not getting applied.
I've loaded my theme in .angular-cli.json file as below:
"styles": [
"styles.css",
"custom-theme.scss"
]
& prebuilt theme of angular material-2.0.0-beta.8 is placed in styles.css..
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
I don't see any elaborated documentation or tutorial for overwriting the form control styles defined in Material pre-built theme.
do i need to remove reference of indigo-pink pre-built theme in styles.css by taking a copy of pre-built theme styles into custom-theme.scss and override as per my need?? or Could you please advise any other alternative?