Design decisions
The choices behind Sypnia Design, and why each one was made.
| # | Decision | What Sypnia Design does, and why |
|---|---|---|
| 1 | Design comes first | Screens are designed before they are built, and redesigned before their code changes. Fixing a look in code costs more than fixing it in a picture. |
| 2 | Not from @sypnia/ui | Customer apps never start from Sypnia’s own library, so no app made with Sypnia looks like Sypnia (Design and @sypnia/ui). |
| 3 | Three layers | A shared unstyled base for behaviour, each customer’s own pieces for the look, and each project’s gallery. Behaviour should be the same everywhere; looks should not. |
| 4 | The repository holds the truth | Your design lives with your code and changes in the same pull requests; Sypnia Cloud keeps no second copy that could drift. |
| 5 | Values and reasons apart | Values in the W3C Design Tokens format, which other tools read; reasons in Markdown, which people read. The check keeps them in agreement. |
| 6 | Roles, designed themes, AA contrast | Colours are named by what they are for; the dark theme is designed, not inverted; every pair meets WCAG 2.2 AA. |
| 7 | Icons drawn for each project | Shared construction rules make a set look drawn by one hand; the brand’s signature makes it its own. Stock icon sets make every app look alike. |
| 8 | Licensed fonts, served by the app | Only fonts licensed for the web, served from your domain, so no third party sees your visitors. |
| 9 | Every ending, every failure | A screen is not designed until its outcomes and its failures are, with the messages from the case. |
| 10 | The check blocks merges | A design rule that does not stop a merge is a suggestion. Waivers exist, with a reason and an end date. |
| 11 | Only people approve | Agents propose; a person approves. The proposer is never the approver. |
| 12 | React first, tokens everywhere | Generated pieces are React; tokens.css works in any framework. |
| 13 | Licences | MIT for @sypnia/design, @sypnia/base and the skills; AGPL-3.0 for the engine, like Sypnia’s other engines. |
| 14 | Print values, not ink matching | The PDF gives HEX, RGB and approximate CMYK; matching to printing ink catalogues is left to your printer. |