Tomato Lab Graphic Standards

Ask hello@tomatolab.org for access.

Roma, the design system, is open to everyone: Using Roma.

Tomato Lab Graphic Standards

Roma / Components

Button

Edit this page

Heavy and unmistakable, with a slight 4px corner. One Primary button per view; Secondary and Outline for everything else. Emphasis, in Water, is for the rare action that must stand out.

Light
Dark
<button class="tl-button">Subscribe</button>
<button class="tl-button tl-button--secondary">Read more</button>
<button class="tl-button tl-button--outline">Cancel</button>
<button class="tl-button tl-button--emphasis">Report</button>
<a class="tl-button tl-button--lg" href="/shop">Visit the shop</a>

Variants and states

DefaultHoverPressedFocusDisabled
PrimaryButtonButtonButtonButton
SecondaryButtonButtonButtonButton
OutlineButtonButtonButtonButton
EmphasisButtonButtonButtonButton

Sizes

<button class="tl-button tl-button--outline tl-button--sm">Theme</button>

Small (tl-button--sm, 32px, 14px bold label) is for Secondary and Outline, in toolbars, footers and dense UI. There is no small Primary or Emphasis button: a filled Tomato or Water label below 19px bold fails contrast (Lab Coat on Tomato, and on Water too). Figma and Pencil Box do not have the small size yet.

Guidelines

Do

Use one Primary button for the main action in a view. Write labels as short verbs: Subscribe, Buy, Save.

Don't

Line up several Primary buttons, or use a button for navigation that should be a link.

Figma: Button component set, 30 variants (Variant × Size × State), Label property.