CSS variables
Set these in your own stylesheet to match the widget to your site. They pass into the widget even though it renders in a shadow root.
lumieo-experience { --lumieo-brand: #0a6b4f; --lumieo-font-family: inherit;}
/* Only the widget on product pages */lumieo-experience[experience="WIDGET_ID"] { --lumieo-launcher-height: 240px;}Colours in the console have a light and a dark value. A variable you set applies to both, so set it inside your own dark-mode rule if you need different values.
| CSS variable | In the console | Values | Default |
|---|---|---|---|
--lumieo-border-width | Border width (px) | whole number from 0 to 4 | 0 |
--lumieo-brand | Brand | colour for light and dark | light #111111 · dark #f5f5f5 |
--lumieo-danger | Danger | colour for light and dark | light #cf222e · dark #f85149 |
--lumieo-focus | Focus ring | colour for light and dark | – |
--lumieo-font-family | Font | inherit, sans, serif, rounded or object (custom) | inherit |
--lumieo-font-scale | Text scale | number from 0.8 to 1.4 | 1 |
--lumieo-font-weight-title | Title weight | whole number from 100 to 900 | 500 |
--lumieo-gap | Gap (px) | whole number from 0 to 32 | 8 |
--lumieo-launcher-heightDeprecated | Launcher height (px) | whole number from 0 to 800 (can differ on mobile and desktop) | mobile 300 · desktop 360 |
--lumieo-motion | Reduce motion for all shoppers | full, reduced | full |
--lumieo-muted | Muted text | colour for light and dark | light #6b6b6b · dark #a3a3a3 |
--lumieo-on-brand | Text on brand | colour for light and dark | – |
--lumieo-on-surface | Text on surface | colour for light and dark | – |
--lumieo-radius-button | Button radius (px) | whole number from 0 to 32 or pill | 8 |
--lumieo-radius-card | Card radius (px) | whole number from 0 to 32 | 12 |
--lumieo-radius-thumb | Thumbnail radius (px) | whole number from 0 to 32 | 8 |
--lumieo-scrim | Scrim | colour for light and dark | light #000000 · dark #000000 |
--lumieo-shadow | Shadow | none, soft, strong | soft |
--lumieo-success | Success | colour for light and dark | light #1a7f37 · dark #3fb950 |
--lumieo-surface | Surface | colour for light and dark | light #ffffff · dark #111111 |
--lumieo-text-case | Text case | none, uppercase | none |
:::note[Generated] This table is built from the player’s option registry on every release, with the same names the console’s theme editor shows. :::