| [9af201e] | 1 | # Changes to PostCSS OKLab Function
|
|---|
| 2 |
|
|---|
| 3 | ### 1.1.1 (July 8, 2022)
|
|---|
| 4 |
|
|---|
| 5 | - Fix case insensitive matching.
|
|---|
| 6 |
|
|---|
| 7 | ### 1.1.0 (April 4, 2022)
|
|---|
| 8 |
|
|---|
| 9 | - Allow percentage and number units in more color components.
|
|---|
| 10 |
|
|---|
| 11 | ```css
|
|---|
| 12 | .percentages {
|
|---|
| 13 | color-1: oklab(40% 0.309% 0.975%);
|
|---|
| 14 | color-2: oklch(40% 31.718385875% 34.568626);
|
|---|
| 15 |
|
|---|
| 16 | /* becomes */
|
|---|
| 17 |
|
|---|
| 18 | color-1: rgb(73, 71, 69);
|
|---|
| 19 | color-1: color(display-p3 0.28515 0.27983 0.27246);
|
|---|
| 20 | color-2: rgb(126, 37, 15);
|
|---|
| 21 | color-2: color(display-p3 0.45368 0.16978 0.09411);
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | .numbers {
|
|---|
| 25 | color-1: oklab(0.40 0.001236 0.0039);
|
|---|
| 26 | color-2: oklch(0.40 0.1268735435 34.568626);
|
|---|
| 27 |
|
|---|
| 28 | /* becomes */
|
|---|
| 29 |
|
|---|
| 30 | color-1: rgb(73, 71, 69);
|
|---|
| 31 | color-1: color(display-p3 0.28515 0.27983 0.27246);
|
|---|
| 32 | color-2: rgb(126, 37, 15);
|
|---|
| 33 | color-2: color(display-p3 0.45368 0.16978 0.09411);
|
|---|
| 34 | }
|
|---|
| 35 | ```
|
|---|
| 36 |
|
|---|
| 37 | ### 1.0.2 (March 8, 2022)
|
|---|
| 38 |
|
|---|
| 39 | - Fix gamut mapping giving overly unsaturated colors.
|
|---|
| 40 | - Implement powerless color components in gamut mapping.
|
|---|
| 41 |
|
|---|
| 42 | ### 1.0.1 (February 12, 2022)
|
|---|
| 43 |
|
|---|
| 44 | - Updated `@csstools/postcss-progressive-custom-properties` to `1.1.0`.
|
|---|
| 45 |
|
|---|
| 46 | ### 1.0.0 (February 11, 2022)
|
|---|
| 47 |
|
|---|
| 48 | - Initial version
|
|---|