我一直试图将我的网站https://lavanoid.github.io移植到更“ Google Standard”,但确实令人沮丧(感谢Google,据我所知:/)未能很好地记录内容。
我一直在尝试将此模板设置为主题:https://github.com/google/material-design-lite/tree/master/templates/text-only,但进展不太顺利。我什至找不到如何更改颜色,这是最重要的部分。
因此,如何将紫色更改为#2196f3的十六进制值?
任何帮助将不胜感激。谢谢!
看起来您需要更改:
.mdl-color--primary {
background-color: #5e35b1 !important;
}
为此:
.mdl-color--primary {
background-color: #2196f3 !important;
}