Design systems · Design systems · 1 min read

Variables, not hex codes

How Filis runs on 201 Figma variables in five collections, and why every name describes a job, not a colour.

Why variables

In Filis I never typed a hex code on a screen. Every colour, size, gap, corner and shadow is a Figma variable, so one change reaches every screen at once, from the home dashboard to the home-screen widget.

variables
201
collections
5
text styles
24

Five collections

  • Colour (120): primary, text, surfaces, borders, feedback and accent, each with light, normal and dark steps and hover and active states.
  • Typography (46): family, size, line height, weight and letter spacing for headings, body and buttons.
  • Spacing and padding (15): a 4-point scale from 4 to 32, plus screen padding 16, card padding 16, top bar 56 and bottom nav 84.
  • Radius (5): 4, 8, 12, 16 and 20.
  • Effects (15): three shadows, light, medium and heavy.

Name the job, not the colour

“Text muted” survives a rebrand; “grey 600” doesn’t. When I needed a calmer secondary text I changed one value, and every caption in the app followed.

Variables don’t make a design good. They make a good decision cheap to repeat.

Related posts

  • Prototyping1 min read

    A prototype with no dead ends

    Rawaa’s prototype links 62 screens on desktop and mobile. The rule I used: every screen needs a way forward or a way back.

  • GuideUI & visual design3 min read

    Building a type scale

    A type scale gives every text size a reason. Learn how to pick a base size and a ratio, set line height, and make sizes responsive.

  • GuideUI & visual design3 min read

    Setting up a spacing system

    A spacing scale based on 4 or 8 points keeps rhythm consistent and handoff simple. Learn the tokens, proximity, and density options.

See all posts

Mohammad Abu-aisheh

Menu

Language and display

العربية
Colour mode
Download CVPDF · 47 KB

Search