Skip to content

7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.

TypeScript

fix(desktop): dark glass popover — hud material + deeper tint

Tashfeen7d203428565c
diff --git a/renderer/popover.html b/renderer/popover.html
index f080b83a..02819584 100644
--- a/renderer/popover.html
+++ b/renderer/popover.html
@@ -25,7 +25,9 @@
.panel {
position: relative;
height: 100%;
- background: linear-gradient(180deg, rgba(40,40,46,0.18), rgba(20,20,24,0.22));
+ /* Dark glass: deep tint over the hud material — blur stays visible,
+ but the panel always reads black for the light text. */
+ background: linear-gradient(180deg, rgba(22,22,26,0.50), rgba(8,8,12,0.58));
box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
overflow: hidden;
padding: 14px 14px 12px;
diff --git a/src/popover.ts b/src/popover.ts
index ef176ec2..b3bc48b9 100644
--- a/src/popover.ts
+++ b/src/popover.ts
@@ -31,7 +31,10 @@ function createPopover(): BrowserWindow {
alwaysOnTop: true,
...(process.platform === 'darwin'
? {
- vibrancy: 'popover' as const,
+ // 'hud' renders the DARK glass variant regardless of the system
+ // light/dark appearance — 'popover' follows the system theme and
+ // turns white under light mode, fighting the panel's light text.
+ vibrancy: 'hud' as const,
visualEffectState: 'active' as const,
backgroundColor: '#00000000',
}