fix: Property hex does not exist on type ChromaStatic

This commit is contained in:
kmmiio99o 2026-01-05 01:01:27 +01:00
parent fb600f9fe7
commit 937144b45f
No known key found for this signature in database
GPG key ID: 163FE39F7772D2EC

View file

@ -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 {