color adaptation
ryhoo opened this issue · 3 comments
label has defined color. It remains blue if You change Your theme colours.
can you elaborate? some code or a plunkr? you can fork my example and show what you are trying to do, thanks
When You link Material Design Lite css You can choose custom colour set. Default is
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css" />
This makes changing Your "theme" very easy by changing css name to something like: blue-red.css
mdl-selectfield defines colour in its own css, so when I change my mdl colour set, I have to edit Your css manually.
Do You think it is possible to adapt colours of Your select field automatically, depending on current mdl css file?
Anyone wanting to change color of floating text, see this example.
https://codepen.io/anon/pen/zEQMNM
Added id="mystyle"
to label.
Added css: #mystyle {color: rgb(158, 158, 158);}