OptionalcolorCSS text color.
OptionalbackgroundCSS background shorthand.
OptionalbackgroundCSS background color.
OptionalfontFont size; a numeric value is logical CSS pixels.
OptionalweightCSS font weight such as 400, 700, or "bold".
OptionalalignCSS text alignment such as "left", "center", or "right".
OptionalradiusBorder radius; a numeric value is logical CSS pixels.
OptionalpaddingCSS padding; a numeric value is logical CSS pixels.
OptionalopacityElement opacity from 0 (transparent) through 1 (opaque). Finite values outside the interval are clamped by the renderer.
OptionalwidthCSS width; a numeric value is logical CSS pixels.
OptionalheightCSS height; a numeric value is logical CSS pixels.
OptionalgapCSS layout gap; a numeric value is logical CSS pixels.
OptionalborderCSS border color.
OptionalborderSolid border width; a numeric value is logical CSS pixels.
OptionalborderCSS border shorthand, for example "4px solid red".
OptionalboxWhether declared width and height include padding and border.
OptionalmarginCSS margin; a numeric value is logical CSS pixels.
OptionalxAbsolute CSS left position; setting x or y makes the element positioned absolutely.
OptionalyAbsolute CSS top position; setting x or y makes the element positioned absolutely.
CSS-like style properties accepted by PowerKeys UI and overlay elements. Unsupported keys and values whose runtime types do not match the declaration are ignored. Numeric lengths are logical CSS pixels, not physical screen pixels.