Sizes
class Sizes(normal: Property, small: Property, smaller: Property, tiny: Property, large: Property, larger: Property, huge: Property, giant: Property, full: Property, wide: ScaledValue) : ScaledValue
Content copied to clipboard
Defines a value that has different expressions for different sizes.
There is a special sub-range for "bigger" sizes called `wide`
. "Bigger" really means sizes that reach dimensions up to the whole screen and have to scale much different (much wider steps obviously) than the basic ones.
We believe that in most of the cases one would like to define rather small sizes, ranging between a fraction of an `rem`
and at most `2rem`
. This is why those are intentionally the basic properties of this type and the more wider scaled ones need the `wide`
"prefix"!
Constructors
Sizes
Link copied to clipboard
Functions
Properties
contentBox
Link copied to clipboard
maxContent
Link copied to clipboard
minContent
Link copied to clipboard
wide
Link copied to clipboard