Should Rituals ship a press? (machinery is done; the design call is not) #152
Labels
No labels
build-dist
priority
P1
priority
P2
priority
P3
priority
P4
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Toilville/toilville-design#152
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ville — a design call I deliberately did not make while building the press tier (#148 / #149).
The machinery is done and tested.
native.pyemitsudgPressMapto Dart and Swift withsubstrateandpigmentas token paths, not baked hex, so a press re-inks itself against the active theme at runtime. It rides the existingdart-colorsandjson-tokens-macosinjections insync-manifest.yml— no wiring change needed. The moment a product declares a press, it flows toToilville_Rituals.What is missing is the design. Choosing Rituals' screenprint identity is a brand decision, so I left it rather than inventing one.
This is what the decision looks like
Left is the press as spelwork authors it. Right is the identical token with only its two pigment vars re-pointed — terracotta and mustard on cocoa. Nothing was edited; that is what a theme switch does mechanically.
Rituals would be the first product to exercise that for real. spelwork ships light-only, so the right-hand panel above is a demonstration rather than a shipped theme. Rituals is self-contained (
color_inherits_baseline: false) with 62 colours across light / dark / oldschool — it is the product that would actually prove the mechanism.What it needs from you
plate.ui.rectangle(hatched frame),plate.ui.line-horizontalandplate.ui.line-diagonal(rules). Rituals may want its own.press_eligibleissectionandcolumn_settoday.Available to build with
Plus everything that landed after this issue was filed:
fit: slice(#149) — a hatched frame that does not distort when stretchedanchor+extent(#154) — a pull can occupy part of an element, not all of it-rule/-band(#157) — a divider holds constant weight; a decorative strip holds constant proportion--press-*is registered with@property, so a consumer that gets something wrong lands on a declared fallback rather than a silent collapse. That one matters most for Rituals specifically: it is a Flutter/SwiftUI consumer reading a JSON manifest, so the CSS typing does not protect it — but the same type table is what a native renderer should validate against.So a press can be a full-bleed panel, a frame that holds its corners, or a divider at one edge.
Authoring one is
docs/UDG_PRESS_AUTHORING.md— about six lines of DTCG once the plates and pigments are chosen.Not urgent and nothing is blocked: Rituals simply has no press until someone decides it should.
Might be good idea to test at some point, maybe use it as theme. But I would not make it as a main theme especially on the launch. @peterswimm
Yea for sure, but this is in the system and we will test as we go on -- should at least be easier to make new ones going forward