Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
fix(plugin-launcher): use design tokens in the new grid styles
Tioit-Wang768abf0d6f31
diff --git a/apps/desktop/src/styles/plugin-launcher.css b/apps/desktop/src/styles/plugin-launcher.cssindex 8599a9da2..390295f1e 100644--- a/apps/desktop/src/styles/plugin-launcher.css+++ b/apps/desktop/src/styles/plugin-launcher.css@@ -97,7 +97,7 @@ html[data-surface="plugin-launcher"] #root {color: var(--ds-text-muted);font-size: var(--text-xs);font-weight: var(--font-weight-medium-plus);- letter-spacing: 0.02em;+ letter-spacing: var(--tracking-wide);text-overflow: ellipsis;white-space: nowrap;}@@ -188,7 +188,7 @@ html[data-surface="plugin-launcher"] #root {}.plugin-launcher-icon-app {- border-radius: 50%;+ border-radius: var(--radius-full);}.plugin-launcher-icon img {@@ -202,7 +202,7 @@ html[data-surface="plugin-launcher"] #root {.plugin-launcher-monogram {font-size: var(--text-sm-plus);font-weight: var(--font-weight-semibold);- line-height: 1;+ line-height: var(--leading-tighter);}.plugin-launcher-tile-name {@@ -255,7 +255,7 @@ html[data-surface="plugin-launcher"] #root {background: transparent;color: var(--ds-text-faint);font-size: var(--text-xs);- line-height: 1;+ line-height: var(--leading-tighter);opacity: 0;cursor: pointer;}diff --git a/apps/desktop/test/plugin-launcher-window.test.mjs b/apps/desktop/test/plugin-launcher-window.test.mjsindex c9c92b024..604e3077a 100644--- a/apps/desktop/test/plugin-launcher-window.test.mjs+++ b/apps/desktop/test/plugin-launcher-window.test.mjs@@ -84,7 +84,7 @@ test("the launcher grid is eight fixed columns with square plugins and round app/\.plugin-launcher-grid \{[\s\S]*grid-template-columns: repeat\(8, minmax\(0, 1fr\)\)/,);assert.match(styles, /\.plugin-launcher-icon-plugin \{[\s\S]*border-radius: var\(--radius-sm\)/);- assert.match(styles, /\.plugin-launcher-icon-app \{[\s\S]*border-radius: 50%/);+ assert.match(styles, /\.plugin-launcher-icon-app \{[\s\S]*border-radius: var\(--radius-full\)/);});test("the launcher window is resizable and remembers its size", () => {