Best For
macOS vibrancy / macOS design / frosted glass sidebar
macOS 毛玻璃
Rate this styleNative macOS dark vibrancy style. Multi-layer dark gray panels, system-level backdrop-blur, and extreme restraint create the calm, professional feel of a desktop application.
Best For
macOS vibrancy / macOS design / frosted glass sidebar
Primary Move
Use three-depth dark gray system: #1c1c1e (deepest) -> #2c2c2e -> #3a3a3c (lightest)
Watch Out
No gradients on any element (backgrounds are solid dark grays)
design.md
One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.
Three greys, system-level blur and almost no ornament — the calm of a desktop app.
Theme: dark
This style reproduces native macOS material: a window built from three greys (#1c1c1e deepest, #2c2c2e middle, #3a3a3c lightest), a sidebar at 80% opacity with a large backdrop blur for vibrancy, and every divider a 1px white line at 8% to 12% — never thicker. Serif headlines (Georgia) converse with a sans body, which is what separates it from a generic dark dashboard. Motion may only change color, over 200ms ease-out; any translation or scale reminds the eye this is a web page.
| Name | Value | Token | Role |
|---|---|---|---|
| Deepest Grey | #1c1c1e | --color-deepest | Window ground and sidebar base. The deepest layer; every other grey stacks above it. |
| Mid Grey | #2c2c2e | --color-mid | Content area and list rows, one step above the deepest grey to separate sidebar from canvas. |
| Light Grey | #3a3a3c | --color-light-grey | Toolbars, floating panels and any surface that should sit one layer closer to the viewer. |
| System Blue | #0a84ff | --color-system-blue | Selection, links and the primary button — the system accent, and the only one. |
| System Green | #30d158 | --color-system-green | Success, presence and completion; small marks only when blue is also on screen. |
| System Orange | #ff9f0a | --color-system-orange | Warnings and pending items — 'look at this', not 'this failed'. |
| System Red | #ff453a | --color-system-red | Destructive and irreversible actions. Its presence implies a cost. |
| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|---|---|
| display | Georgia | 700 | 40px | 1.15 | -0.01em | --text-display |
| heading | Georgia | 400 | 32px | 1.25 | — | --text-heading |
| subheading | SF Pro Text | 600 | 17px | 1.3 | — | --text-subheading |
| body | SF Pro Text | 400 | 15px | 1.5 | — | --text-body |
| body-sm | SF Pro Text | 400 | 13px | 1.5 | — | --text-body-sm |
| label | SF Pro Text | 500 | 11px | 1.4 | 0.02em | --text-label |
| code | SF Mono | 400 | 13px | 1.6 | — | --text-code |
Base unit: 4px Density: compact
| Name | Value | Token |
|---|---|---|
| 4 | 4px | --spacing-4 |
| 8 | 8px | --spacing-8 |
| 12 | 12px | --spacing-12 |
| 16 | 16px | --spacing-16 |
| 24 | 24px | --spacing-24 |
| 32 | 32px | --spacing-32 |
| 48 | 48px | --spacing-48 |
| 64 | 64px | --spacing-64 |
| Element | Value |
|---|---|
| cards | 10px |
| buttons | 6px |
| inputs | 6px |
| panels | 14px |
| pills | 999px |
Role: Sidebar and overlay background
80%-opaque deep grey with a 40px backdrop blur and a single 1px white border at 10% on the right edge. 240px wide, 12px padding. Selected items take 18% system blue on a 6px radius; hover uses 8% white. No translation and no scaling.
Role: Primary and toolbar buttons
System blue fill, white text, 6px radius, no border, 13px type at weight 500, 6px 14px padding. Hover brightens the fill by 8% and press dims it by 10%, over 200ms with color as the only animated property. Disabled uses a 12% white fill with text at 40%.
Role: Settings, file and message rows
44px tall, 12px horizontal padding, 6px radius, no background. Rows separate with a 1px white line at 8%. Hover fills 6% white; selection fills 18% system blue. The leading icon is 16px and the trailing note is 13px at 60% white.
Role: View switch and filters
The track is 6% white on an 8px radius, 28px tall; the selected segment fills light grey #3a3a3c on a 6px radius with an inset 0 1px 0 at 6% white. Type is 11px at weight 500. Switching animates color and position only, over 200ms.
Role: Window toolbar
52px tall, light grey #3a3a3c fill, a 1px white border at 10% along the bottom, no shadow. Three 12px traffic-light dots sit on the left, a 13px serif title is centred, and tool buttons sit on the right. The title is centred, not left-aligned.
| Level | Name | Value | Purpose |
|---|---|---|---|
| 0 | Deepest | #1c1c1e | 窗口底与侧边栏 |
| 1 | Mid | #2c2c2e | 内容区与列表行 |
| 2 | Light Grey | #3a3a3c | 工具栏与浮动面板 |
| 3 | Vibrancy | rgba(28,28,30,0.8) | 配 backdrop-blur 的通透层 |
0 1px 0 rgba(255,255,255,0.08) inset, 0 20px 48px rgba(0,0,0,0.5)0 12px 32px rgba(0,0,0,0.55)App and window screenshots, with a light wallpaper behind them so vibrancy has something to pick up. Real interface density — grids and lists — is welcome. No illustration, cartoon icons or saturated photography.
Capped at 1280px with a fixed 240px sidebar beside the content column. Rows are 44px, sections 48px apart, padding 16px — noticeably denser than the web. The toolbar stays pinned; the content column scrolls on its own while the sidebar does not.
QUICK COLOR REFERENCE:
rgba(255,255,255,0.92)#1c1c1e#2c2c2e#3a3a3c#0a84ffrgba(255,255,255,0.10)EXAMPLE COMPONENT PROMPTS:
:root {
/* Colors */
--color-deepest: #1c1c1e;
--color-mid: #2c2c2e;
--color-light-grey: #3a3a3c;
--color-system-blue: #0a84ff;
--color-system-green: #30d158;
--color-system-orange: #ff9f0a;
--color-system-red: #ff453a;
/* Typography — Font Families */
--font-serif: 'Georgia', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-sans: 'SF Pro Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-mono: 'SF Mono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-display: 40px;
--leading-display: 1.15;
--tracking-display: -0.01em;
--text-heading: 32px;
--leading-heading: 1.25;
--text-subheading: 17px;
--leading-subheading: 1.3;
--text-body: 15px;
--leading-body: 1.5;
--text-body-sm: 13px;
--leading-body-sm: 1.5;
--text-label: 11px;
--leading-label: 1.4;
--tracking-label: 0.02em;
--text-code: 13px;
--leading-code: 1.6;
/* Typography — Weights */
--font-weight-regular: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
/* Spacing */
--spacing-unit: 4px;
--spacing-4: 4px;
--spacing-8: 8px;
--spacing-12: 12px;
--spacing-16: 16px;
--spacing-24: 24px;
--spacing-32: 32px;
--spacing-48: 48px;
--spacing-64: 64px;
/* Layout */
--page-max-width: 1280px;
--section-gap: 48px;
--card-padding: 16px;
--element-gap: 8px;
--density: compact;
/* Border Radius */
--radius-cards: 10px;
--radius-buttons: 6px;
--radius-inputs: 6px;
--radius-panels: 14px;
--radius-pills: 999px;
/* Surfaces */
--surface-deepest: #1c1c1e;
--surface-mid: #2c2c2e;
--surface-light-grey: #3a3a3c;
--surface-vibrancy: rgba(28,28,30,0.8);
}
Component Templates
FAQ
/* macOS Vibrancy Global Styles */
:root {
--mv-bg-deep: #1c1c1e;
--mv-bg-mid: #2c2c2e;
--mv-bg-surface: #3a3a3c;
--mv-border: rgba(255, 255, 255, 0.08);
--mv-text: rgba(255, 255, 255, 0.95);
--mv-text-secondary: rgba(255, 255, 255, 0.7);
--mv-text-muted: rgba(255, 255, 255, 0.4);
--mv-accent: #0a84ff;
}
.mv-sidebar {
background: rgba(28, 28, 30, 0.8);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-right: 1px solid var(--mv-border);
}
.mv-panel {
background: var(--mv-bg-mid);
border: 1px solid var(--mv-border);
}
@keyframes macos-vibrancy-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes macos-vibrancy-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.macos-vibrancy-card {
position: relative;
overflow: hidden;
}
.macos-vibrancy-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(58, 58, 60, 0.05), transparent);
pointer-events: none;
}
.macos-vibrancy-card:hover::before {
opacity: 1;
}
.macos-vibrancy-gradient {
background: linear-gradient(135deg, #3a3a3c, #0a84ff);
}
.macos-vibrancy-gradient-text {
background: linear-gradient(135deg, #3a3a3c, #0a84ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.macos-vibrancy-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.macos-vibrancy-animate-in {
animation: macos-vibrancy-fade-in 0.5s ease-out both;
}Related Styles
Explore these styles for ready-made tokens and components.
macOS Vibrancy and Asymmetric Grid sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.
| Attribute | macOS Vibrancy | Asymmetric Grid |
|---|---|---|
| Primary color | #3a3a3c | #0f0f0f |
| Secondary color | #1c1c1e | #ffffff |
| Best for | macOS vibrancy / macOS design / frosted glass sidebar | asymmetric grid / broken grid layout / asymmetrical layout |
| Unique tags | — | high-contrast |
macOS Vibrancy is the Web adaptation of Apple's desktop application design language. Its core is restraint, not spectacle.