feat(panel): refine macOS overlay geometry, port discovery, font tokens, and LF bundling

Co-authored-by: Swei <sweilo@qq.com>
This commit is contained in:
fish
2026-11-17 22:30:01 +09:00
co-authored by Swei
parent 96bf0c049f
commit d4d359bc89
13 changed files with 444 additions and 25 deletions
+2 -1
View File
@@ -29,11 +29,12 @@ body {
overflow: hidden;
background: var(--surface-bg);
color: var(--text-primary);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
font-family: var(--font-sans);
font-size: var(--fs-body);
line-height: 1.4;
font-variant-numeric: tabular-nums;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
button,
+8 -2
View File
@@ -15,7 +15,7 @@
-webkit-app-region: no-drag;
pointer-events: auto;
user-select: none;
font-family: "Google Sans Flex", "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
font-family: "Google Sans Flex", "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
font-size: 12px;
font-weight: 450;
font-stretch: 100%;
@@ -24,6 +24,7 @@
letter-spacing: 0.015em;
font-variant-numeric: tabular-nums;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: var(--text-primary);
z-index: 2147482900;
}
@@ -77,6 +78,10 @@
right: 144px;
}
:host(.wm-capsule-host[data-dock="fixed"][data-os="mac"]) {
right: 12px;
}
@keyframes wm-dot-pulse {
0%, 100% {
opacity: 1;
@@ -518,11 +523,12 @@
overflow: visible;
pointer-events: none;
z-index: 2147483000;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
font-family: var(--font-sans);
font-size: var(--fs-body);
line-height: 1.4;
font-variant-numeric: tabular-nums;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: var(--text-primary);
}
+4
View File
@@ -6,6 +6,10 @@
:root,
:host {
/* Cross-Platform Typography Stacks (macOS SF Pro / SF Mono + Windows / Linux Fallbacks) */
--font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, "Cascadia Mono", Consolas, monospace;
/* Architectural Geometry: Only Top Nav uses --radius-pill */
--radius-pill: 999px;
--radius-sm: 4px;