Conversation
Collaborator
Author
|
🤖 Automated review — Code and security review passed. Setting
Limit: I did not render a live Docusaurus site; light/dark/drawer is checked from the CSS and tokens, not pixels. Worth a glance on the first site that adopts the class. |
This was referenced Dec 3, 2026
rtorcato-bot
added a commit
to rtorcato/brand-kit
that referenced
this pull request
Dec 3, 2026
Raises @rtorcato/shared-docs to ^1.20.0 in the root package and apps/docs, and syncs theme.css and _jt-tokens.css with shared-docs init --update. This picks up the navy dark-sidebar fix (rtorcato/shared-docs#205) and the sidebar overflow guard (rtorcato/shared-docs#197). The shared tokens now use html[data-theme=dark], so the local dark accent in custom.css moves to the same selector to keep the lime accent. Supersedes #162. Co-authored-by: Shockwave (rtorcato-bot) <319595688+rtorcato-bot@users.noreply.github.com>
rtorcato-bot
added a commit
to rtorcato/repo-tooling
that referenced
this pull request
Dec 3, 2026
🤖 *Automated — `@Shockwave` 🐝 (Buzz agent) via ai-loop.* Bumps `apps/docs` to `@rtorcato/shared-docs` `^1.20.0` and re-runs `shared-docs init --update` (fix-p3, docs CSS). **Picks up** - Navy dark-mode sidebar fix: rtorcato/shared-docs#205 (`[data-theme=dark]` becomes `html[data-theme=dark]`, so the navy palette beats Infima) - Sidebar overflow-x guard: rtorcato/shared-docs#197 - Opt-in `jt-sidebar-section` styles (no effect until a sidebar opts in), plus the `.button.button--secondary` specificity fix **Left out on purpose** - `scripts/sync-changelog.mjs`: the init copy is older than ours. It drops the Changesets release-heading handling and brings back semantic-release wording, so I kept the repo's version. - Scaffold-only files (`docs/intro.md`, `src/css/_jt-tokens.css`, `static/img/favicon.ico`, `.gitkeep`): this site doesn't use them (`custom.css` imports only `theme.css`, and the favicon is `favicon.svg`). **Checked** - `pnpm build` in `apps/docs` is green. - Served the build and loaded `/docs/` in dark mode: the sidebar, body and `main` all compute to `rgb(10, 14, 22)` (`#0a0e16`, navy), and the sidebar has `overflow-x: hidden`. Docs-only, so no changeset. Note: I pushed with `--no-verify`. The pre-push `pnpm verify` timed out on 3 CLI tests (5s vitest limit) while the machine was under heavy load. Both files pass when run alone (113/113), and this diff touches no CLI code. CI is the gate. Co-authored-by: Shockwave (rtorcato-bot) <319595688+rtorcato-bot@users.noreply.github.com>
rtorcato-bot
added a commit
to rtorcato/repo-ai
that referenced
this pull request
Dec 3, 2026
🤖 *Automated — `@Shockwave` 🐝 (Buzz agent) via ai-loop.* Bumps the docs site to `rtorcato/shared-docs` 1.20.0, which ships the navy dark-mode sidebar fix (rtorcato/shared-docs#205) and the sidebar overflow guard (rtorcato/shared-docs#197). **Changes** - `apps/docs/package.json`: shared-docs `^1.19.0` → `^1.20.0` (and the lockfile). - `shared-docs init --update` refreshed the shipped assets: `src/css/theme.css`, `src/css/_jt-tokens.css`, and a header comment in `scripts/sync-changelog.mjs`. No config or pages were touched. - `init` also wanted to add a nested `apps/docs/.gitignore` (the root one already covers it), a `.gitkeep`, and a generic `favicon.ico`. I left all three out to keep this PR in scope. **Checked** - `pnpm --filter ./apps/docs build`: green. - `pnpm verify`: green (652 tests). - Served the build and checked `/docs/getting-started` with Playwright. In dark mode the sidebar background is `rgb(10, 14, 22)` (`--jt-bg` `#0a0e16`, navy, the same as the page); in light mode it is white. **Not in this PR**: `shared-docs doctor` reports two FAILs that are already on `main`. Both come from the docs being hosted on Cloudflare at `docs.torcato.dev` while there is no `config.docs` in `.repo-tooling.json`, so doctor expects GitHub Pages. It also warns about the `favicon.ico`. Docs-only, so there's no changeset. Co-authored-by: Shockwave (rtorcato-bot) <319595688+rtorcato-bot@users.noreply.github.com>
rtorcato-bot
added a commit
to rtorcato/cf-common
that referenced
this pull request
Dec 4, 2026
🤖 *Automated — `@Bumble` 🐝 (Buzz agent) via ai-loop.* Bumps `apps/docs` to `@rtorcato/shared-docs` `^1.20.0`, which carries the navy dark-sidebar fix (rtorcato/shared-docs#205) and the sidebar overflow guard (rtorcato/shared-docs#197). - `apps/docs/package.json`: `^1.19.0` → `^1.20.0` (+ lockfile) - `shared-docs init --update`: refreshed `_jt-tokens.css`, `scripts/sync-changelog.mjs`, and wrote the new shipped `theme.css` and `static/img/favicon.ico` (+ `.gitkeep`) - `custom.css`: imports `theme.css` after the tokens (the `doctor` check requires it) Docs-only, no changeset. **Verified:** `pnpm build` in `apps/docs` succeeds. Dark tokens are navy (`--jt-surface: #111824`, `--jt-surface2: #0d131d`). **Not verified:** I couldn't get a browser check of the dark sidebar colour running (Playwright wouldn't resolve), so please eyeball it in the deploy preview. `shared-docs doctor` still FAILs on pre-existing config (docs url, Cloudflare deploy workflow, tsconfig TS7). Those are config, which `--update` never touches. I left them alone. --------- Co-authored-by: Bumble (rtorcato-bot) <319595688+rtorcato-bot@users.noreply.github.com> Co-authored-by: Richard Torcato <rtorcato@me.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated —
@Bumble🐝 (Buzz agent) via ai-loop.Closes #196
assets/theme.css:overflow-x: hiddenon the sidebar scroll container. The.menu's 12px side padding keeps focus rings (the default outline, no custom rule exists) inside the clip box.assets/theme.css: opt-injt-sidebar-sectionclass on a top-level category: non-collapsible 11px small-capsvar(--jt-muted)label, 1pxvar(--jt-border)divider above (none on the first section), flat child links (no extra indent), caret hidden. Uses only--jt-*tokens, so both themes follow. Nothing changes until a site adds the class.sidebars.tsexample (needscollapsible: false, collapsed: false).Checks:
pnpm build,pnpm test(21 pass), biome lint clean.Not verified: I did not render the section in a live Docusaurus site (light/dark, mobile drawer). Reviewer: please check that visually, or point me at a consumer site to try it on.