Skip to content

Commit 91ef49d

Browse files
fix(desktop): tint the native frame lightly so macOS vibrancy shows through
macOS already draws the blurred desktop beneath the view; painting the 84% --frame-glass tint on top made the rail read as solid. The native frame now adds only the place tint at --frame-native-tint; the browser fallback keeps --frame-glass with its CSS blur. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f8559ae commit 91ef49d

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎desktop/src/design/tokens.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,6 +1247,7 @@
12471247
"overturn-button-size": "var(--why-button-size)",
12481248
"overturn-button-weight": "var(--why-button-weight)",
12491249
"frame-blur": "40px",
1250+
"frame-native-tint": "38%",
12501251
"frame-saturate": "1.4",
12511252
"search-field-gap": "10px",
12521253
"search-field-size": "13px",

‎desktop/src/styles/material.css‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
browsers blur only chrome so opaque content never samples a second blur. */
33
.app-shell { background: var(--frame); }
44
:root[data-material="native"] body { background: transparent; }
5-
:root[data-material="native"] .app-shell { background: var(--frame-glass); backdrop-filter: none; }
5+
/* macOS already draws the blurred desktop beneath the view, so the native frame adds only the place tint at a light
6+
weight. The heavier --frame-glass tint is for the browser fallback, where CSS blur is the only material. */
7+
:root[data-material="native"] .app-shell { background: color-mix(in oklch, var(--frame) var(--frame-native-tint), transparent); backdrop-filter: none; }
68
:root[data-material="native"] .app-shell :is(.sidebar, .workspace-tabbar, .content-toolbar) { background: transparent; backdrop-filter: none; }
79
:root[data-material="glass"] .app-shell { background: transparent; backdrop-filter: none; }
810
:root[data-material="glass"] .app-shell :is(.sidebar, .workspace-tabbar, .content-toolbar) {

‎desktop/src/styles/tokens.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,7 @@
12481248
--overturn-button-size: var(--why-button-size);
12491249
--overturn-button-weight: var(--why-button-weight);
12501250
--frame-blur: 40px;
1251+
--frame-native-tint: 38%;
12511252
--frame-saturate: 1.4;
12521253
--search-field-gap: 10px;
12531254
--search-field-size: 13px;

0 commit comments

Comments
 (0)