Two Pixels logo
Why UsWhy UsServicesServicesOur WorkOur WorkBlogBlog
  • Services
  • Work
  • Studio
  • Blog

Websites

Webflow developmentFast builds your team can runWordPress to WebflowMove without losing rankingsRestaurant and hospitalityMenus, bookings, local SEOAI solutionsAssistants, apps and automationsWebflow supportMonthly changes, same day

Brand and creative

Brand strategyPositioning and messagingDesign and researchUX and website design in FigmaDesign systemsComponents your team can reuse

Growth

SEO and AEORank on Google and in AI answersWebflow website costUK pricing guide
LocalWeb design in LeedsOur home studio, working with brands across Yorkshire.Read moreLocalSheffield and South YorkshireWebsites for Sheffield, Barnsley, Rotherham and Doncaster.Read more
All services

Case studies

Goodman MassonRecruitmentBar DouroHospitalitySalus HouseWellnessAtlasCase study
PortfolioSee all our workWebflow sites for B2B, SaaS, hospitality and ecommerce brands across the UK.View work

Two Pixels

Meet Luke and SolThe brothers behind the studioFAQsHow we work and what it costsBlogWebflow, SEO and design advice

Get in touch

Contact usWe reply within one working dayinfo@2pixelsagency.comEmail us directly
FreeBook a 20-minute intro callTalk to the people who will design and build your site.Pick a time
  • UK
    12:12
  • Start your project
Get in touchGet in touch

Figma Variables and Design Tokens, Explained Simply

Written by Solomon Adlam
September 20, 2026
Black linkedin logo
Design tokens sound like something only a large product team needs. The underlying idea is simple enough, though, and it solves a problem every project has: the same value written in forty places, forty chances for it to drift.

Design tokens sound like something only a large product team needs. The underlying idea is simple enough, though, and it solves a problem every project has: the same value written in forty places, forty chances for it to drift.

What a token actually is

A token is a named value. Instead of writing `#3753d4` wherever you need your brand blue, you name it `colour/brand/primary` and use the name.

That's it. The power isn't in the concept, it's in what the name buys you:

  • Change it once. Update the token, everything using it updates.
  • It means something. `colour/text/secondary` tells you where to use it. `#5f6169` tells you nothing.
  • It survives redesigns. A token called `blue` becomes a lie the day the brand changes. One called `brand/primary` doesn't.
  • It crosses tools. The same token name can exist in Figma, in your CSS, and in your component library.

How Figma variables fit

Figma variables are Figma's implementation of tokens. Four types:

  • Colour — fills, strokes, text
  • Number — spacing, radius, sizes
  • String — text content, useful for swapping between languages or states
  • Boolean — show and hide, for variants

The feature that makes them worth the setup is modes. One variable can hold different values in different contexts — light and dark, compact and comfortable, one brand and another. Switch the mode on a frame and everything inside re-resolves.

That's how a properly built file shows you a dark version of an entire page without a second set of screens.

Aliasing, which is where it gets useful

You can point one variable at another. This produces two layers:

Primitives — the raw palette. `blue/500 = #3753d4`. These rarely change and are never used directly.

Semantic tokens — what things are for. `text/link = blue/500`. `button/primary/background = blue/500`. These are what you actually apply.

The benefit: when you decide your links should be a different shade, you change one semantic token rather than hunting through every use of `blue/500` to work out which ones were links.

Mapping to the build

In CSS, semantic tokens become custom properties:

Your `colour/brand/primary` becomes `--brand-primary`, declared once on `:root` and used everywhere. Dark mode is the same variable redeclared inside a media query — exactly the same idea as a Figma mode.

In Webflow, they become variables in the Designer, which have worked the same way since Webflow added them. You define your colours, sizes and fonts as variables, use them on classes, and change them in one place later.

The practical upshot is that a designer and a developer end up using the same names for the same things, which removes an entire category of translation error.

When a small team needs this

