Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

color adaptation #34

Open
ryhoo opened this issue May 19, 2017 · 3 comments
Open

color adaptation #34

ryhoo opened this issue May 19, 2017 · 3 comments

Comments

@ryhoo
Copy link

ryhoo commented May 19, 2017

label has defined color. It remains blue if You change Your theme colours.

@mebibou
Copy link
Owner

mebibou commented May 24, 2017

can you elaborate? some code or a plunkr? you can fork my example and show what you are trying to do, thanks

@ryhoo
Copy link
Author

ryhoo commented May 24, 2017

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?

@hutch120
Copy link

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);}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants