@csstools/css-color-parser
Advanced tools
Comparing version 1.3.3 to 1.4.0
# Changes to CSS Color Parser | ||
### 1.4.0 | ||
_October 9, 2023_ | ||
- Add utility to determine if a color is in the Display P3 gamut. | ||
### 1.3.3 | ||
@@ -4,0 +10,0 @@ |
@@ -34,1 +34,2 @@ import type { Color } from '@csstools/color-helpers'; | ||
export declare function colorDataFitsRGB_Gamut(x: ColorData): boolean; | ||
export declare function colorDataFitsDisplayP3_Gamut(x: ColorData): boolean; |
@@ -6,3 +6,3 @@ import type { ColorData } from './color-data'; | ||
export { SyntaxFlag } from './color-data'; | ||
export { colorDataTo, colorDataFitsRGB_Gamut } from './color-data'; | ||
export { colorDataTo, colorDataFitsRGB_Gamut, colorDataFitsDisplayP3_Gamut } from './color-data'; | ||
export { serializeP3 } from './serialize/p3'; | ||
@@ -9,0 +9,0 @@ export { serializeRGB } from './serialize/rgb'; |
{ | ||
"name": "@csstools/css-color-parser", | ||
"description": "Parse CSS color values", | ||
"version": "1.3.3", | ||
"version": "1.4.0", | ||
"contributors": [ | ||
@@ -6,0 +6,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99208
482