Skip to content

Restyle help center to match kite.ai; fix npm audit findings - #21

Merged
salevine merged 3 commits into
mainfrom
docs/initial-help-center
Oct 26, 2026
Merged

salevine merged 3 commits into
mainfrom
docs/initial-help-center

Conversation

@salevine

@salevine salevine commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Two changes:

  1. Restyle the help center to match kite.ai.
  2. Fix new npm audit findings and move to Node 24.

1. Restyle (1af1000)

  • Sky-blue gradient navbar and footer, with a white Kite wordmark.
  • Ask AI and Search sit in a dark glass pill, like the kite.ai nav.
  • The "Try Kite" button (from feat(navbar): replace title text with "Try Kite" CTA button #17) now uses kite.ai's white Get Started style. The old blue style would vanish on the blue bar. It still sits after the color-mode toggle.
  • Inter headings with tight tracking, off-white page, blue links.
  • Light mode is now the default. Dark mode uses navy with blue accents.

Text and link colors are a little darker than kite.ai so every pair passes WCAG AA. Review also fixed the mobile drawer's "Back to main menu" button, the drawer close icon, the footer contrast, the dark-mode search highlight and the Ask AI dialog button.

2. Dependencies (a342669)

New advisories made the lockfile vulnerable again. npm audit reported 50 packages (20 critical), and Dependabot shows 86 open alerts.

  • Docusaurus 3.9.2 → 3.10.2, plus npm audit fix (non-breaking only).
  • tinypool override to ^2.1.2. Docusaurus core still asks for ^1.0.2, and tinypool <=2.1.1 has a critical advisory. Docusaurus only loads it when future.faster.ssgWorkerThreads is on, which this site does not use. A test build with that flag on ran the thread pool on tinypool 2.2.0 without errors. Remove the override once @docusaurus/core depends on tinypool ^2.
  • Node 24 in CI and in engines.node (24.x). The update brings mermaid 12, which needs Node 22.12+, and Node 20 is past end of life. Vercel reads engines.node, so CI and production build on the same major.

Validation

  • npm audit: 0 vulnerabilities.
  • Clean npm ci and npm run build on Node 24: pass. Same 52 pages and search index.
  • Visual check in Chrome: desktop and mobile width, light and dark mode, on Docusaurus 3.10.2.
  • No test suite exists for this site.

After merge

  • Check the Vercel build log shows Node 24.x. This depends on the Vercel Root Directory being website/.
  • Re-check Dependabot alerts.

Follow-ups (not in this PR)

  • Self-host the Inter font instead of loading it from Google Fonts.
  • Add basic security headers in vercel.json.
  • Move onBrokenMarkdownLinks to markdown.hooks to clear the Docusaurus v4 deprecation warning.

🤖 Generated with Claude Code

salevine and others added 2 commits October 26, 2026 12:16
Match the look of the kite.ai marketing site:

- Sky-blue gradient navbar and footer, with a white Kite wordmark.
- Ask AI and Search sit in a dark glass pill, like the kite.ai nav.
- "Go to Kite" link styled as kite.ai's white Get Started button.
- Inter headings with tight tracking, off-white page, blue links.
- Light mode is now the default. Dark mode uses navy with blue accents.

Text and link colors are a little darker than kite.ai so they pass
WCAG AA on the docs background. Mobile drawer, dark-mode search
highlight and Ask AI dialog button were fixed for contrast after
review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New advisories made the existing lockfile vulnerable again. npm audit
reported 50 packages (20 critical); Dependabot showed 86 open alerts.

- Update Docusaurus from 3.9.2 to 3.10.2 and apply npm audit fix
  (non-breaking only).
- Override tinypool to ^2.1.2. Docusaurus core still asks for ^1.0.2,
  and tinypool <=2.1.1 has a critical advisory. Docusaurus only loads
  tinypool when future.faster.ssgWorkerThreads is on, which this site
  does not use. A build with that flag on ran the thread pool on
  tinypool 2.2.0 without errors. Remove the override once
  @docusaurus/core depends on tinypool ^2.
- Pin Node 24 in CI and in engines.node. The update brings mermaid 12,
  which needs Node 22.12+, and Node 20 is past end of life. Vercel reads
  engines.node, so CI and production now build on the same major.
- Note the Node requirement in the README.

npm audit now reports 0 vulnerabilities. A clean npm ci and build pass
on Node 24 with the same 52 pages and search index.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
kite-docs Ready Ready Preview Oct 26, 2026 6:52pm UTC

Request Review

# Conflicts:
#	website/docusaurus.config.js
#	website/src/css/custom.css
@salevine
salevine merged commit 59843f0 into main Oct 26, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
Preview — 0138f1f6 Deployed Oct 26, 2026 by vercel[bot]
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.

1 participant