hex2oklch 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  hex2oklch
2
2
  =========
3
3
 
4
+ [![npm version](https://img.shields.io/npm/v/hex2oklch.svg)](https://www.npmjs.com/package/hex2oklch)
5
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/glnster/hex2oklch/ci.yml?branch=main)](https://github.com/glnster/hex2oklch/actions/workflows/ci.yml)
6
+ [![codecov](https://img.shields.io/codecov/c/github/glnster/hex2oklch)](https://codecov.io/gh/glnster/hex2oklch)
7
+
4
8
  Converts hex color to OKLCH and calculates appropriate corresponding foreground.
5
9
 
6
10
  HEX2OKLCH is based on my original project, https://github.com/glnster/hex2rgb, and is updated to use OKLCH instead of RGB.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hex2oklch",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Converts hex color to OKLCH and calculates appropriate corresponding foreground.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -40,6 +40,7 @@
40
40
  "homepage": "https://github.com/glnster/hex2oklch",
41
41
  "devDependencies": {
42
42
  "@eslint/js": "^9.0.0",
43
+ "@vitest/coverage-v8": "^3.0.0",
43
44
  "@playwright/test": "^1.58.2",
44
45
  "eslint": "^9.0.0",
45
46
  "globals": "^15.0.0",