Lantern Beacon Colors Reference โ
This document shows all available beacon color schemes for the Wave-to-Meet feature.
Color Schemes โ
When two users accept a wave, they are assigned a matching color. Both phones display the same color beacon to help them identify each other in person.
๐ Amber (Warm Glow) โ
- Gradient: Amber-400 โ Amber-500 โ Orange-500
- Shadow:
rgba(245, 158, 11, 0.8) - Use case: Default Lantern branding color
- Vibe: Warm, welcoming, classic
Tailwind classes:
bg-amber-500
from-amber-400 via-amber-500 to-orange-500๐ฃ Purple (Mystic Vibe) โ
- Gradient: Purple-400 โ Purple-500 โ Pink-500
- Shadow:
rgba(168, 85, 247, 0.8) - Use case: High contrast, playful
- Vibe: Mysterious, creative, energetic
Tailwind classes:
bg-purple-500
from-purple-400 via-purple-500 to-pink-500๐ต Blue (Ocean Feel) โ
- Gradient: Blue-400 โ Blue-500 โ Cyan-500
- Shadow:
rgba(59, 130, 246, 0.8) - Use case: Calm environments
- Vibe: Cool, professional, trustworthy
Tailwind classes:
bg-blue-500
from-blue-400 via-blue-500 to-cyan-500๐ข Green (Forest Calm) โ
- Gradient: Emerald-400 โ Emerald-500 โ Teal-500
- Shadow:
rgba(16, 185, 129, 0.8) - Use case: Natural, outdoor venues
- Vibe: Fresh, balanced, organic
Tailwind classes:
bg-emerald-500
from-emerald-400 via-emerald-500 to-teal-500๐ธ Pink (Rose Energy) โ
- Gradient: Pink-400 โ Pink-500 โ Rose-500
- Shadow:
rgba(236, 72, 153, 0.8) - Use case: Romantic, social settings
- Vibe: Playful, affectionate, bold
Tailwind classes:
bg-pink-500
from-pink-400 via-pink-500 to-rose-500Implementation โ
Colors are randomly assigned when a wave is accepted:
js
const colors = ['amber', 'purple', 'blue', 'green', 'pink']
const matchColor = colors[Math.floor(Math.random() * colors.length)]The matchColor is stored in the connection object and synchronized to both users via the backend.
Accessibility Considerations โ
Color Blindness โ
While colors are the primary matching mechanism, consider adding:
- Patterns: Different pulsing rhythms for each color
- Icons: Small icon overlays (๐ ๐ฃ๐ต๐ข๐ธ)
- Haptics: Unique vibration patterns
Low Light โ
All colors use:
- High brightness gradients
- Radial glow effects
- Drop shadows for depth
- Screen brightness boost (future feature)
High Light (Outdoor) โ
- Increase contrast
- Add white border overlay
- Consider sound/vibration fallback
Testing in Storybook โ
bash
npm run storybookNavigate to Components > LanternBeacon to preview all 5 color variants side-by-side.
Future: Custom Colors โ
For premium features or special events, consider:
- Gold: VIP/premium users
- Rainbow: Pride events
- Team colors: Sports venues
- Seasonal: Holiday-themed (red/green for December, etc.)
See WAVE_TO_MEET.md for full feature documentation.