Skip to content

Releases: valtlai/postcss-color-image

v6.1.0

12 Dec 19:15
e29e8f3
Compare
Choose a tag to compare
  • Recognized light-dark(), AccentColor, AccentColorText, SelectedItem, and SelectedItemText as color values

v6.0.0

01 Nov 17:51
11087b5
Compare
Choose a tag to compare
  • BREAKING: Dropped support for Node.js 14 and 16, so Node.js 18 or greater is now supported.
  • Removed the ESM exports. All Node.js versions support CommonJS, so this should not matter.
  • The dedicated Deno version is discontinued. Please import npm:postcss-color-image@VERSION instead.

5.0.1

01 Nov 17:00
b2b692e
Compare
Choose a tag to compare

This version is published only for Deno.

  • Deprecated the dedicated Deno version of the module. Please import npm:postcss-color-image@VERSION instead.

5.0.0

30 Oct 19:57
Compare
Choose a tag to compare
  • BREAKING: Renamed the recognized color color-contrast() to contrast-color() (w3c/csswg-drafts#7557)
  • BREAKING: Dropped the support for Node.js 12 and 17 (so Node.js 14, 16, and 18 or greater are now supported)

4.0.0

27 Jan 13:15
Compare
Choose a tag to compare
  • BREAKING: Instead of duplicating the color in the output gradient, a double-position color stop is now added to make the output shorter and more DRY
    • For example, the old output linear-gradient(red, red) is now linear-gradient(red 0 0)
    • For wider browser support, you can use the old behavior by setting the new option compat: true
  • BREAKING: Removed color-adjust() as a recognized color, because it has been removed from the spec
  • Added a new option preserve: true to keep the original CSS declaration alongside the transformed one
  • Changed the license from MIT to ISC

3.1.0

20 Oct 20:01
Compare
Choose a tag to compare
  • Recognized oklab() and oklch() as color values
  • Deprecated color-adjust(), which was removed from the spec and which will be removed in the next major version of this package

3.0.1

31 May 15:19
Compare
Choose a tag to compare
  • Updated readme

3.0.0

27 May 10:23
Compare
Choose a tag to compare
  • BREAKING: Dropped the support for Node.js 10 and 15 (so Node.js 12, 14, and 16 or greater are now supported)
  • Added an ESM version for Node.js
  • Added support for Deno 🦕
  • Recognized color-mix(), color-contrast(), and color-adjust() as color values

v2.0.2

23 Oct 22:57
Compare
Choose a tag to compare
  • Fixed the postcss peer dependency version to be ^8.0.0

v2.0.1

22 Sep 04:28
Compare
Choose a tag to compare
  • Removed the development fields from package.json before publishing