It is really difficult to override default styles that comes from the toolkit. I observed that the main reason is that, within the final HTML, the styles from the toolkit comes after the style tags that includes a project's own CSS files. For example, in my dev environment the contents of head tag is like the following:
As these styles come after the bundle, the only way to override them is to increase the specificity of selectors used within projects. For example, in order to override the display property of .button styles, I did the following hack in my project:
It is really difficult to override default styles that comes from the toolkit. I observed that the main reason is that, within the final HTML, the styles from the toolkit comes after the style tags that includes a project's own CSS files. For example, in my dev environment the contents of head tag is like the following:
Same with the released build:
As these styles come after the bundle, the only way to override them is to increase the specificity of selectors used within projects. For example, in order to override the display property of
.button
styles, I did the following hack in my project: