Skip to content

Commit

Permalink
fix blend modes translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cenadros committed Apr 26, 2024
1 parent e42ff51 commit 33996d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thick-wombats-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"penpot-exporter": patch
---

Fix blend mode 'color' translation
3 changes: 2 additions & 1 deletion ui-src/translators/translateUiBlendMode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
BLEND_MODE_COLOR,
BLEND_MODE_COLOR_BURN,
BLEND_MODE_COLOR_DODGE,
BLEND_MODE_DARKEN,
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 33996d8

Please sign in to comment.