Osy#betaRun it on Osyrin: osyrin.com

Online shop · Looks

Fitting

A shop look — the fitting room: dark chocolate, Young Serif in italic, the piece pinned to half the screen, amber.

Package
Osysharp.Shop.Looks.Fitting
Install
use Osysharp.Shop.Looks.Fitting@0;
Draws
Osysharp.Shop.Looks
Osysharp.Site.Looks
Fonts
Hanken Grotesk, Young Serif
Worn by
Second Round
Builds on
Shop, Site looks — the contract, Pages — the page desk

A look for shops: draws Osysharp.Site.Looks and Osysharp.Shop.Looks. Its own design of all seven parts of a store (the frame and the pages) and of the hero, the footer's words and the product row; the other block types fall back to the shop kit's plain designs, in this look's theme.

A look for a shop — "the fitting room". A dark chocolate ground, warm pale type, Young Serif in italic for display, the piece's own photograph pinned to half the screen while the page scrolls beside it, and one accent — amber, like the fitting-room bulb — for what to press.

Install it in a store beside other looks, and the people who run the store pick it per version of the site at the page desk (/staff/pages): drafted, previewed as a whole site, switched on a date. Orders, stock, customers and everything staff arranged stay put — the Fitting room redraws the same words and photographs in its own design.

The Second Round shop's front page in the Fitting room, wide
The Second Round shop's front page in the Fitting room, wide
A piece's page in the Fitting room, on a phone
A piece's page in the Fitting room, on a phone
  • The frame: the kit's SplitShell — one photograph pinned to half the screen, chosen for the page: on a piece's page, that piece; the menu (SiteMenu("menu", …)), the strip across the top (Region("announcement")) and the footer's words (Region("footer")), each staff's to arrange, under the names every look uses — so what staff arranged comes along whichever look the store wears.
  • The pages: the front page (a region of blocks), a listing, the grid, a piece's page, and a "not here".
  • Its designs of the block types: the hero (the line in italic and an amber pill; the photograph is the pinned half), the product row two across, and the footer's words. A type it has no design of is drawn in the shop kit's plain design.
  • Its theme and fonts: the palette, type scale, radii and motion, served only while the store wears the Fitting room (:root[data-look="fitting"]); Hanken Grotesk and Young Serif, registered in this kit's osyrin.lock and shipped with the store that installs it.
  • Whatever the visitor's system is set to: every colour the shop kit and its add-ons paint with is the look's own — raised panels and wells (Elevated, Sunken) and the four statuses included — so a visitor in dark mode sees the look as it was designed, not the platform's dark menus inside it. osy kit tokens --app lists nothing left at the floor.
  • The store's name in the wordmark and the footer's sign-off is the shop's own (ShopSettings.Name, set at the desk).

It draws the general site contract (Osysharp.Site.Looks) and the shop's (Osysharp.Shop.Looks), with exactly their parameters — the compiler checks each design like a class against an interface. It carries no data and no logic and needs no egress and no secret: it reads what a store's page reads, as the visitor. Its default front page names the Second Round catalogue's pieces and photographs (/_osy/files/public/products/…); staff replace them at the desk.

  • Worn by the Second Round thrift store, whose tests walk the shop in every look at a phone's width and a wide screen's (osy test --pixels).
  • osy docs ui-looks — looks, contracts, and switching a version's look.
  • osy docs ui-building-a-look — building a look of your own, from an empty kit.

Get it

Add the kit to your app’s manifest:

osy

app MyApp {
  use Osysharp.Shop.Looks.Fitting@0;
}

Then run osy lock: it downloads the release, verifies it by its content address and pins that version in osyrin.lock. osy kits Osysharp.Shop.Looks.Fitting shows what the kit is for, from inside your app.

Reference: osy docs ui-looks.