Skip to content

[docs] Sync docs with @vercel/geistdocs 1.2.0 + 1.2.1#364

Merged
christopherkindl merged 13 commits intomainfrom
ck/geistdocs-1.2
Apr 17, 2026
Merged

[docs] Sync docs with @vercel/geistdocs 1.2.0 + 1.2.1#364
christopherkindl merged 13 commits intomainfrom
ck/geistdocs-1.2

Conversation

@christopherkindl
Copy link
Copy Markdown
Contributor

@christopherkindl christopherkindl commented Apr 17, 2026

Summary

Pulls the geistdocs template updates from @vercel/geistdocs releases 1.2.0 and 1.2.1 into apps/docs using:

1.2.0

  • New `NavbarLogo` with oss product switcher + standard variants
  • Geist theme tokens and icons / logos (new `components/geistcn-fallbacks/`)
  • Updated docs layout (table of contents, docs navbar)
  • Redesigned `Navbar` / `MobileMenu`; added `MobileDocsBar`, `theme-aware-image`

1.2.1

  • New `CommandPrompt` UI component (`components/ui/command-prompt.tsx`)
  • New `IconCheck` / `IconCopy` fallback icons
  • Supporting CSS tokens and `@utility` rules (`material-small`, `text-label-13`, `text-label-14-mono`, `text-label-16-mono`, `--ds-shadow-border-small` light/dark)
Before After
CleanShot 2026-04-17 at 13 59 09@2x image
CleanShot 2026-04-17 at 14 00 03@2x image

Pulls in template updates via `@vercel/geistdocs@1.2.1 update --sync`:

- 1.2.0: new NavbarLogo (oss product switcher variant), geist theme
  tokens + icons, updated docs layout, MobileDocsBar, redesigned navbar
  and mobile menu
- 1.2.1: CommandPrompt UI component, IconCheck / IconCopy fallback
  icons, supporting CSS tokens and @Utility rules (material-small,
  text-label-13, text-label-14-mono, text-label-16-mono,
  --ds-shadow-border-small light/dark)

Home page intentionally left untouched because flags-sdk uses a custom
home/[code] routing structure. package.json left untouched to preserve
workspace/catalog references and app-specific deps (flags,
@vercel/toolbar, newer Next).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flags-playground Ready Ready Preview, Comment, Open in v0 Apr 17, 2026 2:57pm
flags-sdk-dev Ready Ready Preview, Comment, Open in v0 Apr 17, 2026 2:57pm
flags-sdk-next-15 Ready Ready Preview, Comment, Open in v0 Apr 17, 2026 2:57pm
flags-sdk-next-16 Ready Ready Preview, Comment, Open in v0 Apr 17, 2026 2:57pm
flags-sdk-snippets Ready Ready Preview, Comment, Open in v0 Apr 17, 2026 2:57pm
flags-sdk-sveltekit-snippets Ready Ready Preview, Comment, Open in v0 Apr 17, 2026 2:57pm
shirt-shop Ready Ready Preview, Comment, Open in v0 Apr 17, 2026 2:57pm
shirt-shop-api Ready Ready Preview, Comment, Open in v0 Apr 17, 2026 2:57pm

- Cap the footer inner row at max-w-[1448px] so it aligns with the
  navbar on very wide screens
- Render the Flags SDK wordmark (LogoFlagsSdk) directly in the navbar
  via the oss NavbarLogo trigger; drop the duplicate entry from the
  product switcher dropdown

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Matches the navbar background so docs pages (principles, frameworks,
providers, etc.) no longer sit on a lighter surface than the header.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replaces the Get Started button + CopySnippet in the home hero with
the CommandPrompt switcher. Triggers and surface are aligned to the
left via `items-start` on the root so they line up with the hero
heading instead of being centered.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Disables the default Fumadocs TOC popover and renders the
MobileDocsBar (sidebar trigger + TOC sheet) above the docs title,
matching the geistdocs template.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Matches the workflow docs tweak — broadens the fd-primary override
from #nd-toc to :root so in-content links pick up the design-system
foreground color instead of the default blue.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Update --ds-shadow-menu to the 4-layer geist menu shadow
- Apply it to the flags-toggle card via `shadow-(--ds-shadow-menu)`;
  drop the stock `shadow-md` and redundant border

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Replace the inline triangle SVG + "Flags SDK" text in geistdocs.tsx
  with `<LogoFlagsSdk height={22} />`, so navbar & template consumers
  get the real wordmark
- Revert navbar.tsx to import `Logo` from `@/geistdocs` (single source
  of truth) — the direct LogoFlagsSdk import is no longer needed
- Add `LogoAiSdk` to OSS_PRODUCT_LINKS at the top of the list
  (`ai-sdk.dev`)
- Give LogoAiSdk the same `color` prop pattern as the other SDK logos
- Formatter cleanup in app/[lang]/layout.tsx

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Comment thread apps/docs/app/[lang]/layout.tsx
christopherkindl and others added 2 commits April 17, 2026 14:35
- Re-mount <FrameworkSwitcher /> at the top of the desktop sidebar and
  the mobile Sheet (lost during the 1.2.x template sync)
- Rewrite the Next.js icon to mirror LogoIconNextSvg from
  @vercel/geistcn-assets: circle uses currentColor + text-gray-1000 so
  it auto-inverts per theme; gradient stops for the "N" use
  var(--ds-background-100) so the highlight stays readable in light
  and dark

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ffset

- DesktopMenu: mark nav items active when pathname falls under the
  item's section (match on first three path segments, ignore locale
  prefix); add `data-[active]:text-gray-1000` to the selector
- CodeBlock: restore the `#next` / `#svelte` title-suffix parser so
  framework icons render in code block headers again
- FrameworkSwitcher: apply `--ds-shadow-menu` to the popover content
- geistdocs.css: push `#nd-toc` over with `md:pl-8`

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants