Skip to content

Developer notes

  • Theme kv_aurora, wrapper add-on kv_theme_aurora, a direct child of responsive.
  • Own classes start with au-. Tokens: @au_t1, @au_t2, @au_t3, @au_ink1..3, @au_acc, all driven by Theme editor colours.
  • Blocks with the user class au-l-film render only in the Film layout, au-l-cat only in Catalogue (render_block_pre, Aurora\Data::skipBlock). Add those classes to your own blocks to follow the switch.
  • Section tones: any home section with data-au-tone="1|2|3|p" joins the scene flow.
  • Images: CS-Cart also builds a 2x thumbnail and pads it when the source is smaller, so ask for half the size of the source.
  • Requested sizes need sources of at least 1080 x 1350 for product images.
  • Scene points and hero notes are read from the banner HUD text in Aurora\Data::onBanners.
  • View transitions are declared only on home, category and product pages, in hooks/index/head_scripts.post.tpl. Cancelled transitions are handled there.
  • All motion lives in js/addons/kv_theme_aurora/theme.js, plain JavaScript on the kit API, off under prefers-reduced-motion and Save-Data.