!function(){"use strict";function a(a,c,d,e,f){var g,h,i,j,k="default",l="default",m="primary",n={50:"50",100:"100",200:"200",300:"300",400:"400",500:"500",600:"600",700:"700",800:"800",A100:"A100",A200:"A200",A400:"A400",A700:"A700"},o={primary:"primary",accent:"accent",warn:"warn",background:"background"},p={"default":"default","hue-1":"hue-1","hue-2":"hue-2","hue-3":"hue-3"};return angular.forEach(e.split(" "),function(a,b){0===b&&"default"===a?k=a:o[a]?m=a:p[a]?l=a:n[a]&&(g=a)}),(h=d._THEMES[k])&&(j=h.colors[m])&&(g||(g=j.hues[l]),i=d._PALETTES[j.name][g])?void a.css(c,"rgb("+i.value[0]+","+i.value[1]+","+i.value[2]+")"):void b("%s='%s' bad or missing attributes",f,e)}function b(a,b,c){console.error(a,b,c),console.log('usage %s="[theme] intention [hue]"',b),console.log("acceptable intentions : primary,accent,warn,background"),console.log("acceptable hues       : default,hue-1,hue-2,hue-3")}angular.module("swapMdPaint",["ngMaterial"]).directive("swapMdPaintFg",function(b){return{restrict:"A",link:function(c,d,e){a(d,"color",b.themeColors,e.swapMdPaintFg,"swap-md-paint-fg")}}}).directive("swapMdPaintBg",function(b){return{restrict:"A",link:function(c,d,e){a(d,"background-color",b.themeColors,e.swapMdPaintBg,"swap-md-paint-bg")}}}).directive("swapMdPaintSvg",function(b){return{restrict:"A",link:function(c,d,e){a(d,"fill",b.themeColors,e.swapMdPaintSvg,"swap-md-paint-svg")}}}).provider("SwapMd",function(a){return{$get:function(){return{themeColors:a}}}})}();
@@ -300,16 +300,37 @@
 kground%22
+,foreground:%22primary%22
 %7D,p=%7B%22de
@@ -398,16 +398,17 @@
 -3%22%7D
-;return 
+,q=!1;if(
 angu
@@ -455,36 +455,51 @@
 ===b
-&&%22default%22===a?k=a:o%5Ba%5D?m=a
+?k=a:o%5Ba%5D?(%22foreground%22===a&&(q=!0),m=o%5Ba%5D)
 :p%5Ba
@@ -596,17 +596,55 @@
 ame%5D%5Bg%5D)
-?
+)%7Bvar r=i%5Bq?%22contrast%22:%22value%22%5D;return 
 void a.c
@@ -659,23 +659,17 @@
 b(%22+
-i.value
+r
 %5B0%5D+%22,%22+
 i.va
@@ -668,23 +668,17 @@
 %22,%22+
-i.value
+r
 %5B1%5D+%22,%22+
 i.va
@@ -677,23 +677,17 @@
 %22,%22+
-i.value
+r
 %5B2%5D+%22)%22)
 :voi
@@ -686,14 +686,9 @@
 %22)%22)
-:void 
+%7D
 b(%22%25
@@ -884,16 +884,27 @@
 ckground
+,foreground
 %22),conso

build next release