Robert Moggach

Style Guide

Type Scale Waterfall

text-6xl - Geist Sans
text-5xl - Geist Sans
text-4xl - Geist Sans
text-3xl - Geist Sans
text-2xl - Geist Sans
text-xl - Geist Sans
text-lg - Geist Sans
text-base - Geist Sans (default)
text-sm - Geist Sans
text-xs - Geist Sans

Font Weights

font-light (300)
font-normal (400)
font-medium (500)
font-semibold (600)
font-bold (700)

Font Families

font-sans - Geist Sans
font-mono - Geist Mono
font-brand - Geist Sans

Colors

Primary Colors

normal

accent

muted

primary

secondary

Block Colors

card

popover

input

sidebar

sidebar-muted

sidebar-accent

Chart Colors

chart-1

chart-2

chart-3

chart-4

chart-5

Text Colors

text-foreground - Primary text

text-muted-foreground - Secondary text

text-primary - Primary color text

text-secondary-foreground - Secondary color text

text-accent-foreground - Accent color text

text-destructive - Destructive/error text

Borders & Radius

Border Radius

rounded-sm

rounded-md

rounded-lg

rounded-xl

Border Styles

border-border - Default border
border-2 border-primary - Primary border
border-border - Muted border
border-destructive - Destructive border

Spacing

Padding

p-1
p-2
p-4
p-6
p-8

Margin (shown with background)

m-1
m-2
m-4

Shadows & Effects

shadow-sm

Small shadow

shadow-md

Medium shadow

shadow-lg

Large shadow

Interactive Elements

Buttons

Form Elements

Custom Scrollbar

The scrollbar below should work with scroll wheel, touch, and drag interactions. It uses your custom CSS variables for theming.

Custom Scrollbar Demo

This container demonstrates the custom scrollbar styling.

Scroll wheel: Should work normally

Touch scroll: Should work on mobile/trackpad

Drag scrollbar: Click and drag the scrollbar thumb

Scrollbar Features:

  • Track: --scrollbar-track
  • Thumb: --scrollbar-thumb
  • Hover effects with scaling
  • Smooth transitions
  • Theme-aware colors

🎨 Customization: Edit the CSS variables in globals.css

📱 Mobile: Uses momentum scrolling on iOS

🖱️ Desktop: Custom styled scrollbar with hover effects

📜 More content to make this scrollable...

🔄 Keep scrolling to test the scrollbar...

⚡ The scrollbar should be smooth and responsive...

🖱️ Try different input methods...

🎯 Mouse wheel, trackpad, touch, drag...

✨ All should work seamlessly...

🚀 This container should capture scroll events...

📊 Content continues below...

🎨 Custom scrollbar styling active...

🔧 Hover over scrollbar to see effects...

📱 Touch scrolling enabled...

⌨️ Keyboard navigation works too...

🎪 More content for testing...

🌟 Scroll wheel should work in this box...

🎭 Not on the main page...

🎨 Custom colors from CSS variables...

🔥 Almost at the end...

🎉 End of scrollable content!