Skip to content

Releases: fstrube/device-cmyk

0.0.3-alpha

Choose a tag to compare

@fstrube fstrube released this 11 Oct 21:42

Release 0.0.3-alpha

This release adds support for the @color-profile at-rule in CSS.

What's Changed

Full Changelog: 0.0.2-alpha...0.0.3-alpha

0.0.2-alpha

Choose a tag to compare

@fstrube fstrube released this 30 Sep 17:24

Release 0.0.2-alpha

This is a minor release with some improvements to the NPM publishing workflow. Also updated the README.md with an @latest CDN URL.

0.0.1-alpha

Choose a tag to compare

@fstrube fstrube released this 30 Sep 16:42
267f102

Release 0.0.1-alpha

Browser polyfill for CSS device-cmyk() color function. Converts CMYK to RGBA at runtime. Works with inline styles, stylesheets, @import rules, and dynamic style changes.

Features:

  • Simple CMYK→RGB conversion by default
  • Optional ICC profile support for print-accurate colors
  • No build step required; drop in a script tag
  • TypeScript library also available for npm

What's included:

  • Polyfill script for browsers
  • Full TypeScript source
  • Visual regression tests (Chromium, Firefox)
  • Demo page with color swatches

Supported syntax:

background: device-cmyk(1 0 0 0);
background: device-cmyk(0 81% 81% 30% / 0.5);

Status: Alpha. Core functionality stable; API subject to change.