Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
Revert "Merge pull request #2322 from vastsa/v0/settings-redesign"
v0c2a58a855604
diff --git a/apps/desktop/src/styles/settings.css b/apps/desktop/src/styles/settings.cssindex f500bf908..8533237ac 100644--- a/apps/desktop/src/styles/settings.css+++ b/apps/desktop/src/styles/settings.css@@ -316,19 +316,13 @@flex: 1;overflow: auto;/* webContents has no traffic-light chrome; keep airy top like gold content band */- padding: calc(var(--ds-toolbar-height) + 8px) 40px 64px;+ padding: calc(var(--ds-toolbar-height) + 8px) 48px 56px 40px;background: var(--ds-bg-primary);}-/*- * The column follows the window up to a reading measure, then centres. Wide- * windows used to push a title and its control ~900px apart, which made each- * row read as two unrelated things.- */.settings-content-inner {width: 100%;- max-width: 760px;- margin: 0 auto;+ margin: 0;}/* The renderer owns this sandboxed iframe. It stays in normal Settings flow,@@ -350,20 +344,19 @@*/.settings-page-header {display: flex;- align-items: flex-start;- gap: 12px;- margin: 0 0 32px;+ align-items: center;+ gap: 14px;+ margin: 0 0 28px;}.settings-page-icon {display: inline-flex;- width: 30px;- height: 30px;+ width: 38px;+ height: 38px;flex: 0 0 auto;align-items: center;justify-content: center;- margin-top: 1px;- border-radius: var(--radius-md);+ border-radius: var(--radius-md-plus);background: color-mix(in oklab, var(--ds-accent) 14%, var(--ds-tile));color: var(--ds-accent);}@@ -412,11 +405,7 @@}.settings-card-block {- margin-bottom: 36px;-}--.settings-card-block:last-child {- margin-bottom: 0;+ margin-bottom: 28px;}.settings-card-heading {@@ -447,7 +436,6 @@flex-direction: column;gap: 3px;margin-bottom: 10px;- padding-inline: 4px;}/* One always-visible line of orientation for the group, so a reader does not@@ -525,32 +513,12 @@}/*- A group of rows is one tile: the section reads as a single unit and the rows- inside it are separated by a faint tonal seam rather than by floating each- row as its own tile, which made long pages read as a wall of boxes. The seam- is a background step between rows, not a stroke (D297).+ Panels that are only a stack of rows dissolve into the page: each row becomes+ its own tile and the gap between tiles replaces the hairline that used to+ divide them (same rhythm as the plugins index, D296). Panels with mixed+ content (editors, form grids) stay one tile.*/-.settings-panel:has(> .settings-row) {- gap: 1px;- padding: 0;- background: color-mix(in oklab, var(--ds-text-primary) 6%, var(--ds-tile));-}--.settings-panel > .settings-row {- border-radius: 0;-}--.settings-panel > .settings-row:first-child {- border-start-start-radius: var(--radius-lg);- border-start-end-radius: var(--radius-lg);-}--.settings-panel > .settings-row:last-child {- border-end-start-radius: var(--radius-lg);- border-end-end-radius: var(--radius-lg);-}--/* Panels with standalone list items keep their spaced tiles. */+.settings-panel:has(> .settings-row),.settings-panel.shortcut-map,.settings-panel.agent-capability-panel,.settings-panel.model-provider-panel:has(> .model-provider-list) {@@ -1232,24 +1200,18 @@align-items: center;justify-content: space-between;gap: 24px;- min-height: 56px;- padding: 10px 16px;+ padding: 14px 16px;border-radius: var(--radius-md-plus);background: var(--ds-tile);}/** A row that exists only because the row above it is on ("Show thinking",- * "Transcript display") indents its copy inside the same panel, so the pair- * reads as one setting with a condition instead of two siblings.+ * "Transcript display") indents one step. It keeps the parent's tile surface, so+ * the pair reads as one setting with a condition instead of two siblings.*/.settings-row.settings-row-nested {- padding-inline-start: 36px;-}--.settings-row.settings-row-nested > .settings-row-copy .settings-row-title {- color: var(--ds-text-secondary);- font-weight: var(--font-weight-normal, 400);+ margin-inline-start: 20px;}.settings-row-copy {