Not a product. A way of deciding: what every app in Afra Suite looks like, how it behaves, and how it changes, written down so that ten apps feel like one.
An app can use every colour and size here and still feel wrong if it breaks these. They are written first, and checked last.
Backgrounds are warm off-whites. Dark mode is warm charcoal, never pure black.
Deep sage marks one thing per screen. Everything else is ink on paper.
Content sits in one calm card with thin dividers. No heavy borders, no nested cards.
State is a small dot and a word, in grey text. Never a filled, coloured badge.
A row opens right under itself. Pop-ups are only for choosing or for what cannot be undone.
Lines in the shape of what is coming. Never a spinner inside content.
Titles and buttons stay still under the cursor. Messages, code and long text can be selected.
One typeface for names, one for titles, one for everything you read.
Written for a person, not an engineer. No internal names, raw keys or jargon.
One idea per section. If a screen feels cramped, remove something before shrinking anything.
Five colours carry the whole look. Each has a light and a dark value, measured for contrast, and an app never writes a colour of its own.
--paperThe page
--sideSidebars and navigation
--cardCards, lists, menus
--inkWhat you read
--accentThe one accent
--ok--warn--bad--infoAlways a dot and a word. Every status colour passes 4.5:1 on a card, in both themes.
Four faces, never mixed up: one for names, one for titles, one for reading, and one that takes over for Persian by itself.
App and product names only. Never a title, never a number.
The one title on a view, and the few figures it is about.
Everything you read and click, including every other number.
Takes over by itself for Persian and Arabic, right to left.
A system is also how things move and answer. These rules are measured, not described.
A choice of two to five options is a soft track. The chosen pill glides; the labels never move. Measured: 0 of 45 clicks move anything.
Hover, selected and open rows keep 3 px of clear space from their neighbours, in every state.
Small grey text with a 7 px dot. Never a filled, coloured badge.
Lines in the shape of what is coming, instead of a spinner in the content.
Each app is one object on a warm plate, with a single orange detail. Each icon is redrawn for 32 and 16 px, in light and dark.
The web styles, the Swift code for iPhone and Mac, and the written rules all come from one file. Every app adopts a new release only when it is approved.
tokens.jsonOne file of valuesColours, fonts, spacing, radii, motion.
tokens.cssADS.swiftDESIGN.mdEach pinned to the release it uses. A new release only marks it as behind; nothing changes until it is approved.
We write the principles, set the values, design the parts and the icons, and set up the releases, so several apps look and behave as one.