Solarus Design system
Updated · 20 Nov 2026 solarus.run
Solarus app · Screens

Before and after

A correction: the After picture, and the Before shown while it is held.

Notes

  • .pf-pair: Before on the left, After on the right, each a .shot.mock (a picture of the customer’s own screen, on canvas). What changed is circled by a dashed accent outline ([data-mk], drawn once the pictures are in: .mock.marked).
  • The After picture is a button (.mock.cmp): its border turns ink on hover. While held (.hold) it shows the Before picture in the same place, so the eye sees the difference without moving; its label changes from “After” to “Before” and its hint from “Hold to see Before” to “Release to see After”. The swap is a 120 ms fade.
  • Keyboard: Space or Enter held down does the same.
  • Under the pictures: what to look at, in one sentence (.pf-look), then the count of pixels changed.
  • The pictures themselves belong to the customer’s product; they are not Solarus components.
  • The classes named here are in bundle.css.