Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@oddbird/blend

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oddbird/blend - npm Package Versions

0.2.4

Diff

Changelog

Source

v0.2.4 - 2022.12.14

  • 🏠 INTERNAL: Remove documentation from npm package
  • 🏠 INTERNAL: Upgrade dependencies
mirisuzanne
published 0.2.3 •

Changelog

Source

v0.2.3 - 2021.09.18

  • Correction to the sRGB to XYZ to sRGB matrices, improve round-tripping (based on CSSWG update)
  • Update to use math.div() in place of slash as division
jgerigmeyer
published 0.2.2 •

Changelog

Source

v0.2.2 - 2020.06.30

  • Documentation cleanup
  • Upgraded dev dependencies
mirisuzanne
published 0.2.1 •

Changelog

Source

v0.2.1 - 2020.05.28

  • Updated license to The Hippocratic License 2.1
  • Documentation cleanup
mirisuzanne
published 0.2.0 •

Changelog

Source

v0.2.0 - 2020.05.27

  • BREAKING: Moved project to [oddbird/blend][repo] on GitHub, and [@oddbird/blend][pkg] on NPM.
  • BREAKING: Remove over-complicated settings & output options for now. Focus on practical Sass conversion to and from CIE functions.
  • NEW: lch() hue channel accepts any angle unit (e.g. turn, rad, grad, or deg)
  • NEW: lab($lab, $a) returns an (sRGB) Sass color
  • NEW: Inspect LCH/Lab values of a Sass color with
    • lightness()
    • a() and b()
    • chroma() and hue()
  • NEW: contrast() selects the best contrast from a list
  • NEW: Generate new colors based on relative LCH & Lab adjustments:
    • set() to replace a channel value
    • adjust() to add or subtract from a channel
    • scale() to scale fluidly towards one "end" of the channel range
  • NEW: from() converts a Sass color to LCH in order to adjust CIE lightness, chroma, and hue -- using a syntax roughly based on [CSS Colors Level 5 relative syntax][relative]
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc