Skip to content

Build your personal knowledge base with Trilium Notes

style(desktop): drop the splash tray's external border

Elian Dorana26c900471e4
diff --git a/apps/desktop/electron-forge/setup-icon/generate/README.md b/apps/desktop/electron-forge/setup-icon/generate/README.md
index 9bddaac01b..7f107cf420 100644
--- a/apps/desktop/electron-forge/setup-icon/generate/README.md
+++ b/apps/desktop/electron-forge/setup-icon/generate/README.md
@@ -40,9 +40,9 @@ Run it on **Windows** so the wordmark renders in Segoe UI (the font is rasterize
- The window has no chrome and no drop shadow (Squirrel's `Update.exe` is `WindowStyle.None` +
transparent), and GIF's 1-bit transparency can't cast a soft shadow onto the desktop. So the splash
- is a **card on a tray**: an opaque light-neutral tray with a hairline edge, holding a rounded white
- card whose soft shadow falls on the tray. That gives a defined, elevated boundary against any
- surface — notably a white Explorer pane, where a plain white splash would vanish.
+ is a **card on a tray**: an opaque light-neutral tray holding a rounded white card whose soft
+ shadow falls on the tray. The tray is a touch darker than the card, so it separates on its own —
+ including against a white Explorer pane, where a plain white splash would vanish.
## Encoding
@@ -50,7 +50,7 @@ Run it on **Windows** so the wordmark renders in Segoe UI (the font is rasterize
written as a transparent index over the kept canvas (`dispose: 1`). This shrinks the mostly-static
steady tail to almost nothing (~140 KiB total). It saves file size only — not `Update.exe` memory,
which re-expands every frame to full size regardless.
-- The large flat colors (card white, tray, hairline, wordmark) are **pinned** into the palette:
+- The large flat colors (card white, tray, wordmark) are **pinned** into the palette:
gifenc's `applyPalette` nearest-color search is approximate, so without pinning the big white card
drifts to a warm near-white. `deriveAnchorColors()` reads these colors from the first rendered
frame and forces any exact-match pixel to that palette index, so changing the tray/card tone in
diff --git a/apps/desktop/electron-forge/setup-icon/generate/generate.mts b/apps/desktop/electron-forge/setup-icon/generate/generate.mts
index 151c3e58b4..e9f6e9315a 100644
--- a/apps/desktop/electron-forge/setup-icon/generate/generate.mts
+++ b/apps/desktop/electron-forge/setup-icon/generate/generate.mts
@@ -104,7 +104,6 @@ function deriveAnchorColors(frame0: Uint8Array): number[][] {
return [
pixel(WIDTH / 2, 60), // card (white; empty at t = 0)
pixel(3, 3), // tray (corner, outside the card)
- pixel(0, HEIGHT / 2), // tray hairline (1px window edge)
[35, 41, 32] // wordmark (#232920)
];
}
diff --git a/apps/desktop/electron-forge/setup-icon/generate/splash.html b/apps/desktop/electron-forge/setup-icon/generate/splash.html
index c0590bba41..37ae1a8c25 100644
--- a/apps/desktop/electron-forge/setup-icon/generate/splash.html
+++ b/apps/desktop/electron-forge/setup-icon/generate/splash.html
@@ -20,7 +20,6 @@
height: 480px;
box-sizing: border-box;
background: #eceef1;
- border: 1px solid #d7dae0;
display: flex;
align-items: center;
justify-content: center;
diff --git a/apps/desktop/electron-forge/setup-icon/setup-banner-dev.gif b/apps/desktop/electron-forge/setup-icon/setup-banner-dev.gif
index 3037bf780e..3bcf4c12b6 100644
Binary files a/apps/desktop/electron-forge/setup-icon/setup-banner-dev.gif and b/apps/desktop/electron-forge/setup-icon/setup-banner-dev.gif differ
diff --git a/apps/desktop/electron-forge/setup-icon/setup-banner.gif b/apps/desktop/electron-forge/setup-icon/setup-banner.gif
index a0d6119e5b..fdf55cef9e 100644
Binary files a/apps/desktop/electron-forge/setup-icon/setup-banner.gif and b/apps/desktop/electron-forge/setup-icon/setup-banner.gif differ