-
Notifications
You must be signed in to change notification settings - Fork 3.4k
colors and hues should be available everywhere. #1269
Comments
I took my solution from #537. and rewrote it a bit so it will work with the new $mdThemingProvider. This will serve my needs for now, but it still feels awkward that I have to go trough those lengths just to be able to get my hands on the selected color palette. |
Sander, I share your feelings, your concerns... and your solution ! Thanks a lot |
@iRouge I began to believe I was to only one ;) |
@SanderElias - I think we should include a version of your colors.js and publish a service |
@ThomasBurleson I would like that! Should I add support for md-hue-x and so on too? |
@SanderElias - let's start with a simple, clean API for the initial work. |
I believe I have a pretty solution for color lookups: checkout my plunkr: http://plnkr.co/edit/gBDV2ABghTMqqs5YaElB?p=preview |
@marcysutton I'm preparing an PR, as it looks now, I will be done by the end of the day. |
A service to create css rules for foreground and background colors a talked about in angular#1269
- added directive and documentation fixes #1269
- added directive and documentation - added tests - added smart watch option, when the directive recognize at least one of it's values needs interpolation it starts to watch it fixes #1269
- added directive and documentation - added tests - added smart watch option, when the directive recognize at least one of it's values needs interpolation it starts to watch it fixes #1269
- added directive and documentation - added tests - added smart watch option, when the directive recognize at least one of it's values needs interpolation it starts to watch it fixes #1269
+1 |
… on any element - directive and documentation - service and documentation - tests - smart watch option, when the directive recognize at least one of it's values needs interpolation it starts to watch it - mdColorsWatch - when set to false the directive doesn't watch for changes fixes #1269
… on any element - directive and documentation - service and documentation - tests - smart watch option, when the directive recognize at least one of it's values needs interpolation it starts to watch it - mdColorsWatch - when set to false the directive doesn't watch for changes fixes #1269
+1 |
2 similar comments
+1 |
+1 |
… on any element - directive and documentation - service and documentation - tests - smart watch option, when the directive recognize at least one of it's values needs interpolation it starts to watch it - mdColorsWatch - when set to false the directive doesn't watch for changes fixes #1269
… on any element - directive and documentation - service and documentation - tests - smart watch option, when the directive recognize at least one of it's values needs interpolation it starts to watch it - mdColorsWatch - when set to false the directive doesn't watch for changes - $mdColorUtil - aggregate color related utils - fixed theming scoping issue - THEME was defined globally which made it leak and changed for other modules fixes #1269
… on any element - directive and documentation - service and documentation - tests - smart watch option, when the directive recognize at least one of it's values needs interpolation it starts to watch it - mdColorsWatch - when set to false the directive doesn't watch for changes - $mdColorUtil - aggregate color related utils - fixed theming scoping issue - THEME was defined globally which made it leak and changed for other modules fixes #1269 Closes #7791
… on any element - directive and documentation - service and documentation - tests - smart watch option, when the directive recognize at least one of it's values needs interpolation it starts to watch it - mdColorsWatch - when set to false the directive doesn't watch for changes - when using `background` property the directive will seamlessly set the foreground color according the palette hue - $mdColorUtil - aggregate color related utils - fixed theming scoping issue - THEME was defined globally which made it leak and changed for other modules fixes #1269
… on any element - directive and documentation - service and documentation - tests - smart watch option, when the directive recognize at least one of it's values needs interpolation it starts to watch it - mdColorsWatch - when set to false the directive doesn't watch for changes - when using `background` property the directive will seamlessly set the foreground color according the palette hue - $mdColorUtil - aggregate color related utils - fixed theming scoping issue - THEME was defined globally which made it leak and changed for other modules fixes #1269
+1 |
@homerjam you can have this feature in 1.1.0-rc3 |
Thanks - just had to refresh the docs! 😊 |
The |
#8036 :) |
+1 |
@Rahul-giri this is already in, check here |
I created this sample on plunker to demonstrate a few issues I'm having with forms.
If you look at like 24 of index.html in my sample, you see there is a heading there. This heading is not visible in the page, because I don't know how to set the background color according to the current selected theme/colorpallete. I added an md-hue-1 to the class-list as well as an attribute, but it is not giving the result I need.
This is also mentioned in #537, but I still could not find a solution to it.
The text was updated successfully, but these errors were encountered: