Skip to content

Properties

TypeDescription
name"ui"
"eiendom"
"sbanken"
"carnegie"
(optional) The name of a branding theme. Can be ui (universal identity), eiendom, sbanken or carnegie.
size"basis"(optional) Will define what sizes of components are used (WIP).
variantstring(optional) (WIP).
contrastModeboolean(optional) When a component supports a contrast style, it will be used instead for the dedicated area.
colorScheme"auto"
"light"
"dark"
"inherit"
(optional) Controls the color scheme. Use auto to follow system preference and switch automatically between light and dark, light for light mode, dark for dark mode, or inherit to inherit from a parent Theme. Defaults to undefined.
surface"dark"
"light"
"initial"
(optional) Adjusts component appearance based on background. Use dark when content is placed on a dark surface, light for light, or initial to reset to the component's default behavior, ignoring any parent surface context. Defaults to undefined.