Premium UI Design: "wasser"
Maintain a high-end, modern, and fluid user interface that "wows" the user.
Visual Language
1. Glassmorphism
Use semi-transparent backgrounds with backdrops-blur.
- •Surface:
rgba(255, 255, 255, 0.1)(light) /rgba(15, 23, 42, 0.6)(dark). - •Blur:
backdrop-filter: blur(12px). - •Border: Subtle
1pxwhite border at0.1opacity.
2. Color Palette
Defined in tailwind.config.js and src/theme/index.ts.
- •Primary: Deep Teal / Blue.
- •Accents: Vivid gradients representing water purity.
- •Mineral Colors: See
mineralConfig.tsfor specific color tokens per mineral.
Micro-Interactions (Framer Motion)
Every action should have a physical feel.
- •Entry: Subtle slide + fade-in (
duration: 0.4,ease: "easeOut"). - •Hover: Slight scale-up (
1.02) + shadow increase. - •Feedback: "Haptic" style animations for button presses.
Layout Principles
- •Safe Area: Always respect
env(safe-area-inset-top)andbottom. - •Spacing: Use 4px grid (spacing-1, 2, 4, 8).
- •Typography: Outfit/Inter with tight letter-spacing for headings.
Component Reference
- •Icons: Lucide React.
- •UI Components: MUI (Material UI) + custom styled wrappers.
- •Backgrounds:
LivingBackground.tsxfor dynamic particle effects.