Socket
Socket
Sign inDemoInstall

@hsds/utils-color

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hsds/utils-color - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

CHANGELOG.md

4

package.json
{
"name": "@hsds/utils-color",
"version": "4.0.0",
"main": "./index.umd.js",
"version": "4.1.0",
"main": "./index.cjs.js",
"module": "./index.esm.js",

@@ -6,0 +6,0 @@ "typings": "./index.d.ts",

@@ -5,2 +5,34 @@ # utils-color

Includes:
- `isHex`
- `lightThreshold`
- `optimalTextColorValues`
- `hexToRgb`
- `hexToHsl`
- `optimalTextColor`
- `rgbToHsl`
- `lightenDarkenColor`
- `lighten`
- `darken`
- `getColorShade`
- `rgba`
- `getColor`
- `getThemeBrandProp`
- `defaultBrandColor`
- `makeBrandColors`
- `palette`
- `text`: default, extraMuted, faint, muted, slightlyMuted, subtle,
- `border`
- `state`: danger, error, info, success, warning
- `osx`
- `link`
- `default`
- `palette`
- `border`
- `link`
- `osx`
- `state`
- `text`
## Running unit tests

@@ -10,2 +42,2 @@

> Up to date with hsds-react `v3.54.2`
> Up to date with hsds-react `v3.54.11`
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