Skip to content

Widget style reference

Your team styles the widget on the brand’s Widget Style page in the Luxorr workspace. A look sets about sixty style properties: colors, fonts, corners. This page lists them all, and the classes you can write your own rules for.

  • Halden and Meridian are ready-made looks. Their properties can’t be changed; with one of them, the page offers light and dark mode, the launcher’s side and class rules.
  • Custom starts from the look you were on. Change it on the Colours, Type and Shape tabs, or switch the style panel to CSS and edit the Widget properties box. Both change the same properties.
  • Advanced: class rules, under the properties box, takes your own CSS for anything a property can’t do, such as letter spacing on buttons only, with any look. See Classes.

The preview updates as you type. Save when it looks right; partners see it the next time the widget loads.

The box lists every property with the value it has now, one mode at a time: pick Light or Dark above it.

.lxw-root[data-scheme='light'] {
--lxw-action: #0b5fff;
--lxw-action-text: #ffffff;
}
  • Change a value to set it. Changing --lxw-action makes every main button that color, and leaves everything else as the look draws it.
  • Delete a line to give the property back to the look.
  • Colors are #rrggbb, or #rrggbbaa with transparency. Properties that can be switched off also take transparent.
  • Sizes are whole pixels from 0px to 36px.
  • Fonts take a font’s name, such as roboto.
  • A line the box can’t use is listed under it with its line number, and is left out until you fix it.

Fonts, weights, letter case and corners apply in both modes. Colors are set for the mode you’re editing.

Paste one under Advanced: class rules, or make the same changes in the properties box. A value the box doesn’t take, such as a gradient, 999px for pills or a weight above 700, works only under Advanced.

Brand-colored buttons

.lxw-root {
--lxw-action: #e31e35;
--lxw-action-text: #ffffff;
}

Pill-shaped buttons and price filters

.lxw-root {
--lxw-button-radius: 999px;
--lxw-chip-radius: 999px;
}

Square corners everywhere

.lxw-root {
--lxw-radius: 0px;
--lxw-button-radius: 0px;
--lxw-chip-radius: 0px;
--lxw-banner-radius: 0px;
--lxw-thumb-radius: 0px;
--lxw-mark-radius: 0px;
}

Bold, uppercase headings

.lxw-root {
--lxw-heading-weight: 800;
--lxw-heading-transform: uppercase;
--lxw-heading-tracking: 0.02em;
}

Gift photos on white tiles with a thin border

.lxw-root {
--lxw-tile: #ffffff;
--lxw-tile-border: #e3e3e8;
--lxw-tile-blend: normal;
}

A gradient side panel

