diff --git a/cmd/palette/main.go b/cmd/palette/main.go index 8c4b338..3d231ea 100644 --- a/cmd/palette/main.go +++ b/cmd/palette/main.go @@ -130,6 +130,7 @@ type palette struct { TargetTouch int `toml:"target_touch"` Phone, Tablet, Desktop int WidthPage int `toml:"width_page"` + WidthAside int `toml:"width_aside"` WidthPanelMin int `toml:"width_panel_min"` } // A control's geometry: the heights of a button or an input, the icon in it, and the gap diff --git a/cmd/palette/outputs.go b/cmd/palette/outputs.go index 16d34ab..3b476be 100644 --- a/cmd/palette/outputs.go +++ b/cmd/palette/outputs.go @@ -132,6 +132,7 @@ func tokensCSS(p palette, dark, light map[string]rgb) string { fmt.Fprintf(&b, "\t--spin-control-icon: %dpx;\n\t--spin-control-gap: %dpx;\n", p.Controls.Icon, p.Controls.Gap) fmt.Fprintf(&b, "\t--spin-width-page: %dpx;\n", p.Layout.WidthPage) fmt.Fprintf(&b, "\t--spin-width-panel-min: %dpx;\n", p.Layout.WidthPanelMin) + fmt.Fprintf(&b, "\t--spin-width-aside: %dpx;\n", p.Layout.WidthAside) fmt.Fprintf(&b, "\t--spin-duration-fast: %dms;\n\t--spin-duration: %dms;\n", p.Motion.Fast, p.Motion.Base) fmt.Fprintf(&b, "\t--spin-duration-slow: %dms;\n\t--spin-duration-draw: %dms;\n", p.Motion.Slow, p.Motion.Draw) fmt.Fprintf(&b, "\t--spin-ease: %s;\n", p.Motion.Ease) @@ -283,6 +284,8 @@ func dashboardCSS(p palette, dark, light map[string]rgb) string { fmt.Fprintf(&b, "\t--spin-width-page: %dpx;\n", p.Layout.WidthPage) // The least a panel is as panels tile across the column (layout.width_panel_min). fmt.Fprintf(&b, "\t--spin-width-panel-min: %dpx;\n", p.Layout.WidthPanelMin) + // A split section's aside, its title and what it governs (layout.width_aside). + fmt.Fprintf(&b, "\t--spin-width-aside: %dpx;\n", p.Layout.WidthAside) // The dim behind a dialog: the dark page, in either theme, at the palette's scrim - a neutral // dim, not the mark's navy, which tinted everything behind a dialog blue. dim := dark["page"] diff --git a/dist/dashboard.css b/dist/dashboard.css index 94a9ccb..eb9fc87 100644 --- a/dist/dashboard.css +++ b/dist/dashboard.css @@ -84,6 +84,7 @@ --spin-control-gap: 6px; --spin-width-page: 1600px; --spin-width-panel-min: 560px; + --spin-width-aside: 280px; --scrim: rgb(14 20 33 / 0.64); --terminal-background: #0A0C10; --terminal-foreground: #E6EBF2; diff --git a/dist/tokens.css b/dist/tokens.css index 8be2bae..5e99f81 100644 --- a/dist/tokens.css +++ b/dist/tokens.css @@ -119,6 +119,7 @@ --spin-control-gap: 6px; --spin-width-page: 1600px; --spin-width-panel-min: 560px; + --spin-width-aside: 280px; --spin-duration-fast: 120ms; --spin-duration: 200ms; --spin-duration-slow: 400ms; diff --git a/dist/tokens.json b/dist/tokens.json index 8b57993..1559641 100644 --- a/dist/tokens.json +++ b/dist/tokens.json @@ -63,6 +63,7 @@ "Tablet": 768, "Desktop": 1280, "WidthPage": 1600, + "WidthAside": 280, "WidthPanelMin": 560 }, "light": { diff --git a/index.html b/index.html index 59eb843..ddce207 100644 --- a/index.html +++ b/index.html @@ -206,6 +206,16 @@ .panel .grid td, .panel .grid th { white-space: normal; } .panel .grid tr:last-child td { border-bottom: 0; } .panel .grid .id { color: var(--spin-text); } +.split { display: grid; grid-template-columns: var(--spin-width-aside) minmax(0, 1fr); gap: 1rem 2rem; align-items: start; } +.split h3 { margin: 0 0 .25rem; } +@media (max-width: 768px) { .split { grid-template-columns: minmax(0, 1fr); } } +.card { background: var(--spin-page); border: 1px solid var(--spin-border); border-radius: var(--spin-radius-sm); } +.card .row { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .75rem 1rem; border-top: 1px solid var(--spin-border); font-size: 14px; } +.card .row:first-child { border-top: 0; } +.card .row.editing { background: var(--spin-surface); } +.card .lbl { flex: 0 0 10rem; font-weight: 500; } +.card .val { flex: 1 1 14rem; min-width: 0; } +.card .acts { display: flex; gap: .5rem; } .dialog { background: var(--spin-overlay); border: 1px solid var(--spin-border); border-radius: var(--spin-radius-lg); padding: 1.25rem; max-width: 26rem; box-shadow: var(--spin-shadow-overlay); } .toast { display: inline-flex; gap: .6rem; align-items: center; background: var(--spin-overlay); border: 1px solid var(--spin-border); border-radius: var(--spin-radius); padding: .6rem .9rem; box-shadow: var(--spin-shadow-overlay); } .row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-start; margin-top: 1rem; } @@ -413,7 +423,7 @@

