Skip to content

Latest commit

 

History

History
313 lines (187 loc) · 18.9 KB

File metadata and controls

313 lines (187 loc) · 18.9 KB

Changes to PostCSS OKLab Function

4.0.6

November 11, 2024

4.0.5

November 1, 2024

4.0.4

October 23, 2024

4.0.3

October 10, 2024

4.0.2

August 18, 2024

4.0.1

August 14, 2024

4.0.0

August 3, 2024

3.0.19

July 7, 2024

3.0.18

July 6, 2024

3.0.17

June 29, 2024

3.0.16

May 4, 2024

3.0.15

May 4, 2024

3.0.14

April 21, 2024

3.0.13

March 31, 2024

3.0.12

March 17, 2024

3.0.11

March 13, 2024

3.0.10

February 19, 2024

3.0.9

December 31, 2023

3.0.8

December 15, 2023

3.0.7

October 9, 2023

3.0.6

October 2, 2023

3.0.5

September 24, 2023

3.0.4

September 18, 2023

3.0.3

September 2, 2023

3.0.2

August 28, 2023

3.0.1

July 24, 2023

3.0.0

July 3, 2023

2.2.3

June 1, 2023

  • Updated @csstools/postcss-progressive-custom-properties to 2.3.0 (minor)

2.2.2

May 19, 2023

  • Ignore relative color syntax
  • Updated @csstools/postcss-progressive-custom-properties to 2.2.0 (minor)
  • Updated @csstools/css-color-parser to 1.2.0 (minor)

2.2.1

April 10, 2023

  • Updated @csstools/css-tokenizer to 2.1.1 (patch)
  • Updated @csstools/css-parser-algorithms to 2.1.1 (patch)
  • Updated @csstools/css-color-parser to 1.1.2 (patch)

2.2.0

March 25, 2023

  • Add @csstools/css-color-parser dependency for all color value transformations.
  • Add support for calc expressions in color components.
  • Skip color(display-p3 0 0 0) fallbacks when the color is already in the srgb gamut.

2.1.0

February 6, 2023

  • Add: @csstools/color-helpers dependency for all color value transformations.

2.0.1

January 28, 2023

  • Improve types declaration in package.json

2.0.0

January 24, 2023

  • Updated: Support for Node v14+ (major).

1.1.1

July 8, 2022

  • Fix case insensitive matching.

1.1.0

April 4, 2022

  • Allow percentage and number units in more color components.
.percentages {
	color-1: oklab(40% 0.309% 0.975%);
	color-2: oklch(40% 31.718385875% 34.568626);

	/* becomes */

	color-1: rgb(73, 71, 69);
	color-1: color(display-p3 0.28515 0.27983 0.27246);
	color-2: rgb(126, 37, 15);
	color-2: color(display-p3 0.45368 0.16978 0.09411);
}

.numbers {
	color-1: oklab(0.40 0.001236 0.0039);
	color-2: oklch(0.40 0.1268735435 34.568626);

	/* becomes */

	color-1: rgb(73, 71, 69);
	color-1: color(display-p3 0.28515 0.27983 0.27246);
	color-2: rgb(126, 37, 15);
	color-2: color(display-p3 0.45368 0.16978 0.09411);
}

1.0.2

March 8, 2022

  • Fix gamut mapping giving overly unsaturated colors.
  • Implement powerless color components in gamut mapping.

1.0.1

February 12, 2022

  • Updated @csstools/postcss-progressive-custom-properties to 1.1.0.

1.0.0

February 11, 2022

  • Initial version