--- name: premium-visual-polish description: >- Provides guidelines for high-end visual depth, ambient background glow, refined glassmorphism, inner highlights, and typographic polish. Use when styling, modernizing, or refining UI components to impart a luxury, top-tier software aesthetic (Linear/Apple/Vercel style). --- # Premium Visual Polish Skill ## Visual Depth & Luxury Aesthetic 1. **Ambient Glow Blobs**: - Backgrounds should avoid flat black or plain gray. Add soft, blurred ambient colored orbs to create atmospheric depth: ```jsx
``` 2. **3-Tier Layered Glass Elevation System**: - **Tier 1 (Base Shell)**: - Dark: `bg-[#0a0a0a]` or `bg-[#071107]` with subtle radial gradients. - Light: `bg-[#f8fafc]` (slate-50) with delicate alabaster tones. - **Tier 2 (Structural Cards & Sidebars)**: - Dark: `bg-[rgba(10,22,10,0.75)] backdrop-blur-2xl border border-white/10 shadow-[0_4px_24px_rgba(0,0,0,0.2)]` - Light: `bg-white/85 backdrop-blur-2xl border border-black/8 shadow-[0_4px_24px_rgba(0,0,0,0.06)]` - **Tier 3 (Floating Popovers, Menus, Modals)**: - Dark: `bg-[rgba(15,28,15,0.92)] backdrop-blur-3xl border border-lime/20 shadow-[0_16px_48px_rgba(0,0,0,0.5),0_0_24px_rgba(132,204,22,0.08)]` - Light: `bg-white/95 backdrop-blur-3xl border border-slate-200 shadow-[0_16px_48px_rgba(0,0,0,0.12)]` 3. **Inner Highlights & Glass Edge Sheen**: - High-end glass elements feature a top edge highlight representing light hitting the beveled glass edge: ```css box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12), 0 4px 20px rgba(0, 0, 0, 0.25); ``` - For primary buttons: ```css box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), 0 2px 8px rgba(132, 204, 22, 0.3); ``` 4. **Typography & Hierarchy**: - **Headings & Titles**: Use tight letter-spacing: `tracking-tight` (`letter-spacing: -0.025em`) to feel modern and intentional. - **Numbers & Metrics**: Use tabular figures (`font-variant-numeric: tabular-nums` or `tabular-nums`) to prevent jitter in counters, dates, and timestamps. - **Labels & Subtitles**: Uppercase micro-labels with wide letter-spacing (`text-[10px] font-semibold tracking-wider uppercase text-lime/80`). 5. **Icon Containers & Badges**: - Avoid naked icons on bare backgrounds. Place icons in subtle glass badges: ```jsx
``` 6. **Empty States & Refined Placeholders**: - Empty states should look designed, not like missing content. Include: - A subtle glass badge with a soft glow behind the icon. - A concise title (`text-sm font-semibold text-white/80`). - A helpful hint (`text-xs text-white/40 max-w-xs text-center`).