61 lines
3.2 KiB
Markdown
61 lines
3.2 KiB
Markdown
---
|
|
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
|
|
<div className="fixed inset-0 pointer-events-none overflow-hidden -z-10">
|
|
<div className="absolute -top-40 -left-40 w-96 h-96 bg-lime-500/10 rounded-full blur-[100px] animate-pulse duration-[8000ms]" />
|
|
<div className="absolute top-1/2 -right-40 w-96 h-96 bg-emerald-500/8 rounded-full blur-[120px]" />
|
|
</div>
|
|
```
|
|
|
|
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
|
|
<div className="w-8 h-8 rounded-xl bg-white/5 dark:bg-white/5 border border-white/10 flex items-center justify-center text-lime shadow-sm">
|
|
<i className="fa-solid fa-sparkles text-sm" />
|
|
</div>
|
|
```
|
|
|
|
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`).
|