Materialize: Change colors for blockquote, forms etc...

Created on 25 Jul 2015  路  3Comments  路  Source: Dogfalo/materialize

Hey,

the blockquote element is by default red and the forms are teal by default. I didn't find a way to override it with classes. Is that planned for the future?

Phillipp

Most helpful comment

That's a good question, I guess for now you could do something like: http://codepen.io/anon/pen/eNPVNe
For now I think the only way to change colour defaults is using sass: http://materializecss.com/sass.html
For the form themselves, there is more info in the section "Changing colors" in http://materializecss.com/forms.html

All 3 comments

That's a good question, I guess for now you could do something like: http://codepen.io/anon/pen/eNPVNe
For now I think the only way to change colour defaults is using sass: http://materializecss.com/sass.html
For the form themselves, there is more info in the section "Changing colors" in http://materializecss.com/forms.html

Yeah that could be a hotfix. Have my two colors in a config file so i can change the colors on the whole page by editing my config file. So it would be cool for the future to controll even blockquotes, forms and so on via classes.

You won't be able to override it with any prepackaged classes, but you can use Sass to change all the variables to your liking

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Robouste picture Robouste  路  3Comments

acierpinski picture acierpinski  路  3Comments

ruslandzhumaev picture ruslandzhumaev  路  3Comments

SoproniOli713 picture SoproniOli713  路  3Comments

onigetoc picture onigetoc  路  3Comments