Repository navigation
Releases: fstrube/device-cmyk
Releases · fstrube/device-cmyk
Release list
0.0.3-alpha
Release 0.0.3-alpha
This release adds support for the @color-profile at-rule in CSS.
What's Changed
- Support for CSS @color-profile by @fstrube in #4
Full Changelog: 0.0.2-alpha...0.0.3-alpha
0.0.2-alpha
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
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.