Visual design · Step 7 · 8 min read
From brand to interface
Three bridges connect a brand identity to a UI without making the interface a logo exercise. Here is how to move from a brand palette, a typeface and a shape language to concrete design tokens.
A brand-less interface looks generic. An interface that follows the brand literally looks rigid. Step 7 resolves this.
What you'll be able to do after reading:
- Explain what a brand is as a system external to the UI
- Translate a brand's colour palette into colour tokens
- Adapt a brand typeface to a UI type scale
- Convert a brand's shape language into border-radius and border decisions
1. What "brand" means here
Brand (marca) is the identity system a company builds outside the UI: the logo, the colour palette, the chosen typefaces and the visual style guides that live in a brand book — a document that consolidates a company's visual identity, gathering logo, colour palette, typefaces and usage rules. Brand is not the same as "branding" used as a gerund — that describes the ongoing activity of building recognition. In this lesson, brand is the noun, the system. It is external to the UI.
A brand book might say: "our primary colour is Gale Blue, #2A5AC9." It will not say: "use oklch(0.52 0.16 240) with 4.5:1 contrast ratio on white for the primary button at 14px." That translation from identity to interface is design work. Getting it wrong in one direction produces an interface that feels disconnected from the product's identity. Getting it wrong in the other — following the brand book too literally — produces an interface that behaves like an advertisement.
Three bridges move from brand input to UI output for the three things brands specify: colour, type and shape. Each bridge involves a translation, not a copy.
2. Bridge 1: colour palette → colour tokens
A brand palette is a list of colours with names and hex or OKLCH values. A UI system needs colour tokens — named CSS custom properties tied to a semantic role, not to an aesthetic preference.
The translation has two steps.
Map the brand colour to a role. Gale Blue (oklch(0.52 0.16 240)) maps to --color-primary. It is not the only use of that hue in the UI. Gale Blue Surface (oklch(0.95 0.03 240)) — a much lighter tint — maps to --color-primary-container, used for selected table rows and chips. Same origin, two different roles. Without the mapping, designers reach for the brand colour everywhere, and the product loses the ability to communicate through colour.
Verify the colour at the roles it will carry. A brand book specifies colours for print, for the logo on packaging, for large-format use. Those same values can fail on screen at the sizes a UI uses. Gale Blue was chosen precisely because oklch(0.52 0.16 240) passes WCAG AA contrast (4.5:1) against white at 14px — a constraint that was part of the brand decision from the start. If your brand colour fails at the role you need it for, adjust the lightness within the same hue rather than changing the hue.
CSS custom properties are the technical foundation for this mapping. A token is a named variable: --color-primary: oklch(0.52 0.16 240). Every component that needs the primary colour references the token, not the value directly (MDN, Using CSS custom properties). When the brand colour changes, one line in the token file updates — not every component file. Semantic colour and state covers the full taxonomy of colour roles.
3. Bridge 2: brand typeface → UI type scale
A brand typeface is a family, not a scale. The brand book might say "use Inter for digital." What it does not give you is: at what sizes, in what weights, with what line height and letter-spacing, for which UI roles.
The translation has three steps.
Choose the base size. For Gale Console — a dense desktop tool used all day — the base is 14px for body text in table cells. This is the minimum legible size for the amount of information displayed at this density. Type scale, line height and measure covers how to calculate a base from the product context.
Build the scale with a step. Gale uses a step of approximately 1.25, giving: 11 · 12 · 14 · 16 · 20 · 24 · 32 · 40px. These eight sizes cover every UI role from the smallest data label to the largest heading. The step is not arbitrary — it comes from the density and the number of distinct levels the product needs to communicate.
Assign weights to roles. "Use Inter Bold for headings" is not specific enough. Gale uses: 400 for body, 500 for labels with medium emphasis, 600 for column headers and headings, 700 for KPIs and hero numbers. These weights come from what users scan for first in a dense operational interface.
Gale uses Inter Variable from Google Fonts (free; variable version confirmed available at Google Fonts, Inter as of December 2026). The variable weight axis (wght) means one file covers all four weights without extra HTTP requests.
4. Bridge 3: form and style → border radii and borders
A brand's visual style often includes rounded shapes, angular shapes or a mix. This translates into two values: border-radius and border width.
The rule from Step 5 applies: corner radius communicates elevation, not beauty. A brand that feels precise and professional translates into small radii. A consumer brand with rounded, friendly shapes translates into larger radii. The brand sets the direction; the product context sets the specific values.
Gale's shape decisions reflect a preference for precision tools over consumer products:
- 4px on inputs, table cells and inline components — contained, businesslike
- 8px on cards and panels — slightly softer for containers
- 0 on full-width modals — no radius when the element fills the viewport
Keep these two or three values consistent across all components. If the brand style guide shows very rounded shapes, you apply that rounding to the UI's card level and keep the input level tighter. The brand supplies the personality; your two values supply the system.
5. Using the three bridges together
The three bridges work because they come from the same source. Gale's brand inputs — a blue that reads as precise and industrial, Inter as a no-personality typeface for dense data, small radii for a professional tool — produce a UI that feels coherent without looking like a marketing page.
The test is simple. Take any screen you have designed and check: (1) every colour references a token that maps to the brand palette; (2) every type size and weight is on the scale; (3) every corner radius is one of your two or three values. If that is true, the brand is in the interface. If even one of the three fails, the gap will be visible — not necessarily as a named problem, but as the vague feeling that "something is off."
The three bridges are clear. The next challenge is the opposite: how to make the visual distinctive without losing the brand.
6. Common mistakes
- Using the brand colour at every contrast level. The primary colour is for primary actions, not for every label, border and icon. Use semantic roles.
- Applying the brand typeface without a scale. "We use Inter" is not a type system. Without a scale, designers pick sizes ad hoc, and the UI accumulates dozens of one-off values.
- Treating the brand style guide as the design spec. Brand guides are starting points, not screens. They do not cover state changes, dark mode, density levels or hover.
- Over-rounding because the brand feels playful. A 20px radius on a dense table row makes no sense regardless of brand personality. The product context limits how far the brand direction can go.
7. Vocabulary
| Term | Meaning |
|---|---|
| Brand (marca) | The identity system (logo, colours, typography) external to the UI — not "branding" as a gerund |
| Colour token (token de cor) | The CSS custom property that stores a colour value for a semantic role |
8. Try it
Pick a product you use regularly that has a recognisable visual identity — a colour you associate with the brand, a typeface you would recognise, a shape style. Without opening any design tool, do the following:
- Name the brand's primary colour. Write the token name you would give it (
--color-primary, or whatever naming convention you would use). - Name the typeface. List three sizes you would use in a UI for this product: body text, a label and a heading. Assign a font weight to each.
- Describe the brand's shape language in one word (sharp, rounded, mixed). Translate that into two border-radius values: one for inline components (inputs, chips), one for cards.
You do not need to code anything. The goal is to practise the direction of the translation: from a brand description to a UI decision.
Reflection: Where did you hesitate? That gap between a brand decision and a UI decision is where the bridge work happens.
9. If you already practise
- Audit a product you work on: open the brand book and the design system side by side. For each brand colour, is there a corresponding token? Is the token used consistently, or are raw values scattered in component files?
- If your team has no brand book, Write the visual rules of a product (Lab 5) is the place to build one.
- Material Design 3 documents a full token taxonomy (reference, system and component tokens) that is worth reading alongside this lesson: Material Design 3, Design Tokens.
Checklist
Learn more
- Tokens: MDN, Using CSS custom properties · Material Design 3, Design Tokens
- Typeface: Google Fonts, Inter
Books, courses and videos to go deeper
- Designing Brand IdentityAlina WheelerBook · 5th ed., Wiley, 2017 · — the standard reference on building brand identity systems; Part III covers digital applications
- Design SystemsAlla KholmatovaBook · Smashing Magazine, 2017 · — Chapter 5 on colour and typography tokens in product design systems (Amazon)
Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.
Related
Building a colour palette in OKLCH · Semantic colour and state · Corners, borders and shadows with a rule · The last 10 percent · Escaping the generic look · Write the visual rules of a product