Skip to content

Commit

Permalink
Release CSS Colors version 2.2.0
Browse files Browse the repository at this point in the history
adeira-source-id: c1ac741ca373cd2fb9b82b504355a03723b4e8e1
  • Loading branch information
mrtnzlml authored and adeira-github-bot committed Jul 27, 2021
1 parent 9a69cd9 commit 81ba2e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unreleased

# 2.2.0

- Added experimental function `convertToRGBTriplet`. Purpose of this function is to get any supported [color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value) and convert it to the internal RGB triplet value.
- Added a new function `chooseHigherContrast` that can help you to choose the best color compared to the given background (in terms of contrast).

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@adeira/css-colors",
"description": "Utility functions for working with CSS/HTML colors.",
"homepage": "https://github.com/adeira/universe/tree/master/src/css-colors",
"version": "2.1.0",
"version": "2.2.0",
"sideEffects": false,
"private": false,
"main": "./src/index.js",
Expand Down

0 comments on commit 81ba2e6

Please sign in to comment.