0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2025-01-07 23:50:05 -05:00
penpot-exporter-figma-plugin/plugin-src/transformers/partials/transformEffects.ts

10 lines
276 B
TypeScript
Raw Normal View History

2024-04-22 07:35:59 -05:00
import { translateShadowEffects } from '@plugin/translators';
2024-05-06 01:06:14 -05:00
import { ShapeAttributes } from '@ui/lib/types/shapes/shape';
2024-04-22 07:35:59 -05:00
export const transformEffects = (node: BlendMixin): Partial<ShapeAttributes> => {
return {
shadow: translateShadowEffects(node.effects)
};
};