fix: Property hex does not exist on type ChromaStatic
This commit is contained in:
parent
fb600f9fe7
commit
937144b45f
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ export function parseColorManifest(manifest: ColorManifest): InternalColorDefini
|
|||
} else if (typeof semanticColorValue === "string") {
|
||||
if (semanticColorValue.startsWith("#")) {
|
||||
semanticColorDefinitions[semanticColorKey] = {
|
||||
value: chroma.hex(semanticColorValue).hex(),
|
||||
value: chroma(semanticColorValue).hex(),
|
||||
opacity: 1,
|
||||
};
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue