Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion .agent/skills/basalt-html/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ Markup built only at run time (a `.row` your script writes) won't be seen: add `
- **notifications** `Basalt.notifications`: the page owns the entries; call `setEntries` after a change.
- **nav** `.nav`: `a.nav-item` > `.nav-pill`; `aria-current` marks the page; never write a bar or a wash.
- **topbar-nav** `.topbar-links`: five links at most, one `.topbar-action`; the script builds the narrow menu, never write it.
- **app-shell** `.app-shell`: the document scrolls; one smoked bar per page; every sidebar item has a glyph.
- **app-shell** `.app-shell`: the document scrolls; one smoked bar; every sidebar item has a glyph.
- **pane** `.pane-layout`: page first, pane after.
- **tab-bar** `.tab-bar`: three to five links, glyph over label; with more, four and a More sheet.

Your own CSS goes in a `<style>` in the body (moved to the head, after Basalt's), using `--basalt-*` tokens only. Element selectors (`a`, `button`, `table`, `h1`) go inside `@layer reset { }`, so they can never beat a Basalt class; class rules can sit unlayered. Basalt's classes are in `@layer basalt`, so any unlayered rule of yours wins without `!important`. Never restyle a Basalt class from an element rule.
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.

22 changes: 17 additions & 5 deletions .agent/skills/basalt-html/parts/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1115,8 +1115,8 @@
"requires": [
"glide"
],
"budget": 4800,
"usage": 1700
"budget": 5350,
"usage": 1900
},
"topbar-nav": {
"classes": [
Expand Down Expand Up @@ -1162,16 +1162,28 @@
"app-header",
"app-bar",
"app-title",
"app-actions"
"app-actions",
"app-heading",
"app-facts"
],
"requires": [
"topbar",
"nav",
"tooltip"
],
"viewportFit": true,
"budget": 3250,
"usage": 2100
"budget": 4300,
"usage": 2600
},
"pane": {
"classes": [
"pane-layout",
"pane-grid",
"pane-page",
"pane"
],
"budget": 1700,
"usage": 1000
},
"tab-bar": {
"classes": [
Expand Down
2 changes: 1 addition & 1 deletion .agent/skills/basalt-html/parts/nav.css

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

1 change: 1 addition & 0 deletions .agent/skills/basalt-html/parts/pane.css

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

1 change: 1 addition & 0 deletions .agent/skills/basalt-html/parts/pane.js

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

3 changes: 2 additions & 1 deletion .agent/skills/basalt-html/parts/usage/app-shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ An app's frame (React's `AppShell` and `AppHeader`): a sidebar at 1024 and up, t
```

- The `.nav`s (`--usage nav`) are the sidebar, and the rail from 720 to 1023: the script collapses them and gives each item a tooltip. Every item needs a glyph. Under 720 the sidebar is gone: add a `.tab-bar` (`--usage tab-bar`) and `data-tabbar` on the shell.
- `.app-header` is the page's one smoked surface (`--usage topbar`): a solid page has `data-solid` on it. The title is the page's `h1`, 18/26 at 600. Actions: ghost icon buttons and at most one primary `.btn`, which leaves the bar under 720. The theme control is the icon button and menu of `--usage theme` (write its `.menu` beside the header).
- `.app-header` is the page's one smoked surface (`--usage topbar`): a solid page has `data-solid` on it. The title is the page's `h1`, 18/26 at 600. Actions: ghost icon buttons and at most one primary `.btn`, which stays in the bar under 720 with its words (keep them short; the title is cut first). Facts under the title: wrap the `h1` and a `<p class="app-facts">` (short facts joined by `.dot-sep`, e.g. a reference, a plain status badge, a time) in a `div.app-heading`. The theme control is the icon button and menu of `--usage theme` (write its `.menu` beside the header).
- `.brand-full` is the lockup, `.brand-rail` the mark alone (the rail shows it). The sidebar's brand band draws no line.
- Don't use `.page` inside `.app-main`; it is already the page's width with the gutter. The shell needs `viewport-fit=cover` for the phone's safe areas: compose adds it.
- `data-capped` on the shell holds it to the sidebar plus 72rem, centred; the page then fills its column. A page with a pane beside it: `--usage pane`.
Loading
Loading