mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 21:53:27 -05:00
3118d36f0a
* refactor * changeset * fixes
11 lines
321 B
TypeScript
11 lines
321 B
TypeScript
import { translateFills } from '@plugin/translators/fills';
|
|
|
|
import { ShapeAttributes } from '@ui/lib/types/shapes/shape';
|
|
|
|
export const transformFills = async (
|
|
node: MinimalFillsMixin & DimensionAndPositionMixin
|
|
): Promise<Partial<ShapeAttributes>> => {
|
|
return {
|
|
fills: await translateFills(node.fills)
|
|
};
|
|
};
|