Skip to content

Desktop app that records your on-screen work session and uses the GitHub Copilot SDK to reconstruct it as an intent + ordered steps, then builds a reusable Skill or Automation for Microsoft Autopilots like Scout, Microsoft Copilot Cowork, or Copilot Studio.

Harmonize floating recording bar with the app design system (#43)

adilei0e954b64aaef
diff --git a/src/App.css b/src/App.css
index 313c03c..4f61ec2 100644
--- a/src/App.css
+++ b/src/App.css
@@ -73,6 +73,24 @@ body[data-route="recording-controls"] {
height: 100vh;
overflow: hidden;
background: transparent;
+
+ /* ── HUD skin (dark) — the recording overlay's night surface ─────────────
+ An always-on-top bar floats over arbitrary screen content, so it stays a
+ dark HUD for legibility. These tokens make that darkness a deliberate part
+ of the Scout system: desaturated neutrals with a whisper of warmth (hue 30–40)
+ so it belongs to the cream family, and the SAME lobster-coral accent as the
+ main app — reused from the global --brand / --rec / --signal tokens. */
+ --hud-surface: hsl(30, 6%, 13%); /* bar / dialog / menu card */
+ --hud-surface-2: hsl(30, 5%, 19%); /* inset chips (mic split) */
+ --hud-raised: hsl(30, 5%, 23%); /* neutral secondary buttons (Discard / Keep) */
+ --hud-line: rgba(255, 255, 255, 0.12);
+ --hud-line-strong: rgba(255, 255, 255, 0.2);
+ --hud-hover: rgba(255, 255, 255, 0.06); /* subtle lighten on hover for dark controls */
+ --hud-text: hsl(40, 12%, 96%); /* primary text — warm off-white */
+ --hud-muted: hsl(40, 6%, 68%); /* secondary text */
+ --hud-accent: hsl(8, 85%, 67%); /* coral that reads on dark (mic-on, selected, error) */
+ --hud-warn: hsl(38, 92%, 62%); /* amber that reads on dark */
+ --hud-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.35);
}
body[data-route="recording-controls"] #root {
@@ -926,7 +944,7 @@ button:focus-visible,
width: 100%;
height: 100%;
padding: 4px 6px 2px;
- color: #f7f7f7;
+ color: var(--hud-text);
}
.recording-bar-wrap {
@@ -945,10 +963,10 @@ button:focus-visible,
width: 100%;
min-height: 58px;
padding: 8px 9px 8px 14px;
- border: 1px solid rgba(255, 255, 255, 0.13);
+ border: 1px solid var(--hud-line);
border-radius: 14px;
- background: rgba(32, 32, 34, 0.97);
- box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.3);
+ background: var(--hud-surface);
+ box-shadow: var(--hud-shadow);
-webkit-app-region: drag;
}
@@ -973,8 +991,8 @@ button:focus-visible,
height: 7px;
flex: none;
border-radius: 50%;
- background: #ef594b;
- box-shadow: 0 0 0 3px rgba(239, 89, 75, 0.14);
+ background: var(--rec);
+ box-shadow: 0 0 0 3px rgba(var(--rec-rgb), 0.18);
animation: pulse 1.2s ease-in-out infinite;
}
@@ -988,31 +1006,31 @@ button:focus-visible,
.recording-live-copy strong {
font-size: 12px;
font-weight: 650;
- color: #f7f7f7;
+ color: var(--hud-text);
}
.recording-live-copy span {
font-family: var(--mono);
font-size: 10px;
font-variant-numeric: tabular-nums;
- color: #aaa;
+ color: var(--hud-muted);
}
.recording-divider {
width: 1px;
height: 26px;
flex: none;
- background: rgba(255, 255, 255, 0.13);
+ background: var(--hud-line);
}
.recording-microphone-split {
display: flex;
align-items: center;
height: 36px;
- border: 1px solid rgba(255, 255, 255, 0.14);
- border-radius: 9px;
- background: #2d2d30;
- color: #b8b8bc;
+ border: 1px solid var(--hud-line);
+ border-radius: 10px;
+ background: var(--hud-surface-2);
+ color: var(--hud-muted);
overflow: hidden;
-webkit-app-region: no-drag;
}
@@ -1035,63 +1053,69 @@ button:focus-visible,
place-items: center;
width: 23px;
height: 34px;
- border-left: 1px solid rgba(255, 255, 255, 0.12);
+ border-left: 1px solid var(--hud-line);
background: transparent;
color: inherit;
}
.recording-microphone-split.on {
- border-color: rgba(239, 89, 75, 0.5);
- background: rgba(239, 89, 75, 0.15);
- color: #ff8a80;
+ border-color: rgba(var(--brand-rgb), 0.5);
+ background: rgba(var(--brand-rgb), 0.18);
+ color: var(--hud-accent);
}
.recording-microphone-split.error {
- border-color: rgba(255, 184, 77, 0.55);
- color: #ffc269;
+ border-color: color-mix(in srgb, var(--hud-warn) 55%, transparent);
+ color: var(--hud-warn);
}
.recording-microphone:not(:disabled):hover,
- .recording-microphone-menu-toggle:not(:disabled):hover,
- .recording-discard:not(:disabled):hover {
- filter: brightness(1.16);
+ .recording-microphone-menu-toggle:not(:disabled):hover {
+ background: var(--hud-hover);
}
.recording-discard,
.recording-done {
height: 36px;
padding: 0 13px;
- border-radius: 9px;
+ border-radius: 10px;
font-size: 11.5px;
font-weight: 600;
}
.recording-discard {
margin-left: auto;
- border: 1px solid rgba(255, 255, 255, 0.12);
- background: #343438;
- color: #e6e6e8;
+ border: 1px solid var(--hud-line);
+ background: var(--hud-raised);
+ color: var(--hud-text);
+ }
+
+ .recording-discard:not(:disabled):hover {
+ border-color: var(--hud-line-strong);
+ filter: brightness(1.15);
}
.recording-done {
min-width: 62px;
- background: #fff;
- color: #202024;
+ background: var(--signal);
+ color: var(--brand-fg);
+ box-shadow: 0 2px 12px -3px rgba(var(--brand-rgb), 0.5);
}
.recording-done:not(:disabled):hover {
- background: #f0f0f1;
+ background: var(--brand-hover);
+ box-shadow: 0 3px 16px -3px rgba(var(--brand-rgb), 0.6);
}
.recording-bar button:disabled,
.recording-discard-confirm button:disabled {
- opacity: 0.52;
+ opacity: 0.45;
}
.recording-bar button:focus-visible,
.recording-discard-confirm button:focus-visible,
.recording-microphone-menu button:focus-visible {
- outline: 2px solid #ff766a;
+ outline: 2px solid var(--signal);
outline-offset: 2px;
}
@@ -1100,7 +1124,7 @@ button:focus-visible,
width: 34px;
height: 4px;
border-radius: 999px;
- background: rgba(67, 67, 70, 0.74);
+ background: var(--hud-line-strong);
-webkit-app-region: drag;
}
@@ -1110,11 +1134,11 @@ button:focus-visible,
gap: 13px;
width: 100%;
padding: 15px 16px;
- border: 1px solid rgba(255, 255, 255, 0.14);
- border-radius: 13px;
- background: rgba(37, 37, 40, 0.98);
- box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
- color: #f7f7f7;
+ border: 1px solid var(--hud-line);
+ border-radius: 12px;
+ background: var(--hud-surface);
+ box-shadow: var(--hud-shadow);
+ color: var(--hud-text);
animation: recording-confirm-in 0.15s ease-out;
}
@@ -1125,11 +1149,11 @@ button:focus-visible,
width: 100%;
max-height: 150px;
padding: 12px;
- border: 1px solid rgba(255, 255, 255, 0.14);
- border-radius: 13px;
- background: rgba(37, 37, 40, 0.98);
- box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
- color: #f7f7f7;
+ border: 1px solid var(--hud-line);
+ border-radius: 12px;
+ background: var(--hud-surface);
+ box-shadow: var(--hud-shadow);
+ color: var(--hud-text);
animation: recording-confirm-in 0.15s ease-out;
}
@@ -1147,7 +1171,7 @@ button:focus-visible,
.recording-microphone-menu header span {
overflow: hidden;
- color: #aaa;
+ color: var(--hud-muted);
font-size: 10px;
text-overflow: ellipsis;
white-space: nowrap;
@@ -1170,14 +1194,18 @@ button:focus-visible,
padding: 0 8px;
border-radius: 7px;
background: transparent;
- color: #e6e6e8;
+ color: var(--hud-text);
font-size: 10.5px;
text-align: left;
}
- .recording-microphone-options button:hover,
+ .recording-microphone-options button:hover {
+ background: var(--hud-hover);
+ }
+
.recording-microphone-options button.selected {
- background: rgba(255, 255, 255, 0.08);
+ background: rgba(var(--brand-rgb), 0.14);
+ color: var(--hud-accent);
}
.recording-microphone-options button > span:first-child {
@@ -1188,23 +1216,23 @@ button:focus-visible,
.recording-microphone-selected {
flex: none;
- color: #ff8a80;
+ color: var(--hud-accent);
font-size: 9px;
}
.recording-microphone-menu p {
margin: 0;
- color: #c7c7ca;
+ color: var(--hud-muted);
font-size: 10px;
line-height: 1.35;
}
.recording-microphone-menu p.warn {
- color: #ffc269;
+ color: var(--hud-warn);
}
.recording-microphone-menu p.error {
- color: #ff8a80;
+ color: var(--hud-accent);
}
.recording-discard-confirm h2 {
@@ -1215,7 +1243,7 @@ button:focus-visible,
.recording-discard-confirm p {
margin: 0;
- color: #b8b8bc;
+ color: var(--hud-muted);
font-size: 11.5px;
line-height: 1.4;
}
@@ -1230,24 +1258,29 @@ button:focus-visible,
.recording-confirm-discard {
min-height: 34px;
padding: 0 12px;
- border-radius: 8px;
+ border-radius: 10px;
font-size: 11.5px;
font-weight: 600;
}
.recording-keep {
- border: 1px solid rgba(255, 255, 255, 0.15);
- background: #343438;
- color: #efeff1;
+ border: 1px solid var(--hud-line);
+ background: var(--hud-raised);
+ color: var(--hud-text);
+ }
+
+ .recording-keep:not(:disabled):hover {
+ border-color: var(--hud-line-strong);
+ filter: brightness(1.15);
}
.recording-confirm-discard {
- background: #d9473b;
+ background: var(--rec);
color: #fff;
}
.recording-confirm-discard:not(:disabled):hover {
- background: #c43c32;
+ filter: brightness(0.92);
}
.recording-controls-live {