mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
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:
@@ -7,6 +7,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;
|
||||
@@ -204,11 +208,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,
|
||||
@@ -4159,7 +4164,7 @@ html[data-standalone="true"] .app-shell {
|
||||
-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%;
|
||||
@@ -4168,6 +4173,7 @@ html[data-standalone="true"] .app-shell {
|
||||
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;
|
||||
}
|
||||
@@ -4221,6 +4227,10 @@ html[data-standalone="true"] .app-shell {
|
||||
right: 144px;
|
||||
}
|
||||
|
||||
:host(.wm-capsule-host[data-dock="fixed"][data-os="mac"]) {
|
||||
right: 12px;
|
||||
}
|
||||
|
||||
@keyframes wm-dot-pulse {
|
||||
0%, 100% {
|
||||
opacity: 1;
|
||||
@@ -4662,11 +4672,12 @@ html[data-standalone="true"] .app-shell {
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user