YaVendio Registry
Design System

Colors

Complete color system for the YaVendio Design System

The YaVendio color palette provides consistency, accessibility, and visual appeal across all components.

Primary Colors

Plum (Brand Color)

The primary brand color used for main actions and key UI elements.

100#e5dcef
200#ab84c8
300#8d3f87
400#6a2f65
500#31162f
TokenHEXUsage
--ya-plum-100#e5dcefLight backgrounds, hover states
--ya-plum-200#ab84c8Secondary accents
--ya-plum-300#8d3f87Primary brand color
--ya-plum-400#6a2f65Pressed states, dark accents
--ya-plum-500#31162fDarkest variant, shadows

Indigo (Yago)

Complementary accent for Yago-related elements.

100#edf1f8
200#b6c0e2
300#6d81c5
400#3a4e92
500#2a396b
TokenHEXUsage
--ya-indigo-100#edf1f8Light backgrounds
--ya-indigo-200#b6c0e2Secondary backgrounds
--ya-indigo-300#6d81c5Accent elements
--ya-indigo-400#3a4e92Primary Indigo
--ya-indigo-500#2a396bDark Indigo

Secondary Colors

Yellow

Used for highlights, accents, and primary button borders.

100#fbf8d2
200#f7f2a1
300#f4ec7a
TokenHEXUsage
--ya-yellow-100#fbf8d2Light backgrounds
--ya-yellow-200#f7f2a1Medium accents
--ya-yellow-300#f4ec7aPrimary accent, button borders

Semantic Colors

Colors that communicate meaning and status.

GroupDarkMediumLight
Purple#5955a7#e2e7fc#f0f3fe
Teal#37626d#d9f8fd#ecfcfe
Violet#7e22ce#f3e8ff#faf5ff
Sienna#8e422b#fdeed9#fff6e8
Forest#396244#e2fbe8#f2fff5
Olive#596b34#effcd1#f8ffe8
Caramel#7d5224#fdf9ca#fff9d8
Red Clay#8a4b46#f8e3e2#fceeee

Pill Badge Colors

Soft#d4a5d1
Light#b67db2
Default#8d3f87
TokenHEXUsage
--ya-pill-soft-plum#d4a5d1Soft badges, subtle states
--ya-pill-light-plum#b67db2Light badges
--ya-pill-plumvar(--ya-plum-300)Primary badges
TokenValueDescription
--ya-pill-soft-plumvar(--ya-plum-400)#6a2f65 for subtle dark pills
--ya-pill-light-plumvar(--ya-plum-300)#8d3f87 for light dark pills
--ya-pill-plumvar(--ya-plum-200)#ab84c8 for max contrast

Neutral Scale (Stone)

50
100
200
300
400
500
600
700
800
900
950
TokenHEXUsage
--ya-stone-50#fafaf9Lightest background
--ya-stone-100#f5f5f4Light background
--ya-stone-200#e7e5e4Borders, dividers
--ya-stone-300#d6d3d1Disabled states
--ya-stone-400#a8a29ePlaceholder text
--ya-stone-500#78716cSecondary text
--ya-stone-600#57534eNeutral dark 100
--ya-stone-700#44403cNeutral dark 200
--ya-stone-800#292524Secondary button bg
--ya-stone-900#1c1917Text
--ya-stone-950#0c0a09Darkest background

Usage

Use shadcn standard classes for automatic theming:

// Automatically uses --primary
<button className="bg-primary text-primary-foreground">
  Primary Action
</button>

// Automatically uses --secondary
<div className="bg-secondary text-secondary-foreground">
  Secondary Background
</div>

// Automatically uses --destructive
<span className="text-destructive">
  Error Message
</span>

Benefits: Works with any shadcn theme, easy to rebrand.

Use YA brand colors directly for specific design needs:

// Use specific plum shade
<div className="bg-[var(--ya-plum-300)] text-white">
  Brand Plum Background
</div>

// Use stone for custom neutrals
<div className="border-[var(--ya-stone-300)] bg-[var(--ya-stone-50)]">
  Custom Neutral Card
</div>

// Use yellow accent
<div className="ring-2 ring-[var(--ya-yellow-300)]">
  Yellow Ring
</div>

Use case: When you need exact brand colors regardless of theme.

Use semantic colors for status and categorization:

// Success state
<div className="bg-[var(--ya-forest-light)] text-[var(--ya-forest-dark)]">
  Success Message
</div>

// Warning state
<div className="bg-[var(--ya-caramel-light)] text-[var(--ya-caramel-dark)]">
  Warning Alert
</div>

// Info state
<div className="bg-[var(--ya-teal-light)] text-[var(--ya-teal-dark)]">
  Information Banner
</div>

Use case: Status messages, badges, alerts.

Color Architecture

flowchart TD
    Primitives["Brand Primitives<br/>--ya-plum-300<br/>--ya-stone-100"] --> Shadcn["Shadcn Variables<br/>--primary<br/>--secondary"]
    Shadcn --> Components["Components<br/>bg-primary<br/>text-secondary"]
    Primitives -.->|"Direct usage"| Custom["Custom Elements<br/>bg-[var(--ya-plum-300)]"]

Two ways to use colors:

  1. Via shadcn variables (recommended) — bg-primary, text-secondary
  2. Direct primitives (advanced) — bg-[var(--ya-plum-300)]

On this page