Skip to content

Properties

PropertyTypeDescription
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).
propMappingstring(optional) Defines a specific CSS class so you get a declarative way of mapping CSS properties. A set of predefined maps will be available (WIP).
contrastModeboolean(optional) When a component supports a contrast style, it will be used instead for the dedicated area.
darkModeboolean(optional) When a component supports a dark mode style, it will be used instead for the dedicated area.
surface"dark"(optional) Defines the surface the themed content is placed on. Use dark to apply styles intended for dark surfaces.