Most literals here are just strings. Type-safety is usually provided by the TypedAttr methods.
In some cases literals need to be typed to be part of a ValueClass so that they can be used as typed args.
Eg. auto
in margin(12 px, auto)
.
For that reason exists the dichotomy between Literal with its untyped Values, and Literal.Typed with its subclassed Literals.
- Companion
- class