Skip to content

docs: polish bundle — muted-foreground token, getting-started, Neon URL (closes #47)#55

Merged
tonytino merged 1 commit into
mainfrom
docs/47-polish-bundle
Jun 25, 2026
Merged

docs: polish bundle — muted-foreground token, getting-started, Neon URL (closes #47)#55
tonytino merged 1 commit into
mainfrom
docs/47-polish-bundle

Conversation

@tonytino

Copy link
Copy Markdown
Owner

Closes #47. Three independent accuracy/polish fixes, plus a changelog.d/ fragment (per the new convention).

1. Undefined Tailwind token

app/styles/app.css was just @import "tailwindcss"; with no @theme, so the text-muted-foreground utility used in __root.tsx/index.tsx (5 usages) emitted nothing in Tailwind v4 — the text silently fell back to the default color. Defined --color-muted-foreground in an @theme block and documented it in docs/agents/styling.md.
Verified: the built CSS now emits .text-muted-foreground{color:var(--color-muted-foreground)} and the oklch(55.6% 0 0) token (vs. nothing before).

2. Getting-started consistency

The scaffold-generated README and the scaffold's final "Next steps" output listed different command orders, and the README omitted the DATABASE_URL step. Both now read pnpm installcp .env.example .env (fill DATABASE_URL) → pnpm dev, with the optional E2E browser install moved to an aside.
Verified via scaffold dry-run — README and console output now match.

3. Neon URL guidance

db/client.ts uses the neon-http driver, but .env.example/environment.md told users to copy the pooled string — a distinction that only matters for the WebSocket Pool driver. Clarified that with the HTTP driver either endpoint works.

Verification

pnpm preflight green (Biome + tsc + 42 tests); production build emits the token rule; scaffold dry-run confirms the README/Next-steps match. changelog:check passes with the new fragment.

🤖 Generated with Claude Code


Generated by Claude Code

Three independent accuracy fixes from an independent review:

- Define `--color-muted-foreground` in app/styles/app.css `@theme` so the
  `text-muted-foreground` utility used by the starter routes actually renders
  (Tailwind v4 emits nothing for an undefined color utility). Verified the
  built CSS now emits `.text-muted-foreground{color:var(--color-muted-foreground)}`.
- Align the scaffold-generated README with the scaffold's "Next steps" output:
  one command order, and the DATABASE_URL step is now in both.
- Clarify Neon guidance in .env.example and environment.md — with the neon-http
  driver the pooled vs. direct endpoint doesn't matter (the -pooler endpoint is
  for the WebSocket Pool driver).

Closes #47.
@tonytino tonytino enabled auto-merge (squash) June 25, 2026 02:13
@tonytino tonytino merged commit 38fed75 into main Jun 25, 2026
5 checks passed
@tonytino tonytino deleted the docs/47-polish-bundle branch June 25, 2026 02:14
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.

[Task]: Docs/UI polish bundle (theme token, getting-started, Neon URL)

2 participants