mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 13:43:03 -05:00
fix blend modes translation (#71)
This commit is contained in:
parent
e42ff510aa
commit
3dec0a4520
2 changed files with 7 additions and 1 deletions
5
.changeset/thick-wombats-float.md
Normal file
5
.changeset/thick-wombats-float.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"penpot-exporter": patch
|
||||
---
|
||||
|
||||
Fix blend mode 'color' translation
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue