Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style(desktop): mute the DMG drag arrow to a neutral grey
Elian Doran729037571335
diff --git a/apps/desktop/electron-forge/dmg-background/README.md b/apps/desktop/electron-forge/dmg-background/README.mdindex a6bed9d0e9..400aeabec8 100644--- a/apps/desktop/electron-forge/dmg-background/README.md+++ b/apps/desktop/electron-forge/dmg-background/README.md@@ -30,8 +30,9 @@ composited at those coordinates. It is **reference only** — appdmg never uses## Design-- Reuses the installer splash's brand language: the same dark surface, a soft glow, and a drag arrow- tinted from the trillium's three leaves (green/orange/red — purple for nightly).+- Reuses the installer splash's brand language: the same dark surface and a soft glow tinted from the+ trillium's three leaves (green/orange/red — purple for nightly). The drag arrow is a muted neutral+ grey, kept quiet so it doesn't compete with the icons.- The two subtle "platforms" mark where Finder drops the real icons (app on the left, `/Applications`alias on the right). The icon **centers** must line up with the `contents` coordinates in`forge.config.ts`; those use a **bottom-left** origin, so `y_bottomleft = windowHeight - y_fromTop`.diff --git a/apps/desktop/electron-forge/dmg-background/background-dev.png b/apps/desktop/electron-forge/dmg-background/background-dev.pngindex 8ea3605e92..6b10423480 100644Binary files a/apps/desktop/electron-forge/dmg-background/background-dev.png and b/apps/desktop/electron-forge/dmg-background/background-dev.png differdiff --git a/apps/desktop/electron-forge/dmg-background/[email protected] b/apps/desktop/electron-forge/dmg-background/[email protected]index de30bb95d0..6f4ed800b6 100644Binary files a/apps/desktop/electron-forge/dmg-background/[email protected] and b/apps/desktop/electron-forge/dmg-background/[email protected] differdiff --git a/apps/desktop/electron-forge/dmg-background/background.html b/apps/desktop/electron-forge/dmg-background/background.htmlindex 249ead745c..e24fce5d00 100644--- a/apps/desktop/electron-forge/dmg-background/background.html+++ b/apps/desktop/electron-forge/dmg-background/background.html@@ -61,13 +61,9 @@.platform.app { left: 105px; }.platform.apps { left: 385px; }+ /* Muted neutral arrow — a functional cue, kept quiet so the icons carry the colour+ (the ambient glow already reuses the brand palette). Channel-agnostic. */.arrow { position: absolute; top: 192px; left: 274px; width: 92px; height: 46px; }- .variant-stable .s0 { stop-color: #e47b19; }- .variant-stable .s1 { stop-color: #4fa52b; }- .variant-stable .s2 { stop-color: #e33f3b; }- .variant-nightly .s0 { stop-color: #b18ad6; }- .variant-nightly .s1 { stop-color: #8146b8; }- .variant-nightly .s2 { stop-color: #6e2ea8; }/* No instructional text: the DMG ships one baked image for every locale, and thearrow plus Finder's own icon labels already convey "drag to Applications". */@@ -102,14 +98,7 @@<div class="platform apps"></div><svg class="arrow" viewBox="0 0 92 46" aria-hidden="true">- <defs>- <linearGradient id="tri" x1="0" y1="0" x2="1" y2="0">- <stop class="s0" offset="0"/>- <stop class="s1" offset="0.5"/>- <stop class="s2" offset="1"/>- </linearGradient>- </defs>- <path d="M6 23 H74 M56 7 L80 23 L56 39" fill="none" stroke="url(#tri)"+ <path d="M6 23 H74 M56 7 L80 23 L56 39" fill="none" stroke="#767d88"stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/></svg></div>diff --git a/apps/desktop/electron-forge/dmg-background/background.png b/apps/desktop/electron-forge/dmg-background/background.pngindex ca9a451015..462a8e2a82 100644Binary files a/apps/desktop/electron-forge/dmg-background/background.png and b/apps/desktop/electron-forge/dmg-background/background.png differdiff --git a/apps/desktop/electron-forge/dmg-background/[email protected] b/apps/desktop/electron-forge/dmg-background/[email protected]index dc814a2862..ffd9afc6e9 100644Binary files a/apps/desktop/electron-forge/dmg-background/[email protected] and b/apps/desktop/electron-forge/dmg-background/[email protected] differdiff --git a/apps/desktop/electron-forge/dmg-background/preview.png b/apps/desktop/electron-forge/dmg-background/preview.pngindex 6223bbb49e..b0cf81d3b0 100644Binary files a/apps/desktop/electron-forge/dmg-background/preview.png and b/apps/desktop/electron-forge/dmg-background/preview.png differ