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
Improve material color and fonts #259
Comments
should this replace the current |
To get the font color we could use this:
|
It shouldnt replace it but maybe could be merged to complete variations mixin. My function doesnt cover transparent background case. (About contrast) Interesting function. Didnt know it. It is a great solution for text color, anyway could be interesting to have 14 variations of each material colors. |
yes in fact it would be a great improvement. Let me try to figure out what we need and we can proceed with a PR |
Just some thing to follow:
If you need any help please let me know and I'll try to help you. |
@korgan00 are you still available for a PR or should I write it by myself? |
Im a bit busy. But if u dont hurry i could do it in weekend. Ill use free time on it |
okay thanks, I'm preparing an updated list of material colors (the one you have used is outdated), I'll release it in some minutes. |
Ok!! Thx! I will try to do something today! |
great :) |
I have an aproximation in my repository: https://github.com/korgan00/bootstrap-material-design/tree/material-colors-implementation |
wow! looks neat! Now we miss the modification for the .variations mixin, we need it to just set the color of the specified attribute. After that I'll try to optimize the current LESS source so that the compiled CSS has better performances. This mixin is awesome :) Thanks! |
I think mixin is complete. |
yes the navbar CSS sucks... |
Hi, i didnt see the best way to fix that without changing many things, We can build something like the
A function should be passed as parameter. That funcion scope can use a set of variables to define every thing that depends on the material. Waiting for ur answer. Tell me what should i do, i dont want to do same work as you 😃 |
ping @korgan00 Any update on this? We need just to fix the navbar to release this awesome improvement :( |
I was working yesterday on it. And i found new problems... xD. I will try to fit everything , optimize weight a bit and push to my repository this evening if its possible (in about 9 or 10 hours) so you can see the new mixin file and how it should be applyed. |
Here an example: http://codepen.io/FezVrasta/pen/zxBjvM Note that I use auto prefixer, the same tool used on this project to add vendor specific prefixes. |
i tryed that but it doesnt work for me. i will commit so u can try it, may be i am clumsy :P. |
i just see whats the problem!!!! |
ok, there is another problem, i think welljumbo is overdefined and make conflict with deeper elements. Well jumbo defines inputs inside him... a input should be autodefined i think... |
I was using your library to create a web. It main color is orange.
I was looking at oranges at material design in google page and some colors convinced me.
When i used it with the library i noticed that "Orange" color and "Amber" color uses a light font color (darkbg-text) and Google material oficial uses a dark font color (lightbg-text). It is a bit unreadable,
I was thinking on a solution looking at current code.
I dont know so much about less but i think that something like this could work:
In "_mixins.less":
In "_variables.less" where red, pink, purple... are:
and so on...
Then
.background-variations(@extra)
should be called on each element with a non transparent background.It will compile? should i add something else to get it working? should i finish the work and make a pull request?
Sorry if u cant understand something. I dont speak a very good english.
Thanks for reading!
The text was updated successfully, but these errors were encountered: