aboutsummaryrefslogtreecommitdiff
path: root/scss/_functions.scss
AgeCommit message (Collapse)AuthorFilesLines
2021-09-15More concise improvements for `add()` and `subtract()` (#34432)Gaël Poupard1-12/+0
2021-09-08Replace Sass division with multiplication and custom divide() functionMark Otto1-1/+43
Fixes #34353. Co-Authored-By: Slaven Tomac <[email protected]>
2021-07-21Handle complex expressions in add() & subtract() (#34047)Gaël Poupard1-0/+16
2020-09-21Add a comment for escape-svg functionMark Otto1-0/+3
Closes #30835 by leaving a comment in the source that the escape-svg() function must have quotes around data URIs. (cherry picked from commit 849fea5a1ec6a2c39451fefb21a70c6dc9ceac42)
2020-04-28feat: checks for `$grid-breakpoints` map list (#30609)Catalin Zalog1-4/+6
Co-authored-by: Martijn Cuppens <[email protected]>
2020-01-02Escape brackets (#29857)Martijn Cuppens1-1/+6
Co-authored-by: XhmikosR <[email protected]>
2019-11-28Fix dart Sass compatibility for subtract (#29763)Shohei Yoshida1-1/+1
2019-11-28Fix dart Sass compatibility (#29755)Martijn Cuppens1-1/+1
2019-11-01Add add and subtract functionysds1-0/+37
2019-07-30Backport "Use escape-svg() function (#29077)"Martijn Cuppens1-0/+11
Adapted for v4-dev.
2019-03-08disable assert assending check if the previous unit was a percentual value ↵mspae1-1/+1
(#28400)
2019-02-07Add map-name param to _assert-starts-at-zero (#24986)Zachary Welch1-3/+3
* Add map-name param to _assert-starts-at-zero * Set default value for backwards compatibility
2018-10-21feature/yiq function, add parameters, with default values. (#26917)Andrey1-3/+3
2018-09-02Ignore percentage values for compare in mapsRoman O1-1/+1
2018-07-09correct spelling errors (#26837)Andrew1-1/+1
2018-01-21Use variables for theme-color-level functionMark Otto1-1/+1
Closes #25313
2017-12-01Adds variable for color yiq threshold (#24886)Andres Galante1-1/+1
2017-11-15Correct spelling mistakes. (#24778)Edward Betts1-1/+1
2017-10-22add vars for yiq color contrast functionMark Otto1-2/+2
2017-10-04Merge branch 'v4-dev' into yiq-function-updateGijs Boddeus1-6/+2
2017-09-26Improve theme-color-level() using abs() (#24074)schwastek1-6/+2
`abs()` gets the absolute value of `$level`. That way, `if/else` statement can be completely eliminated.
2017-09-13modified the yiq to to an actual functiongijsbotje1-3/+3
function only returns a value, not the attribute itself updated every use of the former mixin to use the new function
2017-08-21Rename grayscale function to grayMark Otto1-1/+1
2017-06-29add map function for graysMark Otto1-0/+4
2017-06-25add theme-color-level function and interval so we can generate shades of colorsMark Otto1-0/+14
2017-06-25modify contrast valueMark Otto1-1/+1
2017-06-15add color contrast and map-get functionsMark Otto1-0/+23
2017-06-14rearrange, add commentsMark Otto1-8/+18
2017-06-14Move scss functions from top of variables to separate file, then import it ↵Mark Otto1-0/+39
into other build files