Commit Graph

10 Commits

Author SHA1 Message Date
Gijs Boddeus 263190305e Merge branch 'v4-dev' into yiq-function-update 2017-10-04 08:46:03 +02:00
schwastek 17fd2c9f84 Improve theme-color-level() using abs() (#24074)
`abs()` gets the absolute value of `$level`.
That way, `if/else` statement can be completely eliminated.
2017-09-26 15:05:59 +03:00
gijsbotje cc092272ee modified the yiq to to an actual function
function only returns a value, not the attribute itself
updated every use of the former mixin to use the new function
2017-09-13 17:32:44 +02:00
Mark Otto bd3ca58c08 Rename grayscale function to gray 2017-08-21 13:55:25 -07:00
Mark Otto a21a9f341b add map function for grays 2017-06-29 23:06:46 -07:00
Mark Otto 6c595d2cc1 add theme-color-level function and interval so we can generate shades of colors 2017-06-25 18:31:03 -07:00
Mark Otto 370e299c6b modify contrast value 2017-06-25 18:11:16 -07:00
Mark Otto c31d524998 add color contrast and map-get functions 2017-06-15 11:15:48 -07:00
Mark Otto ac96ecbec5 rearrange, add comments 2017-06-14 20:55:00 -07:00
Mark Otto 5da5a38f0d Move scss functions from top of variables to separate file, then import it into other build files 2017-06-14 20:55:00 -07:00