love-ecommerce-template 1.0.0 · SDK 1.2.0

CSS

Stylesheet files

Template stylesheet, served sanitized at /templates/<name>/styles.css and linked after the shared styles. style.css is accepted as an alternative name (styles.css wins on /styles.css, style.css wins on /style.css; the page links /style.css). server.js:1084

Cascade order

  1. Bootstrap 5.3.2 (CSS only) and Font Awesome from the approved CDNs
  2. Self-hosted fonts from assets.fonts
  3. /assets/storefront/core.css (always)
  4. /assets/storefront/kit.css (when assets.kit is true)
  5. the branding custom properties (#sf-theme-tokens)
  6. your stylesheet

What the CSS sanitizer changes

security.js:504

The pattern that removes behavior: also matches the end of scroll-behavior:, so scroll-behavior declarations are removed too. The validator warns about it (css-scroll-behavior).

Images in CSS

CSS url() values are not rewritten: write url(/image/hero.jpg) (absolute path). Relative url(image/…) resolves against the stylesheet URL (/templates/<name>/) and fails; external URLs become none.

Custom properties

See Theme system.

Generated 2026-10-01 11:59 UTC from the application source (contract 7075c14c24bbaf06).