Honestly? Not always.

Worth it if you have more than one designer, more than one product or brand, a dark mode, several breakpoints with different spacing, or a site you expect to restyle rather than rebuild.

Overkill for a five-page marketing site built once by one person. Styles and components will do fine, and you can add variables later without redoing the file.

The middle ground most small studios land on: use variables for colour and spacing, skip everything else, and expand only when a real need turns up.

A sensible starting structure

If you're setting this up for the first time, this covers most of it without becoming a project in itself:

  • `colour/brand/` — primary, secondary, accent
  • `colour/text/` — primary, secondary, muted, inverse
  • `colour/surface/` — page, raised, sunken
  • `colour/border/` — subtle, strong
  • `colour/state/` — success, warning, error, info
  • `space/` — your scale, as numbers
  • `radius/` — none, small, medium, full

Seven groups. An hour to set up. Everything after that is a refinement rather than a rebuild.

Mistakes worth avoiding

Naming for appearance. `blue-600` is a primitive and that's fine, but if your semantic layer is also called `blue`, you've built a system that lies to you the moment the brand changes.

Skipping the semantic layer entirely. Applying primitives directly works right up until you need to change one use of a colour without changing the others.

Too many primitives. A full 50-to-900 ramp for six colours is 54 values you'll never use. Start with the shades you actually have.

Modes for things that aren't modes. A mode is a context the whole design switches into — light and dark, one brand and another. A single component's variant is a variant, not a mode.

Building it before you need it. Tokens describe decisions you've already made. If the design isn't settled, you'll spend the week renaming things.

A quick way to test whether yours is working

Try to change your brand's primary colour to something completely different — a green, say — and see how long it takes.

If it's one edit and the whole file updates, including the dark variant, the system is doing its job. If you're hunting through layers, the tokens exist but nothing is actually using them, which is the most common state for a half-finished system.

Questions we get asked

Do variables replace styles in Figma?

Not entirely. Variables handle single values — a colour, a number, a string. Styles still handle compound properties like a full text style or an effect. Most teams use both.

Can tokens be exported straight into code?

There are plugins and pipelines that do it, and they work well for product teams shipping to a component library. For a marketing site it's usually simpler to keep the names consistent by hand — the same token names in Figma and in your CSS or Webflow variables — and skip the tooling.

We're a two-person team. Is this worth it?

The colour and spacing part, yes — it's an hour's work and it pays for itself the first time you restyle something. Modes, aliasing and export pipelines can wait until you have a reason.

If you're setting up a system for the first time and want a second opinion on the structure, we're happy to take a look at what you have.

This is some text inside of a div block.
15 min read
Want a website like this? Talk to Luke and Sol.
Book a call
Previous Post
No Previous Post!
Browse all blogs
Next Post
No Next Post!
Browse all blogs

Core Web Vitals for Webflow Sites: How to Get Green Scores

Core Web Vitals scores passing on mobile: LCP, INP and CLS
5 min read
Branding

The B2B SaaS Website Structure That Turns Visitors into Demos

B2B SaaS sitemap from home to product, use cases, customers, pricing and book a demo
5 min read
Branding

Adding an AI Assistant to Your Website: What It Can Actually Do

Website AI assistant answering a visitor question about Webflow migrations
4 min read
Branding

Webflow Support Retainers: What's Included and Is It Worth It?

Monthly Webflow support task list with same-day reply
4 min read
Branding

Webflow Pricing Explained: What You Will Actually Pay For

Breakdown of Webflow website costs: build, site plan, domain and support
5 min read
Branding

Choosing a Webflow Agency: Six Questions to Ask Before You Sign

Checklist of questions to ask a Webflow agency before signing
4 min read
Branding

What Every Restaurant Website Needs (and What It Doesn't)

Restaurant booking card with menu sections and available times
4 min read
Branding

How to Get Your Business Mentioned in ChatGPT and AI Search

An AI search answer recommending Two Pixels with a cited link
5 min read
Branding

Webflow SEO Checklist: What to Check Before You Launch

Pre-launch SEO checklist with every item ticked
5 min read
Branding

Moving from WordPress to Webflow: A Migration Checklist That Keeps Your Rankings

Migration tracker showing pages moved, 301 redirects and rankings held
6 min read
Branding

Custom Apps Built with Claude: What Small Businesses Can Now Afford

A bookings app dashboard showing tables booked and a weekly chart
4 min read
Branding

Claude Code and Webflow: How We Build Sites Faster Without Cutting Corners

Claude Code terminal building a Webflow case study template
5 min read
Branding

Claude Web Design: How AI Lets a Leeds Studio Do More for Less

A Claude prompt turning into a homepage wireframe draft ready for review
5 min read
Branding

Figma Variables and Design Tokens, Explained Simply

5 min read
Branding

Design Systems for Small Teams: Where to Actually Start

5 min read
Branding

Brand Guidelines: What Actually Needs to Be in Them

5 min read
Branding

How to Review a Figma Design (When You’re Not a Designer)

5 min read
Branding

What Makes a SaaS Product Page Convert

5 min read
Branding

Rebrand or Refresh? How to Tell Which One You Need

5 min read
Branding

How to Prepare a Figma File Your Developer Will Thank You For

5 min read
Branding

UI Design Principles That Actually Affect Conversion

5 min read
Branding

How Much Does Branding Cost in the UK in 2026?

5 min read
Branding

Why "Two Pixels"? The Story Behind the Name

The Two Pixels team working together at their desks in the studio
8 min read
Branding

What Actually Happens After Your Website Launches?

9 min read
Branding

Do You Still Need a Website If You're on Instagram?

Smartphone showing an Instagram profile next to a laptop displaying the same business's website
8 min read
Branding

How Long Does It Take to Build a Website? Our Process, Week by Week

Website project timeline on a wall planner showing discovery, design, development and launch stages
9 min read
Branding

What to Prepare Before You Contact a Web Designer

Desk with a checklist, brand colour swatches and website sketches ready for a web design project
8 min read
Branding

Webflow vs WordPress vs Squarespace: Which Is Right for Your Small Business?

Webflow, WordPress and Squarespace logos side by side for a platform comparison
10 min read
Branding

10 Signs Your Website Is Costing You Customers

Frustrated person waiting for a slow website to load on their phone
9 min read
Branding

Express Blinds & Curtains: Building a Website Around a Growing Yorkshire Business

Before and after comparison of the Express Blinds & Curtains website redesign on desktop and mobile
8 min read
Branding

Website Design for Leeds Businesses: What We've Learned

Local shopfront on a high street with a new website shown on a smartphone in the foreground
9 min read
Branding

How Much Does a Website Cost in the UK in 2026?

Small business owner reviewing a website quote on a laptop with a notepad and calculator
9 min read
Branding

5 Key Benefits of Hiring Freelance Designers for Your Creative Agency

5 min read
Branding

Freelance Web Designers vs In-House: What’s Better for Your Agency?

4 min read
Branding

How Webflow Empowers Designers to Build Without Developers

5 min read
Branding

The Top 10 Webflow Features Every Small Business Should Know

5 min read
Branding

Webflow CMS: What It Is and Why Your Site Needs It

5 min read
Branding

Why Webflow Is the Future of No-Code Website Development

5 min read
Branding

Webflow vs WordPress: Which Platform Is Best for Your Website in 2025?

Two laptops side by side comparing a Webflow site and a WordPress dashboard
5 min read
Branding

From Figma to Webflow: A Simple Guide for Designers and Developers

5 min read
Branding

10 Powerful Things You Can Build with Webflow (That You Didn’t Know)

6 min read
Branding

Why Top Creative Agencies Rely on Freelance Web Designers

5 min read
Branding

Why Web Designers Love Taking Figma Projects into Webflow

5 min read
Branding

Top 5 Tips to Seamlessly Convert Figma Designs into Webflow Websites

5 min read
Branding

Why Image Optimization Matters for Your Website's Performance

Image compression comparison showing file sizes before and after optimisation
5 min read
Branding

The Role of Typography in Web Design

Typography specimens and type scale shown on a designer screen
6 min read
Branding

Why Content Strategy Matters for Your Website

Content plan and sitemap sketched out on paper during a website project
5 min read
Branding

Making the Web Accessible for Everyone

Person using a screen reader and keyboard to navigate a website
5 min read
Branding

Looking Ahead in Web Design: The Future Is Bright

Designer sketching interface ideas beside a laptop showing a live website
5 min read
Branding

User-Centered Design Principles for Effective Websites

Designer sketching a user journey on paper next to a laptop
6 min read
Branding

Understanding Color Psychology in Web Design

5 min read
Branding

Boosting your Website with these design tricks

Website design shown on a laptop, tablet and phone side by side
5 min read
Branding

Web Design Trends to Watch in 2024

Moodboard of website layouts and colour palettes pinned to a studio wall
5 min read
Branding

Core Web Vitals for Webflow Sites: How to Get Green Scores

Core Web Vitals scores passing on mobile: LCP, INP and CLS
5 min read
Branding

The B2B SaaS Website Structure That Turns Visitors into Demos

B2B SaaS sitemap from home to product, use cases, customers, pricing and book a demo
5 min read
Branding

Adding an AI Assistant to Your Website: What It Can Actually Do

Website AI assistant answering a visitor question about Webflow migrations
4 min read
Branding

Webflow Support Retainers: What's Included and Is It Worth It?

Monthly Webflow support task list with same-day reply
4 min read
Branding

Webflow Pricing Explained: What You Will Actually Pay For

Breakdown of Webflow website costs: build, site plan, domain and support
5 min read
Branding

Choosing a Webflow Agency: Six Questions to Ask Before You Sign

Checklist of questions to ask a Webflow agency before signing
4 min read
Branding

What Every Restaurant Website Needs (and What It Doesn't)

Restaurant booking card with menu sections and available times
4 min read
Branding

How to Get Your Business Mentioned in ChatGPT and AI Search

An AI search answer recommending Two Pixels with a cited link
5 min read
Branding

Webflow SEO Checklist: What to Check Before You Launch

Pre-launch SEO checklist with every item ticked
5 min read
Branding

Moving from WordPress to Webflow: A Migration Checklist That Keeps Your Rankings

Migration tracker showing pages moved, 301 redirects and rankings held
6 min read
Branding

Custom Apps Built with Claude: What Small Businesses Can Now Afford

A bookings app dashboard showing tables booked and a weekly chart
4 min read
Branding

Claude Code and Webflow: How We Build Sites Faster Without Cutting Corners

Claude Code terminal building a Webflow case study template
5 min read
Branding

Claude Web Design: How AI Lets a Leeds Studio Do More for Less

A Claude prompt turning into a homepage wireframe draft ready for review
5 min read
Branding

Figma Variables and Design Tokens, Explained Simply

5 min read
Branding

Design Systems for Small Teams: Where to Actually Start

5 min read
Branding

Brand Guidelines: What Actually Needs to Be in Them

5 min read
Branding

How to Review a Figma Design (When You’re Not a Designer)

5 min read
Branding

What Makes a SaaS Product Page Convert

5 min read
Branding

Rebrand or Refresh? How to Tell Which One You Need

5 min read
Branding

How to Prepare a Figma File Your Developer Will Thank You For

5 min read
Branding

UI Design Principles That Actually Affect Conversion

5 min read
Branding

How Much Does Branding Cost in the UK in 2026?

5 min read
Branding

Why "Two Pixels"? The Story Behind the Name

The Two Pixels team working together at their desks in the studio
8 min read
Branding

What Actually Happens After Your Website Launches?

9 min read
Branding

Do You Still Need a Website If You're on Instagram?

Smartphone showing an Instagram profile next to a laptop displaying the same business's website
8 min read
Branding

How Long Does It Take to Build a Website? Our Process, Week by Week

Website project timeline on a wall planner showing discovery, design, development and launch stages
9 min read
Branding

What to Prepare Before You Contact a Web Designer

Desk with a checklist, brand colour swatches and website sketches ready for a web design project
8 min read
Branding

Webflow vs WordPress vs Squarespace: Which Is Right for Your Small Business?

Webflow, WordPress and Squarespace logos side by side for a platform comparison
10 min read
Branding

10 Signs Your Website Is Costing You Customers

Frustrated person waiting for a slow website to load on their phone
9 min read
Branding

Express Blinds & Curtains: Building a Website Around a Growing Yorkshire Business

Before and after comparison of the Express Blinds & Curtains website redesign on desktop and mobile
8 min read
Branding

Website Design for Leeds Businesses: What We've Learned

Local shopfront on a high street with a new website shown on a smartphone in the foreground
9 min read
Branding

How Much Does a Website Cost in the UK in 2026?

Small business owner reviewing a website quote on a laptop with a notepad and calculator
9 min read
Branding

5 Key Benefits of Hiring Freelance Designers for Your Creative Agency

5 min read
Branding

Freelance Web Designers vs In-House: What’s Better for Your Agency?

4 min read
Branding

How Webflow Empowers Designers to Build Without Developers

5 min read
Branding

The Top 10 Webflow Features Every Small Business Should Know

5 min read
Branding

Webflow CMS: What It Is and Why Your Site Needs It

5 min read
Branding

Why Webflow Is the Future of No-Code Website Development

5 min read
Branding

Webflow vs WordPress: Which Platform Is Best for Your Website in 2025?

Two laptops side by side comparing a Webflow site and a WordPress dashboard
5 min read
Branding

From Figma to Webflow: A Simple Guide for Designers and Developers

5 min read
Branding

10 Powerful Things You Can Build with Webflow (That You Didn’t Know)

6 min read
Branding

Why Top Creative Agencies Rely on Freelance Web Designers

5 min read
Branding

Why Web Designers Love Taking Figma Projects into Webflow

5 min read
Branding

Top 5 Tips to Seamlessly Convert Figma Designs into Webflow Websites

5 min read
Branding

Why Image Optimization Matters for Your Website's Performance

Image compression comparison showing file sizes before and after optimisation
5 min read
Branding

The Role of Typography in Web Design

Typography specimens and type scale shown on a designer screen
6 min read
Branding

Why Content Strategy Matters for Your Website

Content plan and sitemap sketched out on paper during a website project
5 min read
Branding

Making the Web Accessible for Everyone

Person using a screen reader and keyboard to navigate a website
5 min read
Branding

Looking Ahead in Web Design: The Future Is Bright

Designer sketching interface ideas beside a laptop showing a live website
5 min read
Branding

User-Centered Design Principles for Effective Websites

Designer sketching a user journey on paper next to a laptop
6 min read
Branding

Understanding Color Psychology in Web Design

5 min read
Branding

Boosting your Website with these design tricks

Website design shown on a laptop, tablet and phone side by side
5 min read
Branding

Web Design Trends to Watch in 2024

Moodboard of website layouts and colour palettes pinned to a studio wall
5 min read
Branding
Got a project in mind?
info@2pixelsagency.com
Start your project
Let's Play
Services
Webflow Agency LeedsWebflow RetainersOur Webflow WorkBrandingShopify
Brand & Creative
Design SystemsBrand StrategyDesign Research
Company
Why UsOur WorkBlogContact Us
Studio Hours
Monday – Friday 9am – 5pm
Saturday - 10am – 3pm
Sunday - Closed
© 2026 Two Pixels
© Certified Webflow Partner, UK
Privacy Policy