card_builder_build_styles
Compose a styles object by merging snippets, with optional property-level overrides.
Instructions
Compose a styles object from one or more snippets plus optional extra overrides.
extra is shaped like the inner ContainerStyleData ({category: {prop: {value, unit}}}).
Later snippets override earlier ones at the property level.
Example::
build_styles(["card_padded", "vertical_stack"])
-> {"block": {"containers": {"desktop": {"spacing": {...}, "border": {...}, "background": {...}, "flex": {...}}}}}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | ||
| target | No | block | |
| container | No | desktop | |
| snippet_names | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||