ODT lightweight

Style Guide

Color Palette

Primary and secondary brand colors. Click any color to copy its HEX value.

Primary

50
100
200
300
400
500
600
700
800
900

Secondary

50
100
200
300
400
500
600
700
800
900

Neutral

50
100
200
300
400
500
600
700
800
900
950

Semantic

Success
Warning
Danger
Info

Gradients

Linear gradients used across surfaces.

from-primary-50

via-primary-0 via-60%

to-secondary-50

from-primary-50

to-white

from-secondary-50

to-white

from-primary-200

via-primary-50 via-60%

to-secondary-100

Primary Background

from-primary-50 via-primary-50 via-60% to-secondary-50

Gradient

from-primary-200 via-primary-50 via-50% to-secondary-100

Text & Typography

Foreground color tokens used for text and icons.

text-fg-strong — Strong heading

text-fg — Default body text

text-fg-muted — Secondary / muted text

text-fg-subtle — Metadata / helper text

text-fg-disabled — Disabled text


text-fg-primary — Brand accent

text-fg-primary — Brand accent

text-fg-success

text-fg-warning

text-fg-danger

text-fg-info

text-fg-inverse-strong

text-fg-inverse

text-fg-inverse-muted

text-fg-inverse-subtle

text-fg-inverse-disabled

Content Hierarchy

How text tokens compose a content card.

Updated 2 hours ago

Design System Release

Core tokens have been updated across all surfaces.

Secondary context and supporting details.

12 min read · By design team
Updated 2 hours ago

Design System Release

Core tokens have been updated across all surfaces.

Secondary context and supporting details.

12 min read · By design team

Surfaces

Common surface and container styles.

Elevated

bg-surface / shadow-card

Flat

bg-surface

Elevated multed

from-primary-50 to-white

Flat multed

>bg-surface

Elevated Subtle

bg-surface-subtle / shadow-card

Flat Subtle

bg-surface-subtle

Gradient Primary

from-primary-50 to-white

Gradient Secondary

from-secondary-50 to-white (to-br)

Surfaces on Surface Multed

Common surface and container styles.

Elevated

bg-surface / shadow-card

Flat

bg-surface

Elevated multed

from-primary-50 to-white

Flat multed

>bg-surface

Elevated Subtle

bg-surface-subtle / shadow-card

Flat Subtle

bg-surface-subtle

Gradient Primary

from-primary-50 to-white

Gradient Secondary

from-secondary-50 to-white (to-br)

Surfaces on Gradient

Containers placed on the gradient.

Elevated

bg-surface / shadow-card

Flat

bg-surface

Elevated multed

from-primary-50 to-white

Flat multed

>bg-surface

Elevated Subtle

bg-surface-subtle / shadow-card

Flat Subtle

bg-surface-subtle

Gradient Primary

from-primary-50 to-white

Gradient Secondary

from-secondary-50 to-white (to-br)

Frosted Surfaces

Surface tokens with translucency and backdrop blur.

Elevated

Elevated glass surface for primary content.

Flat

Lightweight glass surface with minimal emphasis.

Elevated Muted

Elevated muted surface for secondary content.

Flat Muted

Muted surface for supporting information.

Elevated Subtle

Elevated subtle surface for low-emphasis content.

Flat Subtle

Subtle surface for background groupings.

Gradient Primary

Frosted gradient surface with primary accents.

Gradient Secondary

Frosted gradient surface with secondary accents.

Semantic Colors

Status and feedback colors.

Success

bg-surface-success

Warning

bg-surface-warning

Danger

bg-surface-danger

Info

bg-surface-info

Radius

Border radius tokens from sharp to fully round.

xs
sm
md
lg
xl
2xl
3xl
4xl
full

Buttons

Filled, frosted, capsule, ghost, and sizes.

Filled

Frosted

Capsule

Ghost

Text Sizes

Typography scales for headings and body.

text-5xl (Heading 1)

The quick brown fox

text-4xl (Heading 2)

The quick brown fox

text-3xl (Heading 3)

The quick brown fox

text-2xl (Heading 4)

The quick brown fox

text-xl (Heading 5)
The quick brown fox
text-lg (Large Body)

The quick brown fox jumps over the lazy dog.

text-base (Default Body)

The quick brown fox jumps over the lazy dog.

text-sm (Small text)

The quick brown fox jumps over the lazy dog.

text-xs (Extra Small)

The quick brown fox jumps over the lazy dog.

Spacing

Consistent spacing tokens for layout and components.

1 (4px)
2 (8px)
3 (12px)
4 (16px)
6 (24px)
8 (32px)
12 (48px)
16 (64px)

Component Examples

Cards with different content applying spacing and typography.

Design Sync

Oct 12, 10:00 AM - 11:00 AM

Upcoming
Discussing the new component library and reviewing latest mockups.
JD

John Doe

Senior Designer

john.doe@example.com

Total Bookings

1,284 +12% this week

Pro Plan

$29/mo

Everything you need to manage your team.

  • Unlimited projects
  • Team collaboration
  • Analytics dashboard

Notifications

Manage how you receive alerts.

Email Alerts

Receive updates via email.

Push Notifications

Alerts on your mobile device.

Invite Team Member

Send an invitation to join your workspace.

Design Rules (Do's & Don'ts)

Guidelines for shadows, spacing, and colors.

1. Shadows

Don't

Dark, tight, drop shadows feel unnatural and heavy.

Incorrect Shadow
Do

Soft, diffused, downward shadows (e.g. shadow-card) feel elevated.

Correct Shadow

2. Spacing Inside Cards

Don't

Too tight or inconsistent spacing makes content hard to read.

Title

Subtitle right below

Content cramped together.
Do

Generous, consistent padding (e.g. p-6) and clear gaps (gap-4).

Title

Clear separation

Content breathes well.

3. Color Contrast

Don't

Low contrast text on backgrounds is unreadable.

Bad Contrast
Do

Ensure high contrast (e.g. dark text on light bg).

Good Contrast

4. Typography Hierarchy

Don't

Using the same font size/weight for titles and body creates a flat structure.

Article Title

This is the description of the article which looks exactly like the title.

Do

Use font sizes and weights (e.g. bold vs normal) to separate content clearly.

Article Title

This is the description of the article which is visually distinct.

5. Button Emphasis

Don't

Using two primary buttons side-by-side confuses the user on what to do.

Do

Use primary for the main action and ghost/secondary for secondary actions.

6. Horizontal Scroll Overflow

Don't

Adding padding inside a scroll wrapper cuts off items abruptly during scroll.

1
2
3
4
Do

Apply padding inside the scrolling area (e.g. px-4) so items bleed to the edge.

1
2
3
4

7. Excessive Intense Colors

Don't

Overusing intense colors (primary-900, secondary-900) makes the UI heavy and overwhelming.

Heavy Card

Everything in this card screams for attention, tiring the user's eyes.

Do

Use intense colors sparingly as accents or interactive elements on lighter surfaces.

Balanced Card

The content is easy to read, with the primary color used only to guide action.