diff --git a/.changeset/thick-wombats-float.md b/.changeset/thick-wombats-float.md new file mode 100644 index 0000000..efed63c --- /dev/null +++ b/.changeset/thick-wombats-float.md @@ -0,0 +1,5 @@ +--- +"penpot-exporter": patch +--- + +Fix blend mode 'color' translation diff --git a/ui-src/translators/translateUiBlendMode.ts b/ui-src/translators/translateUiBlendMode.ts index 0d45cf0..6c7939f 100644 --- a/ui-src/translators/translateUiBlendMode.ts +++ b/ui-src/translators/translateUiBlendMode.ts @@ -1,4 +1,5 @@ import { + BLEND_MODE_COLOR, BLEND_MODE_COLOR_BURN, BLEND_MODE_COLOR_DODGE, BLEND_MODE_DARKEN, @@ -50,7 +51,7 @@ export const translateUiBlendMode = (blendMode?: BlendMode): BlendMode | undefin case 'saturation': return BLEND_MODE_SATURATION; case 'color': - return BLEND_MODE_COLOR_BURN; + return BLEND_MODE_COLOR; case 'luminosity': return BLEND_MODE_LUMINOSITY; default: