Styles & Variables
Every design system starts with a handful of reusable decisions: this is our brand color, this is our body text, this is our card shadow. In Figma you capture those decisions as styles (and, on supported plans, variables). Figmage reads styles today and turns them into named tokens that developers import.
The three style types below map straight to Figmage’s core token types.
🎨 Colors
Section titled “🎨 Colors”Create a color style for every meaningful color — brand colors, backgrounds, text colors, borders, states.
-
Select a shape and set its fill to the color you want.
-
In the Fill section of the right panel, click the style icon (the four dots).
-
Click + Create style and give it a clear, purpose-based name like
PrimaryorSurface.
Each color style becomes a color token. Want light and dark variants grouped separately in code?
Prefix the names with a folder, like Light/Surface and Dark/Surface — see
Naming & Grouping.
| Good | Avoid |
|---|---|
Light/Surface, Dark/Surface, Brand/Primary | New Color, #F8F8F8, Gray 3 maybe |
🔤 Typography
Section titled “🔤 Typography”Create a text style for each role in your type system — not for each individual size, but for the jobs text does: titles, subtitles, body, captions, overlines.
-
Select a text layer and set its font, size, weight, line height, and letter spacing.
-
In the Text section, click the style icon, then + Create style.
-
Name it by role —
Title 1,Body,Caption— never by appearance likeBold 24.
Each text style becomes a text token carrying the full recipe: font family, size, weight, line
height, letter spacing, and text transform.
| Good | Avoid |
|---|---|
Web/Body, Web/Title, Marketing/Hero | Bold 24, Inter 16, Text Style 7 |
🌑 Effects (shadows)
Section titled “🌑 Effects (shadows)”Create an effect style for each elevation level in your system.
-
Add a Drop shadow effect to a layer and tune its offset, blur, and color.
You can add multiple shadows to the same layer to create more complex effects - Figmage captures them all.
-
In the Effects section, click the style icon, then + Create style.
-
Name it by intent —
Shadow Small,Shadow Medium,Shadow Large.
Each one becomes a dropShadow token.
| Good | Avoid |
|---|---|
Elevation/Small, Elevation/Medium, Overlay/Popover | Shadow copy, Blur 1, unnamed layer effects |
A note on variables
Section titled “A note on variables”Figma variables are a newer, more powerful way to store reusable values — and they shine for things like light/dark modes. Modeling your system with variables is great, future-friendly practice.
It’s still perfectly fine to use variables in your design work — just make sure anything Figmage should generate also exists as a published style or component.
In fact, variables and Figmage’s component sources pair really well. You can bind component properties to variables — for example, link a component’s width, height, or corner radius to a spacing/sizing variable. Figmage measures the component, so when you update the variable, the component updates with it and your next sync picks up the new value automatically. That keeps the component sources Figmage reads perfectly in step with the variables they represent. See Components for how measured property tokens work.
Whether you use styles, variables, or a mix, what matters most to Figmage is the same three things: the values are reusable, clearly named, and part of a published library.
Quick tips
Section titled “Quick tips”- Use stable, semantic names — avoid
New ColororUntitled Style. - Keep one consistent naming pattern within each family.
- Use top-level folders (
Light/,Dark/,Web/,Native/) to control how tokens are grouped. - Before publishing, run the handoff checklist.
Next: model the values Figma has no style for — spacing, sizing, icons — over in Components.