-
Notifications
You must be signed in to change notification settings - Fork 27
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
respect current color palette #16
Comments
yeah I know it's been reported before in #13, but the solution of md-date-time-picker is not a good one imo because he's copying the files from mdl into his library, so he will need to manually update after every release...
|
mh ive seen you have some hard dependeny on bower, im using npm only here... what whould a |
by setting it before calling the |
mh yes this might work, so the hard dependency on bower would be removed? @import "../../bower_components/material-design-lite/src/variables";
@import "../../bower_components/material-design-lite/src/mixins"; |
yes this would be transformed to:
I haven't tested it but this should work |
but im already doing it this way: import 'material-design-lite/dist/material.light_green-green.min.css'
import 'material-design-lite/material';
import 'mdl-selectfield/src/selectfield/selectfield';
import 'mdl-selectfield/src/selectfield/selectfield.scss'; i modified your scss: @import "~material-design-lite/src/variables";
@import "~material-design-lite/src/mixins"; but its still blue and not green |
i guess its a problem of mixing |
I am missing a lot of info on what you are doing, but shouldn't you add color classes to the select field instead? I though you changed some scss variables that were not picked up |
currently the library doenst respect the choosen color palette (uses the default). it would be great if this library can respect that. this extra library can handle it https://github.com/puranjayjain/md-date-time-picker maybe you can get some inspiration from their solution
The text was updated successfully, but these errors were encountered: