card_builder_build_styles
Merge CSS snippet names with optional extra overrides to generate a complete styles object for card containers.
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 |
|---|---|---|---|
| snippet_names | Yes | ||
| target | No | block | |
| container | No | desktop | |
| extra | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||