Define a UI pattern for tiles
This commit is contained in:
parent
1d130512d3
commit
ceeeead696
1 changed files with 30 additions and 0 deletions
30
agaric/templates/patterns/tile/tile.ui_patterns.yml
Normal file
30
agaric/templates/patterns/tile/tile.ui_patterns.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
tile:
|
||||||
|
label: Tile
|
||||||
|
description: A small teaser linking to content from a list displayed as a grid.
|
||||||
|
variants:
|
||||||
|
default:
|
||||||
|
label: Default
|
||||||
|
description: A plain tile.
|
||||||
|
berry:
|
||||||
|
label: Berry
|
||||||
|
description: A purple-colored tile.
|
||||||
|
cinnamon:
|
||||||
|
label: Cinnamon
|
||||||
|
description: An orange-colored tile.
|
||||||
|
blue:
|
||||||
|
label: Blue
|
||||||
|
description: A blue-colored tile.
|
||||||
|
marine:
|
||||||
|
label: Marine
|
||||||
|
description: A blue-green tile.
|
||||||
|
fields:
|
||||||
|
title:
|
||||||
|
type: text
|
||||||
|
label: Title
|
||||||
|
description: Tile title.
|
||||||
|
preview: ACME Dynamite
|
||||||
|
subtitle:
|
||||||
|
type: text
|
||||||
|
label: Subtitle
|
||||||
|
description: Tile subtitle.
|
||||||
|
preview: An explosive web site
|
Loading…
Add table
Reference in a new issue