The grid (rendering) ยท console.warn
Column '{colId}' decoration size '{size}' is not one of sm, md, lg.
Printed by The grid (rendering), prefixed [lattice], since 1.0.1.
Warnings reference › dec-size:*:*
- Identifier
dec-size:*:*- Raised by
- The grid (rendering)
- Since
- 1.0.1
What happened
The decoration is applied, but its size is not one of the three the theme has tokens for, so the size is ignored and the default is used. Sizes are named rather than free CSS so that a decoration keeps its proportions in every theme and density.
The fix
Use 'sm', 'md' or 'lg'.
Reference
Covered in full at the API reference.