.lxw-root {
--lxw-panel-background: linear-gradient(180deg, #2b0b3c 0%, #1a0726 100%);
--lxw-panel-text: #ffffff;
--lxw-panel-muted: #c9b8d6;
}

A dark page with outlined price filters

.lxw-root[data-scheme='dark'] {
--lxw-background: #121212;
--lxw-field: #1c1c1c;
--lxw-chip-background: transparent;
--lxw-chip-border: #3a3a3a;
--lxw-chip-on-background: #f8ff13;
--lxw-chip-on-text: #000000;
}

Grouped by the part of the screen they change. The examples show a light and a dark value where they differ.

Property What it changes Example values
--lxw-background The widget’s page, its top row and the dropdown menus. #ffffff, #0f1113
--lxw-text Main text: gift names, prices, form labels, menu items, secondary buttons’ text, and the focus outline. #16171a, #f5f6f7
--lxw-text-soft Longer copy: gift descriptions and the order confirmation message. #3a3c42, #c9cdd2
--lxw-muted Secondary text: section names under gift names, counts, hints, prices the player can’t afford yet, disabled buttons’ text. #5e616b, #9ba1a8
--lxw-danger Error messages and the border of a field with an error. #b91c1c, #ff8a8a
--lxw-border Dividers and the dropdown menus’ border. #e3e3e8, #2a2e34
--lxw-surface Quiet fills: secondary buttons such as Change, a disabled main button, the hovered menu item, status badges, the track of progress bars. #ebebef, #24272c
Property What it changes Example values
--lxw-field Background of the search box, the section and sort dropdowns, the balance chip (no-banner layout) and the address form’s inputs. #f5f5f7, #17191d
--lxw-field-border Their border. transparent, #d0d4dc
--lxw-field-text The text in them. #16171a, #f5f6f7
--lxw-field-muted Placeholder text, such as Search rewards, and fields the player can’t change, such as the country. #8a8d96, #6b7078
--lxw-focus The ring around the field or button that has keyboard focus. It follows --lxw-text unless set. #3b82f6, #ffffff
Property What it changes Example values
--lxw-action Background of the main buttons: Redeem, Continue, Place order. Also the reached steps of the order’s progress bar. #178541, #23a25a
--lxw-action-text Text on the main buttons. #ffffff, #111111
--lxw-action-soft The circle behind the check mark when an order is placed, and behind delivery steps. #dcefe3, #1d3a29
--lxw-action-ink The check mark in that circle. #0f6a33, #5fd38d

These are the round buttons for price ranges (Any price, Within my points, Under 3,400) and for a gift’s options (sizes, colors).

Property What it changes Example values
--lxw-chip-background Background of a chip that isn’t picked. transparent, #1d2024
--lxw-chip-text Its text. #16171a, #ffffff
--lxw-chip-border Its border color. #e3e3e8, #3a3a3a
--lxw-chip-border-width Its border width. 1px, 0px
--lxw-chip-on-background Background of the picked chip, and of the picked item in the section menu. #16171a, #f7b500
--lxw-chip-on-text Text of the picked chip and menu item. #ffffff, #111111
--lxw-chip-hover-background Background of a chip or option, such as a size, under the pointer. Unless set, it is the chip’s own background mixed with a little of its text colour. #3a3d44, #ebebef
Property What it changes Example values
--lxw-tile Background behind gift photos on the cards and in the gift page’s photo strip. #f3f3f5, #ebebed
--lxw-tile-border Border of the card photos. transparent, #e3e3e8
--lxw-tile-blend How a photo sits on the tile. multiply lets a photo’s white background take the tile’s color; normal shows the photo as it is. multiply, normal

The panel on the left in the side banner layout, on desktop widths.

Property What it changes Example values
--lxw-panel-background The panel’s background. Gradient allowed. #f5f5f7, linear-gradient(180deg, #2b0b3c, #1a0726)
--lxw-panel-text The brand’s name, the balance and My orders. #16171a, #ffffff
--lxw-panel-muted The Your balance label. #5e616b, #9ba1a8
--lxw-panel-accent The coin symbol next to the balance. #5e616b, #f7b500
--lxw-panel-outline A border around the panel. none, 1px solid #2a2e34
Property What it changes Example values
--lxw-hero-accent The coin symbol in the balance box on the hero banner. The box itself is always dark and translucent so it reads on any picture. rgba(255, 255, 255, 0.82), #f7b500
Property What it changes Example values
--lxw-mark-background The square behind the brand’s logo or initial, in the side panel. #0d1437, #e8312a
--lxw-mark-text The initial’s color, when the brand has no logo. #ffffff, #111111
--lxw-mark-radius Its corners. 50% makes a circle. 6px, 50%
--lxw-close-background Background of the close button in launcher mode. transparent, #ffffff
Property What it changes Example values
--lxw-font All text, unless one of the next three says otherwise. "Inter", system-ui, sans-serif
--lxw-display-font Headings, and big numbers such as the balance and a gift’s price. "Manrope", system-ui, sans-serif
--lxw-button-font Text on buttons. "Inter", system-ui, sans-serif
--lxw-chip-font Text on chips. "Inter", system-ui, sans-serif

Only fonts picked on the Type tab load. The widget can’t load fonts from other sites, so a font named under Advanced shows only if it’s picked on the Type tab (any font in its list, from Inter to Playfair Display), or already on the player’s device. End each value with a fallback such as system-ui, sans-serif.

Headings are the store’s name, My orders and a gift’s name. Big numbers are the balance and a gift’s price.

Property What it changes Example values
--lxw-heading-weight Headings’ weight, from 400 (regular) to 900 (black). 500, 800
--lxw-heading-style italic slants headings and big numbers. normal, italic
--lxw-heading-transform uppercase writes headings in capitals. none, uppercase
--lxw-heading-tracking Space between letters in headings. Negative is tighter. -0.02em, 0.04em
--lxw-heading-decoration A line under the store’s name and My orders. none, underline
--lxw-number-weight Big numbers’ weight. 700, 900
--lxw-number-tracking Space between digits in big numbers. -0.03em, 0
Property What it changes Example values
--lxw-button-style italic slants the main buttons’ text. normal, italic
--lxw-button-transform uppercase writes it in capitals. none, uppercase
--lxw-button-tracking Space between its letters. 0, 0.06em
--lxw-button-weight Its weight. 700 (bold) in every look. 700, 500
--lxw-chip-style italic slants chips’ text. normal, italic
--lxw-chip-transform uppercase writes it in capitals. none, uppercase
--lxw-chip-tracking Space between its letters. 0, 0.04em
--lxw-chip-weight Its weight. 500, 700
Property What it changes Example values
--lxw-radius The search box, dropdowns, form fields, gift photos, dropdown menus and the hero’s balance box. 10px, 14px
--lxw-button-radius Main and secondary buttons, including My orders on the hero banner. 8px, 999px
--lxw-chip-radius Price filters and option choices. 8px, 999px
--lxw-banner-radius The hero banner and the side panel. 16px, 0px
--lxw-thumb-radius The gift page’s photo strip and the notes on an order. 8px, 10px

Rules under Advanced: class rules apply inside the widget, after the properties. The classes below are kept across releases; the widget’s other classes may change without notice. Click one under the box to add an empty rule for it.

.lxw-button {
letter-spacing: 0.04em;
}
.lxw-card {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
Class What it is
lxw-root The whole widget. It carries data-scheme='light' or 'dark', so .lxw-root[data-scheme='dark'] targets one mode.
lxw-header The row with the store’s name and the gift count, the row with My orders, and the title row of a checkout step.
lxw-balance The player’s balance, on the hero banner, in the side panel and in the top row.
lxw-hero The hero banner across the top.
lxw-side-panel The side panel in the side banner layout.
lxw-toolbar The row with the search box and the sort dropdown.
lxw-search The search box.
lxw-filter The section and sort dropdowns, and the balance chip in the no-banner layout.
lxw-section The blocks of an order, and the loading, empty and error messages.
lxw-card A gift on the store page, and the order on an order’s page.
lxw-card-image A gift’s photo.
lxw-price A gift’s price, and an order’s price. On the store page it carries data-locked='true' while the player can’t afford the gift.
lxw-button Main buttons: Redeem, Continue, Place order.
lxw-button-secondary Secondary buttons, such as Change and Show more.
lxw-input The address form’s fields, and the filled boxes in checkout and in My orders, such as the order summary and each order in the list.
lxw-label Form labels and a gift’s option names.
lxw-chip Price filters and a gift’s option choices.
lxw-status An order’s status badge. It carries data-status with the order’s status.
  • The launcher button. It’s drawn in your page, not in the widget. It takes its colors from the look, its side from Launcher Position, and its corners from the Dialogs corner on the Shape tab. Restyle it further from your own page’s CSS, with its lxw-launcher class.
  • The launcher dialog’s corners and the dimmed page behind it. They’re part of your page too. They follow the Dialogs corner and the Backdrop color in the studio; setting --lxw-dialog-radius or --lxw-backdrop under Advanced has no effect.
  • The layout. What the widget shows and where, the hero or side banner, and widths stay as they are. A store’s layout and banners are set on the store’s page.
  • Images and fonts from other sites. They don’t load, and an @import is refused when your team saves.