Sizes

Panels
-

A section of a page is a heading and its rows; a thing with its own identity and its single action is a panel. A hairline edge at the dashboard's one corner, --spin-radius-sm, its header - the name in the mono, its state, the one action and ⋯ - on surface, its body on the page, no shadow: it does not float. Panels tile across the column, none narrower than --spin-width-panel-min; inside one, a table has fixed tracks, so a column is at one x in every panel. A list of many is a table, never a panel per row.

+

A section of facts is a heading and its rows, and a section of settings is split; a thing with its own identity and its single action is a panel. A hairline edge at the dashboard's one corner, --spin-radius-sm, its header - the name in the mono, its state, the one action and ⋯ - on surface, its body on the page, no shadow: it does not float. Panels tile across the column, none narrower than --spin-width-panel-min; inside one, a table has fixed tracks, so a column is at one x in every panel. A list of many is a table, never a panel per row.

webpending
@@ -427,6 +437,21 @@

Sizes

+
+ Split sections +
+

A page of settings is one page that scrolls, never tabs. Each section is split: its title and what it governs in an aside --spin-width-aside wide, its rows in a card - a hairline edge at --spin-radius-sm, on the page, no shadow. A row is its label, its value and one verb; its editing opens inside the row, with Save disabled until something changes. On a phone the aside goes over the card.

+
+

Network

What it may reach. Its runner applies a change at once.

+
+
Policiesgithub · github.com, ghcr.io
+
Size2 CPU · 4 GB
+
Log connectionsOff
+
+
+
+
+
Compositions
@@ -436,7 +461,7 @@

Marketing

Documentation

A Starlight page: one column at the reading measure, the sidebar at --spin-sidebar, headings in the mono. A claim links to the row of the status page that proves it.

Application

-

The dashboard, read for diagnosis. Every page is one centred column --spin-width-page wide, so its edges stay where the page before had them; an explorer takes the viewport. A page is a header - the title, its state, its context and its one primary action on one row - and sections of rows between hairlines; a thing with its own identity and its single action is a panel, and panels tile across the column; the name beside the mark is --spin-wordmark, which the catalog audit holds the sidebar to.

+

The dashboard, read for diagnosis. Every page is one centred column --spin-width-page wide, so its edges stay where the page before had them; an explorer takes the viewport. A page is a header - the title, its state, its context and its one primary action on one row - one row of tabs, at most one banner, and sections: facts as rows between hairlines, settings split, each row a label, a value and one verb; a thing with its own identity and its single action is a panel, and panels tile across the column; the name beside the mark is --spin-wordmark, which the catalog audit holds the sidebar to.

Actions

One primary action per view, solid in the accent and in words alone: New workspace on a list, Open terminal on a workspace. A row's actions are quiet: its most likely one as a secondary button (the raised fill, a hairline edge, no icon) and the rest behind ⋯. An icon goes alone, with a tooltip, only where the toolbar has no room for words; never an icon and a word on every row. What destroys is in the destructive fill, in a confirmation, after Cancel.

Elevation

diff --git a/palette.toml b/palette.toml index 74292ba..da93da6 100644 --- a/palette.toml +++ b/palette.toml @@ -192,13 +192,22 @@ desktop = 1280 # (2026-11-08). An explorer - logs, traces - takes the viewport. The dashboard's page-width.ts # reads this. width_page = 1600 # px -# What a page is made of, inside that column. A section of a page is a heading, a hairline and -# its rows, on the page's own plane: a border around every section made the console a grid of -# cards (the October review). A thing with its own identity and its single action - a network -# policy, a resource preset, a forge's app - is a panel: a hairline edge at the dashboard's one -# corner (`radius_sm`), its header (name, state, the action and its menu) on `surface`, its body -# on the page, no shadow, since it does not float. A list of many is a table, never a panel per row. Panels tile across the column, each -# at least this wide: at 1600 px two rules tables side by side, where one stretched to the +# What a page is made of, inside that column (the flat pattern, 2026-11-18). An object - a +# workspace, a team, the installation - has one row of tabs, never a second under it: twelve tabs +# in five groups were two levels of navigation inside one thing. Its settings are one page that +# scrolls, not tabs. Each section of that page is split: its title and a line of what it governs +# in an aside on the left, its rows on the right in a card - a hairline edge at the dashboard's one +# corner (`radius_sm`), on the page's plane, no shadow. A row is a label, its value and one verb +# (Rename, Change, Manage); its detail, and its editing with Save and Cancel, open inside the row, +# never in a dialog or on another tab. A page shows one banner at most, the one that matters most, +# with its cause and its actions. The October review's grid of cards was a border around every +# group of facts: a card holds rows a person acts on, and facts read for a diagnosis stay a +# heading, a hairline and their rows. On a phone the aside goes over its card. +width_aside = 280 # px: a split section's aside +# A thing with its own identity and its single action - a network policy, a resource preset, a +# forge's app - is a panel: a hairline edge, its header (name, state, the action and its menu) on +# `surface`, its body on the page. A list of many is a table, never a panel per row. Panels tile +# across the column, each at least this wide: at 1600 px two rules tables side by side, where one stretched to the # column's width put a port 1000 px from its destination (2026-11-08). In the column a table has # fixed tracks, so a column is at one x in every row and every panel, and a label and its value # sit together, never split across the width.