Tokens
Volume and switches tokens
The 40 volume and switches tokens with their values in the current look.
| Token | Value in this look | Varies by | In code | Description |
|---|---|---|---|---|
--mk-blend | var(--mk-t-bone, var(--mk-blend--b)) var(--mk-t-night, var(--mk-blend--n)) | colourwaytheme |
| How overlapping inks print: multiply on Bone, screen on Night. |
--mk-theme | 0 | themevolumecontrastsecond-ink |
| The theme as a number: 0 Bone, 1 Night. |
--mk-volume-base | 1 | themevolumecontrastsecond-ink |
| The authored volume as a number, 0 Quiet to 3 Rave. |
--mk-volume | 1 | themevolumecontrastsecond-ink |
| The resolved volume as a number (the visitor's dial wins), 0 to 3. |
--mk-contrast | 0 | themevolumecontrastsecond-ink |
| The contrast as a number: 0 normal, 1 more. |
--mk-ov-mode | 2 | themevolumecontrastsecond-ink |
| The second ink's mode as a number: off, motion or rest. |
--mk-ov-on | calc(min(1, var(--mk-ov-mode)) * min(1, var(--mk-volume)) * (1 - var(--mk-contrast))) | themevolumecontrastsecond-ink |
| Whether the second ink prints on display type (0 or 1). |
--mk-ov-on-head | calc(min(1, var(--mk-ov-mode)) * min(1, max(0, var(--mk-volume) - 1)) * (1 - var(--mk-contrast))) | themevolumecontrastsecond-ink |
| Whether the second ink prints on section heads (0 or 1). |
--mk-w-quiet | max(0, 1 - var(--mk-volume)) | themevolumecontrast |
| A cascade weight: 1 at Quiet, else 0. |
--mk-w-studio | max(0, 1 - (var(--mk-volume) - 1) * (var(--mk-volume) - 1)) | themevolumecontrast |
| A cascade weight: 1 at Studio, else 0. |
--mk-w-press | max(0, 1 - (var(--mk-volume) - 2) * (var(--mk-volume) - 2)) | themevolumecontrast |
| A cascade weight: 1 at Press, else 0. |
--mk-w-rave | max(0, var(--mk-volume) - 2) | themevolumecontrast |
| A cascade weight: 1 at Rave, else 0. |
--mk-w-bone | calc(1 - var(--mk-theme)) | themevolumecontrast |
| A cascade weight: 1 on Bone, else 0. |
--mk-w-night | var(--mk-theme) | themevolumecontrast |
| A cascade weight: 1 on Night, else 0. |
--mk-w-hc | var(--mk-contrast) | themevolumecontrast |
| A cascade weight: 1 under more contrast, else 0. |
--mk-w-p3 | min(1, max(0, var(--mk-volume) - 1)) | themevolumecontrast |
| A cascade weight: 1 where P3 colour prints, else 0. |
--mk-w-cx-studio | calc(1 - var(--mk-w-cx-old) - var(--mk-w-cx-neon)) | themevolumecontrast |
| A cascade weight: 1 in the studio comic register, else 0. |
--mk-w-cx-old | calc((1 - var(--mk-theme)) * var(--mk-w-press)) | themevolumecontrast |
| A cascade weight: 1 in the old comic register, else 0. |
--mk-w-cx-neon | max(calc(var(--mk-theme) * (1 - var(--mk-w-quiet))), var(--mk-w-rave)) | themevolumecontrast |
| A cascade weight: 1 in the neon comic register, else 0. |
--mk-v-grain | calc((var(--mk-w-studio) * 0.45 + (var(--mk-w-press) + var(--mk-w-rave)) * 0.55) * (1 - var(--mk-w-hc))) | volumecontrast |
| Grain on art, by volume. |
--mk-v-texture | calc(var(--mk-w-studio) * 1 + var(--mk-w-press) * 2 + var(--mk-w-rave) * 3) | volumecontrast |
| Which surfaces may carry texture, by volume (0 none to 3 any art). |
--mk-v-sep-off | calc(((var(--mk-w-studio) * 2 + var(--mk-w-press) * 3 + var(--mk-w-rave) * 5) * (1 - var(--mk-w-hc))) * 1px) | volumecontrast |
| How far art plates print off register, by volume. |
--mk-v-sep-plates | calc(1 + ((var(--mk-w-studio) * 1 + (var(--mk-w-press) + var(--mk-w-rave)) * 3) * (1 - var(--mk-w-hc)))) | volumecontrast |
| How many separations art prints, by volume. |
--mk-v-plate-offset | calc((var(--mk-w-studio) * 4 + var(--mk-w-press) * 6 + var(--mk-w-rave) * 8) * 1px) | volumecontrast |
| A printed plate's hard offset, by volume. |
--mk-v-display-scale | calc(var(--mk-w-quiet) * 0.92 + var(--mk-w-studio) * 1 + (var(--mk-w-press) + var(--mk-w-rave)) * 1.12) | volumecontrast |
| The display type scale, by volume. |
--mk-v-display-wght | calc(var(--mk-w-quiet) * -30 + (var(--mk-w-press) + var(--mk-w-rave)) * 70) | volumecontrast |
| The display weight shift, by volume. |
--mk-v-tilt-max | calc((var(--mk-w-studio) * 3 + var(--mk-w-press) * 6 + var(--mk-w-rave) * 12) * 1deg) | volumecontrast |
| The most art may tilt, by volume. |
--mk-v-specks | calc(var(--mk-w-studio) * 5 + var(--mk-w-press) * 7 + var(--mk-w-rave) * 9) | volumecontrast |
| Stamp specks, by volume. |
--mk-v-krackle | calc(var(--mk-w-studio) * 1 + var(--mk-w-press) * 2 + var(--mk-w-rave) * 4) | volumecontrast |
| Kirby krackle allowed, by volume. |
--mk-slant-x | calc((var(--mk-w-studio) * 5 + (var(--mk-w-press) + var(--mk-w-rave)) * 8) * 1%) | volumecontrast |
| How far comic gutters slant, by volume. |
--mk-break-out | calc(((var(--mk-w-studio) + var(--mk-w-press) + var(--mk-w-rave)) * 48) * 1px) | volumecontrast |
| How far broken-frame art may cross a panel's frame. |
--mk-v-sfx | inline-block | themevolume |
| Whether SFX show (hidden at Quiet). |
--mk-v-loop-control | none | themevolume |
| Whether loop-bearing art shows its pause key. |
--mk-a-pop | mk-pop | themevolume |
| Whether the pop entrance plays, by volume (none at Quiet). |
--mk-a-land | mk-land | themevolume |
| Whether the land entrance plays, by volume (none at Quiet). |
--mk-a-wipe | mk-wipe | themevolume |
| Whether the wipe entrance plays, by volume (none at Quiet). |
--mk-a-snap | mk-snap | themevolume |
| Whether the snap entrance plays, by volume (none at Quiet). |
--mk-a-flex | none | themevolume |
| Whether the flex entrance plays, by volume (none at Quiet). |
--mk-a-panel | mk-panel-in-studio | themevolume |
| Whether the panel entrance plays, by volume (none at Quiet). |
--mk-cx-art-blend | var(--mk-t-bone, var(--mk-cxab--b, var(--mk-blend--b))) var(--mk-t-night, var(--mk-cxab--n, var(--mk-blend--n))) | themevolume |
| How comic art plates blend, by register. |