@hsds/utils-color
Advanced tools
Comparing version 4.0.0 to 4.1.0
{ | ||
"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` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
32670
10
1095
42
1