Skip to content

fix: keep website utilities above docs theme css#339

Merged
Kinfe123 merged 1 commit into
mainfrom
codex/fix-website-theme-css-leak
Jul 13, 2026
Merged

fix: keep website utilities above docs theme css#339
Kinfe123 merged 1 commit into
mainfrom
codex/fix-website-theme-css-leak

Conversation

@Kinfe123

@Kinfe123 Kinfe123 commented Jul 13, 2026

Copy link
Copy Markdown
Member

Summary

  • load the website docs theme CSS before Tailwind so app-level Tailwind utilities win on non-doc pages
  • preserves the full docs theme bundle for the /docs layout while fixing homepage/cloud utility overrides introduced by the unified theme CSS import

Verification

  • git diff --check
  • corepack pnpm format:check
  • corepack pnpm lint (passes with existing warnings only)
  • corepack pnpm --dir website exec next build
  • Playwright visual smoke checks for /, /cloud, and /docs in local dev server, including dark-mode checks for / and /cloud

Note: the full website build script was not run because its nested plain pnpm call resolves to global pnpm 11 locally and prompted to remove/reinstall workspace module directories; I declined that mutation and ran the narrower Next build through corepack instead.


Summary by cubic

Load the docs theme CSS before Tailwind so website utilities win on non-doc pages. This prevents docs theme overrides on / and /cloud while keeping the full docs theme on /docs.

Written for commit 15e1921. Summary will update on new commits.

Review in cubic

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs-website Building Building Preview, Comment Jul 13, 2026 7:12pm
farming-labs-docs-docs-cloud Building Building Preview, Comment Jul 13, 2026 7:12pm

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Jul 13, 2026

Copy link
Copy Markdown

Open in StackBlitz

@farming-labs/astro

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/astro@339

@farming-labs/astro-theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/astro-theme@339

@farming-labs/docs

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/docs@339

@farming-labs/theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/theme@339

@farming-labs/next

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/next@339

@farming-labs/nuxt

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/nuxt@339

@farming-labs/nuxt-theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/nuxt-theme@339

@farming-labs/svelte

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/svelte@339

@farming-labs/svelte-theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/svelte-theme@339

@farming-labs/tanstack-start

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/tanstack-start@339

commit: 15e1921

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

@Kinfe123 Kinfe123 merged commit 83a4f21 into main Jul 13, 2026
9 of 10 checks passed
@Kinfe123 Kinfe123 deleted the codex/fix-website-theme-css-leak branch July 13, 2026 19:18
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