Skip to content

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 variableIn the consoleValuesDefault
--lumieo-border-widthBorder width (px)whole number from 0 to 40
--lumieo-brandBrandcolour for light and darklight #111111 · dark #f5f5f5
--lumieo-dangerDangercolour for light and darklight #cf222e · dark #f85149
--lumieo-focusFocus ringcolour for light and dark–
--lumieo-font-familyFontinherit, sans, serif, rounded or object (custom)inherit
--lumieo-font-scaleText scalenumber from 0.8 to 1.41
--lumieo-font-weight-titleTitle weightwhole number from 100 to 900500
--lumieo-gapGap (px)whole number from 0 to 328
--lumieo-launcher-heightDeprecatedLauncher height (px)whole number from 0 to 800 (can differ on mobile and desktop)mobile 300 · desktop 360
--lumieo-motionReduce motion for all shoppersfull, reducedfull
--lumieo-mutedMuted textcolour for light and darklight #6b6b6b · dark #a3a3a3
--lumieo-on-brandText on brandcolour for light and dark–
--lumieo-on-surfaceText on surfacecolour for light and dark–
--lumieo-radius-buttonButton radius (px)whole number from 0 to 32 or pill8
--lumieo-radius-cardCard radius (px)whole number from 0 to 3212
--lumieo-radius-thumbThumbnail radius (px)whole number from 0 to 328
--lumieo-scrimScrimcolour for light and darklight #000000 · dark #000000
--lumieo-shadowShadownone, soft, strongsoft
--lumieo-successSuccesscolour for light and darklight #1a7f37 · dark #3fb950
--lumieo-surfaceSurfacecolour for light and darklight #ffffff · dark #111111
--lumieo-text-caseText casenone, uppercasenone

:::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. :::