Three Buckets

General Facts

Colour Tokens

Components need values to be real

Colours, Type, Spacing, Borders

Shadows (Elevation)

You give easy to read names to values

Styles only cover one level..

Levels of Tokens

Root Value is the start

Global name (used across apps)

System/Alias can be within an app theme

Component specific

Colours have multiple but others might not

Token Naming

Untitled

Untitled

Token Name = Type + Tier

contentAccent = content + Accent

Untitled

To share All your styles from one file to another you need Libraries

Make Styles

  1. Make Color pallete in your file
  2. Short the colors as in same order as canvas using “shorter” plugin
  3. Rename all the colors using batch renaming (Ctrl + R ) (Make sure to use “/” after name name if you want to make multiple layer naming)
  4. e.g For all greys “Grey/”
  5. Select base greys and batch rename again “and say $&(current name) and Base and wirte $n(numbers”
  6. Do the same for Mids and Contrasts
  7. Use “Styler” plugin and “generate styles” to save all the style at once
  8. Similarly we can also make Text styles

Untitled

Type Styles

Prefer Google Fonts

Figma doesn’t save colour

Limited sizes and two weights

Do not go below 12px

No rule for increments

Mobile and Web have different type systems

Plugins

Find and Replace - Allow to quickly replace a word all across the figma file

Ghost UX Writer - To add good dummy text to the figma file

SPELLL - Spell check for you silly spelling mistakes

Untitled