Skip to main content

Module style

Module style 

Source

Structs§

AudioReactive
Bind a CSS property to audio analysis data.
BorderEdges
border: 1px solid red modeled per side.
BorderSide
BoxShadow
CssStyle
Top-level CSS style block. All fields are optional; None means “not set” and lets the cascade fill in inherited / initial values.
GradientStop
GridLine
TextDecoration
TextShadow
TransformOrigin

Enums§

AlignContent
AlignItems
AlignSelf
AudioReactiveProperty
Which CSS property to modulate with audio.
AudioSource
The audio data source for an AudioReactive binding.
AudioSourceTag
Tag-only variant for the amplitude source.
AutoKw
Background
BackgroundLayer
BackgroundRepeat
BackgroundSize
BlendMode
BorderRadius
Border-radius: uniform or per-corner.
BorderStyle
BoxSizing
ClipPath
Color
Typed color. Strings are parsed lazily (“#rgb”, “rgba(..)”, named colors).
Display
Edges
Edge values for margin / padding. Either uniform or per-side.
FilterFn
FlexDirection
FlexWrap
FontStyle
FontWeight
FontWeightKw
Gap
gap: 8px (uniform) or gap: 8px 16px (row-gap, column-gap).
GridAutoFlow
GridLineEnd
GridTrack
A single grid track (column or row) sizing function.
GridTrackKeyword
JustifyContent
JustifyItems
JustifySelf
LayoutSurface
style.layout-surface (issue #387): the shape a container’s direct children are projected onto at paint time, plus the one perspective and turntable rotation shared by all of them. radius/arc-x/arc-y are pixels/degrees, not Lengths — this bends a fixed layout, it does not participate in it.
LineHeight
line-height: 1.5 (number) or line-height: 24px (length).
LineHeightKw
Material
style.material, as either a bare preset name or an object tuning it.
MaterialPreset
Which surface a material imitates.
Overflow
OverflowWrap
Position
RadialShape
Size
width: <length> / width: auto / width: 50% / width: max-content / etc.
SizeKeyword
StyleTransition
transition config: bare number = duration in seconds with the default easing, or a { duration, easing } object.
SurfaceAngle
A layout-surface rotate-x/rotate-y value: either a constant tilt in degrees, or a linear turntable sweep from from to to starting at scene time 0, over duration seconds (defaults to the scene’s own duration, so “the dome turns slowly” needs no explicit timing).
TextAlign
TextDecorationLine
TextDecorationStyle
TextOverflow
TransformFn
Visibility
WhiteSpace

Constants§

MIN_LEGIBLE_FONT_RATIO
TEXT_AUTOFIT_MIN_FONT_PX