Skip to main content
Every look in Loveful’s stylesheet reads a --loveful-* custom property, with Loveful’s default as the fallback. Set the variable and the element follows, with no selectors to fight. The full list is on CSS variables.

Where to put your CSS

In the theme’s own stylesheet (such as assets/base.css), or in Theme settings > Custom CSS in the theme editor. Loveful’s stylesheet sets none of the variables itself, so yours always apply.

Who wins

The merchant can also set most of these in Loveful’s storefront design window. Its choices are written as the same variables on :root, after the theme’s stylesheets. So where you set a variable decides who wins:
Use :root for a theme you ship to merchants, so they keep control; use a selector for a one-off store build.

Match the theme’s buttons

Point Loveful’s variables at the theme’s own. Set them on the element, so they resolve inside the theme’s colour schemes. For Dawn:
The --loveful-all-btn-* variables set every Loveful button at once (save, add to cart, share, dialogs, empty state):

A full-width save button

Wishlist grid and cards

The Wishlist and Shared wishlist blocks write their column settings inline on their .loveful-wishlist wrapper, so set the grid’s variables on .loveful-list inside it to override them:

Dialogs

The list full, sign-in, change options and email dialogs share one set of variables:

State selectors

For anything the variables don’t cover, Loveful’s elements reflect their state as attributes:
Every element’s classes and states are listed with it on Web components.