PressRun is the first-visit loader. On a first visit to a boot path, the stock covers the painted page for 0.8 s while the Mark's four plates print one after another in their line inks, each landing a few pixels out of register and snapping in; then the veil wipes off. Any key, click or touch skips it. PrefsScript decides when it runs (bootPaths, mk-visited), so first paint is never blocked and visitors without JavaScript never see it.
Example#
Usage#
PressRun is the first-visit loader for the home page: the stock covers the painted page for 0.8 s while the mark's four plates print one after another, each landing a little out of register and snapping in; then the veil wipes off. Any key, click or touch skips it.
- First visits only, on the paths in
PrefsScript'sbootPaths(the home by default; these docs pass none), never under reduced motion or Save-Data. - Never blocking. The page underneath is fully painted; a CSS failsafe removes the veil at 1.6 s whatever the script does; focus never moves.
- No sound, even with sound on.
Anatomy#
- VeilThe stock over the painted page.
.mk-boot - PlateOne of four, landing out of register, then snapping in.
.mk-boot-plate
Volume#
The run is the same at every volume and skipped entirely at Quiet and under reduced motion.
Quiet
Studio
Press
Rave
Content#
- None: the run is the mark printing itself. It never shows a percentage or a word.
Do and don't#
Do
Don't
A loader that holds every visit for three seconds before the page appears.
Accessibility#
- Hidden from assistive tech; focus never moves; the page underneath is fully painted.
- Never at Quiet, under reduced motion or with Save-Data; a CSS failsafe hides the veil at 1.6 s whatever the script does.
- The mark covers well under a quarter of the view, and nothing flashes.
| Keys | What happens |
|---|---|
| Any key | Skips the run at once (so does a click or a touch) |
The colour pairs it prints, with their contrast on both papers:
It prints no text of its own (art layer or layout only), so it has no pair to check.
Props#
| Prop | Type | Default | Description |
|---|---|---|---|
option | "a" | "b" | "c" | the house option | The Mark option to print (default the house option). |
className | string | none | |
specimen | boolean | none | Docs and press frames only: the run's last frame printed in place, no veil and no timers. |
Tokens#
System tokens (12)
--mk-blend--mk-dur-press-run--mk-ease-register--mk-ease-snap--mk-ease-squeegee--mk-ink-a--mk-ink-m--mk-ink-r--mk-space-6--mk-surface--mk-text--mk-z-boot
Its own properties (1)
--mk-mark-key
Changelog#
Arrived in 0.9.0.
- Motion: the additive
Cursorand the first-visitPressRun(in./motion). Read the whole entry