Color Palette
All Color Tokens
Primary
Secondary
Tertiary
Accent
Dirt
Grass
Success
Warning
Error
Info
Neutral
Semantic Tokens
Semantic tokens provide meaningful, context-aware color values that automatically adapt between light and dark modes. Use these tokens instead of numbered color values for consistent theming.
Background Tokens
Elevation Hierarchy
bg-basePage backgroundbg-mainPrimary tintsbg-liftedElevated tintsbg-elevatedElevated tintsbg-enlightenedHighest elevationInteractive States
bg-hoverHover statebg-activeActive/pressed statebg-selectedSelected stateForeground Tokens
fg-base
fg-main
fg-lifted
fg-elevated
fg-enlightened
fg-base
fg-main
fg-lifted
fg-elevated
fg-enlightened
fg-base
fg-main
fg-lifted
fg-elevated
fg-enlightened
fg-base
fg-main
fg-lifted
fg-elevated
fg-enlightened
fg-base
fg-main
fg-lifted
fg-elevated
fg-enlightened
Border Tokens
border-baseSubtle dividersborder-mainDefault bordersborder-strongEmphasized bordersborder-liftedLifted bordersborder-elevatedElevated bordersborder-enlightenedEnlightened bordersFocus Ring
focus-ringFocus indicatorThe focus ring token provides consistent keyboard navigation feedback across all interactive elements. It uses the primary color for clear visibility.
Brand Color Semantic Tokens
Each brand color has 7 semantic roles: tint, tint-hover, border, solid, solid-hover, text, and text-on-solid.
primary
secondary
tertiary
accent
Status Color Semantic Tokens
Status colors follow the same 7-role pattern for consistent feedback UI.
success
warning
error
info
Extra Color Semantic Tokens
Nature colors (dirt, grass) are used for softball-themed views. They follow the same 6-role pattern as brand colors.
dirt
grass
Buttons
Filled
Outline
Inverted / Soft
Neutral / Utility
Sizes
States
With Icons
Badges
Special Effects
Gradient Utilities
Simple 3-color diagonal gradients with customizable angles and color stops. Each gradient uses color-1, color-3, and color-5 from the palette, evenly distributed by default.
Default Gradients
ypng-gradient-primaryPrimary
ypng-gradient-invert-primaryPrimary Invert
ypng-gradient-radial-primaryPrimary Radial
ypng-gradient-radial-invert-primaryPrimary Radial Invert
ypng-gradient-secondarySecondary
ypng-gradient-invert-secondarySecondary Invert
ypng-gradient-radial-secondarySecondary Radial
ypng-gradient-radial-invert-secondarySecondary Radial Invert
ypng-gradient-tertiaryTertiary
ypng-gradient-invert-tertiaryTertiary Invert
ypng-gradient-radial-tertiaryTertiary Radial
ypng-gradient-radial-invert-tertiaryTertiary Radial Invert
ypng-gradient-quaternaryQuaternary
ypng-gradient-invert-quaternaryQuaternary Invert
ypng-gradient-radial-quaternaryQuaternary Radial
ypng-gradient-radial-invert-quaternaryQuaternary Radial Invert
ypng-gradient-accentAccent
ypng-gradient-invert-accentAccent Invert
ypng-gradient-radial-accentAccent Radial
ypng-gradient-radial-invert-accentAccent Radial Invert
ypng-gradient-successSuccess
ypng-gradient-invert-successSuccess Invert
ypng-gradient-radial-successSuccess Radial
ypng-gradient-radial-invert-successSuccess Radial Invert
ypng-gradient-infoInfo
ypng-gradient-invert-infoInfo Invert
ypng-gradient-radial-infoInfo Radial
ypng-gradient-radial-invert-infoInfo Radial Invert
ypng-gradient-warmWarm
ypng-gradient-warm-radialWarm Radial
ypng-gradient-coolCool
ypng-gradient-cool-radialCool Radial
Customization Examples
Custom Angle (90deg)
--gradient-angle: 90degCustom Stops
--gradient-mid: 30%Combined
angle: 180deg, mid: 70%Customization: Use CSS variables to control gradients:
--gradient-angle- Direction (default: 135deg)--gradient-start/mid/end- Color positions (default: 0%, 50%, 100%)- For warm/cool:
--gradient-warm-1/2/3or--gradient-cool-1/2/3
Typography
Headers (defaults)
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Font Sizes
text-5xl
text-4xl
text-3xl
text-2xl
text-lg
text-md
text-base
text-sm
text-xs
Fonts
font-header
font-body
font-tight
font-mono
font-codeForm Controls
Input Fields
Textarea
Checkboxes & Switches
Radio Groups
Select Menu
Sliders
Feedback Components
Alerts
Default Alert
Info Alert
Success!
Warning
Error
Progress & Loading
Loading States
Skeleton Loading
Navigation Components
Tabs
Make changes to your account here. Click save when you're done.
Accordion
Interactive Components
Toggles & Toggle Groups
Avatars
Tooltips
Hover Cards
Overlays & Modals
Dialog
Popover
Menus
Dropdown Menu
Context Menu
Menubar
Toolbar
Custom Components
Container
full
percent90
percent80
percent70
xl3
xl2
xl
lg
md
sm
xs
Section
xl
lg
md
sm
xs
none
Loading States
Password Input
Calendar
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
| 26 | 27 | 28 | 29 | 30 | 31 | 1 |
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 | 1 | 2 | 3 | 4 | 5 |
Time Picker
Image Upload
Drag & drop images here, or click to select
Up to 3 files, Max 5MB each