Alpha

Design Tokens

The foundation of AdorableCSS's design system. Consistent, scalable, and beautiful tokens for building cohesive interfaces.

Shadows & Elevation

A refined shadow system that creates depth and hierarchy. From subtle elevation to dramatic effects for memorable interfaces.

Shadow Scale

Progressive elevation system - hover to feel the depth

0
shadow(none)
xs
shadow(xs)
sm
shadow(sm)
md
shadow(md)
lg
shadow(lg)
xl
shadow(xl)
2xl
shadow(2xl)
inner
shadow(inner)
card
shadow(card)
hover
shadow(hover)

Elevation Profile

0dp
4dp
8dp
12dp
16dp
20dp
24dp
28dp
32dp
36dp

Interactive Shadow Demo

Hover Effect

Smooth elevation on hover

Scale & Shadow

Combined transformations

Press Effect

Depth reduction on hover

Elevation System

Material-inspired elevation using shadow tokens

1dp
shadow(xs)

Subtle elevation for UI elements

2dp
shadow(sm)

Small elevation for cards and buttons

4dp
shadow(md)

Medium elevation for raised components

8dp
shadow(lg)

Large elevation for dropdowns and tooltips

16dp
shadow(xl)

Extra large elevation for modals

24dp
shadow(2xl)

Maximum elevation for overlays

Shadow & Elevation Combinations

Soft
shadow(sm) shadow(gray-300.5)
Color
shadow(md) shadow(indigo-200.3)
Raised
shadow(lg)
Drama
shadow(2xl) shadow(purple-200.4)

Shadow Design Guidelines

Material Design Elevation

0dp

Surface

1dp

Card

2dp

Button

4dp

App Bar

8dp

Menu

24dp

Dialog

🎨 Color Shadows

Add color to shadows for more vibrant, modern designs

shadow(xl) shadow(purple-200.4)
🚀 Interactive States

Use shadow transitions for hover and active states

shadow(sm) hover:shadow(xl)
✨ Best Practices
  • • Use consistent elevation across similar components
  • • Higher elevation = more importance or temporary state
  • • Combine shadows with transforms for realistic depth
  • • Consider using colored shadows for brand expression