Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c887e77
The edge rule: a ghost control hung at its head's edge, and side inse…
bmjcoding Nov 24, 2026
cc8cebc
Hang the edge controls: bars, search, status bar, code and terminal h…
bmjcoding Nov 24, 2026
2dee4f0
Icon links and the core's heads take the edge rule (S9, Q10)
bmjcoding Nov 24, 2026
0ca3cbd
Toast targets, the selection column, chips and switch rows, the count…
bmjcoding Nov 24, 2026
aaed6c0
Boxes hug what they show: the search dialog, the command list, the co…
bmjcoding Nov 24, 2026
3d028f4
Reserved room: the rules a node test can check, and the last physical…
bmjcoding Nov 24, 2026
6850773
Reserved room: the browser tests (written, not run), and the skill's …
bmjcoding Nov 24, 2026
49e5873
Reserved room: the words in foundations and AGENTS.md, the skill's us…
bmjcoding Nov 24, 2026
ac7027f
Review round 69: reserved room, after this branch and before from main
bmjcoding Nov 24, 2026
d57e26c
Merge origin/main (#129 to #131) into claude/reserved-room
bmjcoding Nov 24, 2026
341b30a
Round 69: re-shoot owner's-eye items 11 and 14
bmjcoding Nov 24, 2026
421348e
The open items' ruling: parts with no padding hang into their box's r…
bmjcoding Nov 24, 2026
fdd5d39
Merge remote-tracking branch 'origin/main' into claude/reserved-room
bmjcoding Nov 24, 2026
c0a1a5a
Edge words on touch: a short room grows the box instead of the inward…
bmjcoding Nov 24, 2026
7912bf0
SocialLinks: every icon-only mark carries the edge, and only the firs…
bmjcoding Nov 24, 2026
1c5a41b
Every room says all three forms, so an inner head never inherits an o…
bmjcoding Nov 24, 2026
232e3a3
Bars reach their default ghost icons, fragment slots and the bell (co…
bmjcoding Nov 24, 2026
da6ec50
The skill's search dialog places its top again when the usable window…
bmjcoding Nov 24, 2026
1f99807
The command list keeps the taller of its two heights on the open page…
bmjcoding Nov 24, 2026
7e5e4a0
The skill's selection column reaches 44 on touch however its width wa…
bmjcoding Nov 24, 2026
771dded
Review tooling: the skill frame's height is read directly, and the pi…
bmjcoding Nov 24, 2026
068e85f
On a gap day the chart's date line says the gap's reason (pixel revie…
bmjcoding Nov 24, 2026
03d0389
PaneLayout's page column says its room, and round 68's Slate page say…
bmjcoding Nov 24, 2026
0f35b92
Pixel review polish: an empty search list holds no padding; owner's-e…
bmjcoding Nov 24, 2026
fd43938
Public comments match what ships: a series' reasons, the command list…
bmjcoding Nov 24, 2026
65b7844
Older browser tests ask for the approved behaviour (code review 12; w…
bmjcoding Nov 24, 2026
1080517
Browser tests that set up right and fail when their feature breaks (c…
bmjcoding Nov 24, 2026
2996101
Bundle limits and the size table for the fix round: the bell's edge (…
bmjcoding Nov 24, 2026
cb4ad18
Round 69's walkthrough in the pixel review's order, with round 68's c…
bmjcoding Nov 24, 2026
b47ea95
Round 69's before-caption names the commits its main pictures were sh…
bmjcoding Nov 24, 2026
1996327
Merge remote-tracking branch 'origin/main' into claude/reserved-room
bmjcoding Nov 24, 2026
8751581
The selection box keeps to the cell's line: centred, never more than …
bmjcoding Nov 24, 2026
2e46627
Merge origin/main (#135, #136) into claude/reserved-room; the size ta…
bmjcoding Nov 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .agent/skills/basalt-html/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Standalone HTML that looks and behaves like Basalt: one file, no network, dark a

## Use it

1. Pick modules from the index below and print their usage in one call, always with core: `node .agent/skills/basalt-html/compose.mjs --usage core table status callout`. Core is the classes every page uses. Each usage also names the modules it needs and the markup that adds it. `--usage` alone prints the index.
2. Write the **body** to a file such as `report.body.html`: the HTML inside `<body>`, with the classes the usage names. It may carry `<title>` (else the first `<h1>`), your own `<style>`, and head tags: `<meta name="description">`, `og:`/`twitter:` meta, `<link rel="icon" href="data:…">` or `canonical` (no other meta or link); the script adds `Basalt.init()` unless your `<script>` calls it.
3. Run `node .agent/skills/basalt-html/compose.mjs report.body.html` (writes `report.html`; `--out <page.html>` names it). It adds the doctype, meta and theme bootstrap, Geist inlined, the core, only the modules your markup uses, and the icons you name in quotes. It prints what it added, and one warning line for each module added. `--no-fonts` skips Geist (only for a file a tool reads, never a file a person opens), `--lang fr` sets the language, `--all` adds every module.
1. Pick modules from the index below and print their usage in one call, always with core: `node .agent/skills/basalt-html/compose.mjs --usage core table status callout`. Each usage names the modules it needs and the markup that adds it. `--usage` alone prints the index.
2. Write the **body** to a file: the HTML inside `<body>`, with the classes the usage names. It may carry `<title>` (else the first `<h1>`), your own `<style>`, and head tags: `<meta name="description">`, `og:`/`twitter:` meta, `<link rel="icon" href="data:…">` or `canonical` (no other meta or link); the script adds `Basalt.init()` unless your `<script>` calls it.
3. Run `node .agent/skills/basalt-html/compose.mjs report.body.html` (writes `report.html`; `--out <page.html>` names it). It adds the doctype, meta and theme bootstrap, Geist inlined, the core, only the modules your markup uses, and the icons you name in quotes. It prints what it added, and one warning line for each module added. `--no-fonts` skips Geist (for a file only a tool reads), `--lang fr` sets the language, `--all` adds every module.
4. Open the page in both themes at 1440 and 390 wide before you hand it over. It follows the system theme; the toggle or `Basalt.toggleTheme()` switches it.

**Data you did not write** (a file, an API, a user) goes in as `textContent`; a link from it passes `Basalt.safeHref` (relative, http, https, mailto, tel); an option comes from a fixed list. Never into markup, a `<script>`, `style` or an `on…` attribute.

`examples/static.body.html`, `sales.body.html` (reports) and `interactive.body.html` (inputs, tabs, a palette) are bodies to copy. Never open or paste `parts/`: it is minified output.
`examples/static.body.html`, `sales.body.html` (reports) and `interactive.body.html` are bodies to copy. Never open or paste `parts/`: it is minified output.

## Modules

Expand Down Expand Up @@ -104,6 +104,7 @@ Your CSS goes in a body `<style>` (moved after Basalt's), with `--basalt-*` toke
- **Type:** Geist and Geist Mono, weights 400, 500 and 600 only. Mono for identifiers, code, numbers in logs.
- **Levels, rim, nesting.** A panel (`.panel`, `.card`, `.callout`, `.code`, `.table-wrap`) is one level above what holds it, capped at 3, with a 1px rim and no shadow. Level is position, not importance: a hero is level 1. Group with space and dividers first; a panel is for a distinct object; at most one panel deep. Only things that leave the flow (menu, popover, dialog) take `.float` and a shadow.
- **Keys.** No single-character shortcuts on the page (WCAG 2.1.4): a shortcut needs ⌘, ⌃ or ⌥.
- **Edges.** A ghost `.btn` that starts or ends a head takes `data-edge="start"` or `"end"`, never a hand margin.
- **Selected** is a shape or weight, never a wash alone: a segment or tab label at 600 (400 at rest) on its pill or underline, a row's filled background, a checked box. No vertical bar; an outline never marks a state.
- **Both themes, always.** WCAG 2.2 AA: 4.5:1 text, 3:1 boundaries, focus and icons (the tokens pass; add no colours).
- **Motion** from the tokens only; entries ease out, nothing overshoots; under reduced motion, opacity only. A press is a colour step; only `.btn` scales (`--usage core`).
Expand Down
2 changes: 1 addition & 1 deletion .agent/skills/basalt-html/examples/interactive.body.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h1>Egress cost planner</h1>

<div class="tabpanel" style="padding-top: var(--basalt-space-4)" id="view-json" role="tabpanel" aria-labelledby="tab-json" hidden>
<div class="code">
<div class="code-head"><span>estimate.json</span><span class="spacer"></span><button class="btn" data-variant="ghost" data-size="sm" data-copy="#json"><span data-glyph="copy"></span><span>Copy</span></button></div>
<div class="code-head"><span>estimate.json</span><span class="spacer"></span><button class="btn" data-variant="ghost" data-size="sm" data-edge="end" data-copy="#json"><span data-glyph="copy"></span><span>Copy</span></button></div>
<pre class="code-body" tabindex="0"><code id="json"></code></pre>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion .agent/skills/basalt-html/examples/static.body.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h1>Reliability report</h1>
<p>Press <kbd class="kbd" data-doc>Esc</kbd> to close any dialog.</p>
</div>
<div class="code">
<div class="code-head"><span>alerts.json</span><span class="spacer"></span><button class="btn" data-variant="ghost" data-size="sm" data-copy="#alerts"><span data-glyph="copy"></span><span>Copy</span></button></div>
<div class="code-head"><span>alerts.json</span><span class="spacer"></span><button class="btn" data-variant="ghost" data-size="sm" data-edge="end" data-copy="#alerts"><span data-glyph="copy"></span><span>Copy</span></button></div>
<pre class="code-body" tabindex="0"><code id="alerts">{
<span class="tok-k">"queue"</span>: {
<span class="tok-k">"alertAt"</span>: <span class="tok-n">0.4</span>,
Expand Down
2 changes: 1 addition & 1 deletion .agent/skills/basalt-html/parts/app-shell.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .agent/skills/basalt-html/parts/chart.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .agent/skills/basalt-html/parts/code.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading