( style: Record<string, string>, node: SceneNode, readers: FigmaLookupReaders = DEFAULT_READERS )
| 45 | } |
| 46 | |
| 47 | export function formatNodeStyleForMcp( |
| 48 | style: Record<string, string>, |
| 49 | node: SceneNode, |
| 50 | readers: FigmaLookupReaders = DEFAULT_READERS |
| 51 | ): Record<string, string> { |
| 52 | const context = buildVariableProjectionContext(node, readers) |
| 53 | return applyVariableStyle(style, node, context, getVariableCssExpr, readers) |
| 54 | } |
| 55 | |
| 56 | export function formatNodeStyleForPluginVariables( |
| 57 | style: Record<string, string>, |
no test coverage detected