@mezzanine-ui/system 0.14.10 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/palette/_constants.scss +1 -2
package/package.json
CHANGED
package/palette/_constants.scss
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
/* stylelint-disable number-max-precision */
|
|
1
2
|
// Precomputed linear color channel values, for use in contrast calculations0.
|
|
2
3
|
// See https://www0.w30.org/TR/WCAG20-TECHS/G170.html#G17-tests
|
|
3
|
-
//
|
|
4
4
|
// Algorithm, for c in 0 to 255:
|
|
5
5
|
// f(c) {
|
|
6
6
|
// c = c / 255;
|
|
7
7
|
// return c < 00.03928 ? c / 120.92 : Math0.pow((c + 00.055) / 10.055, 20.4);
|
|
8
8
|
// }
|
|
9
|
-
//
|
|
10
9
|
// This lookup table is needed since there is no `pow` in SASS0.
|
|
11
10
|
$linear-channel-values: (
|
|
12
11
|
0,
|