Dominium Design System: One Visual Language for All My Apps

I build small apps for myself, and for years each of them looked a little different. Different greys, different spacing, different ideas about what a button should look like. I fixed that. The Dominium design system is now set up and public: github.com/nthnbch/dominium_design-system. The code is MIT, the fonts are under the SIL Open Font License.

Why I did it

I wanted to unify all my personal apps under one visual language. Not for a client, not for a brand, just so that opening any of my tools feels like opening the same place.

As a QA person, I also like the discipline. A design system is a set of rules you can check. Is this a token or a hard-coded value? Did I review it in light and dark? Is red used only where it should be? Those are questions with yes or no answers, and I like questions like that.

Where it is used

  • Dominium, my personal “ERP”, a personal operating system for my life.
  • Kalendar, my calendar app.
  • FossRec, my recorder app.
  • FFTabClose, my Firefox extension that closes idle tabs like Arc Browser. Its popup was just redone with the system (v5.5): black and white, a blackletter title, Inter text, golden-ratio spacing and automatic dark mode, with the fonts bundled so it still makes no network request.
  • The Hugo Fraktur theme, which powers this very site. It was just released as v1.3.0 following the design system, so what you are reading right now is wearing it.

What it is

The one-sentence version from the README: pure black and white, proportions from the golden ratio, one blackletter title and a clean sans for everything else.

No hue

The palette is a grey ramp from white to black with zero hue. No brand blue, no accent color. Light mode uses a background of #FAFAFA and text of #0D0D0D. Dark mode uses #0A0A0A and #F5F5F5. Primary buttons simply invert.

There is one exception: red (#EF4444), reserved for danger, destructive actions and “recording” states. Because it is the only color, it means something every time it appears. In a recorder app like FossRec, that is exactly what you want.

The golden ratio

Everything derives from phi (1.618). Spacing follows Fibonacci numbers: 3, 5, 8, 13, 21, 34, 55, 89 and up. Radii are 5, 13, 21 and 34. The type scale is 1rem times phi to the power of n/4, so every four steps the size multiplies by phi. Running text uses a line height of 1.618, tightening as titles grow.

Here is a small excerpt of the tokens, to give an idea:

:root {
  --d-phi: 1.618033988749895;
  --d-space-1: 3px;  --d-space-2: 5px;  --d-space-3: 8px;
  --d-space-4: 13px; --d-space-5: 21px; --d-space-6: 34px;
  --d-space-8: 55px; --d-space-10: 89px;
}

It sounds like numerology, but in practice it is a practical constraint. I no longer ask myself whether the gap should be 12 or 16 pixels. The choice is limited to a short list, and the list happens to work. Pairs help too: a 34 icon sits inside a 55 touch target (which also satisfies the 48 dp accessibility minimum), and a 21 text sits in a 34 row.

Two fonts, strict roles

UnifrakturCook, the blackletter, is used for the brand title only: the app name on the home screen or top bar, never for buttons, labels or body text. Inter handles everything else. That rule is what keeps the blackletter special. Used once per screen, it reads as a signature. Used everywhere, it would be unreadable.

Dark mode and calm motion

Dark mode follows the system by default, with an explicit light, dark or system choice in settings. Animations last 100 to 300 ms, with a gentle easing curve, and collapse to almost nothing when the user asks for reduced motion.

More than looks: app principles

The repository also documents how my apps behave, because a consistent look without consistent behavior only gets you halfway:

  • No telemetry. No analytics, no ads, no tracking, no accounts.
  • Offline first. The app is fully usable without network. Fonts are bundled, nothing is fetched remotely.
  • Opt-in updates. The update check is off by default, and it only does a plain request to GitHub releases.
  • Accessibility. Contrast of at least 4.5:1, touch targets of at least 48 dp, information never conveyed by color alone, testing at 200% font scale.
  • Five languages: English, French, German, Italian and Spanish.

There is even a release notes format, so every version of every app is announced the same way.

My opinion

I find it simple, clean, original and readable. Simple because there are only eleven greys and one red. Clean because the rules leave little room for visual noise. Original because very few interfaces dare to put a blackletter title above a minimalist Swiss-style layout. And readable because the contrast, the line height and the type scale were all chosen for that purpose.

It is not a system for everyone. A team that needs brand colors or a rich palette would find it too strict. For my own apps, strictness is the feature.

If you want to try it, open preview/index.html in the repository to see the palette, type, radii and spacing on one page. Then import tokens/tokens.css and use the --d-* variables. Android Compose files are included too. Feedback is welcome.


Repos: FossRec · Kalendar · FFTabClose · hugo-fraktur-theme