Skip to content

fix(ui): paint the page body with the canvas token - #23

Merged
jbouder merged 1 commit into
mainfrom
fix/canvas-page-background
Sep 4, 2026
Merged

fix(ui): paint the page body with the canvas token#23
jbouder merged 1 commit into
mainfrom
fix/canvas-page-background

Conversation

@jbouder

@jbouder jbouder commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

The page body used bg-background, which the @nebari/theme tokens synced in #22 resolve to zinc-50 (the same value as the header layer), so the app body rendered light gray instead of white.

The registry's page layer is --canvas (white in light mode, zinc-975 in dark), and the nebari-ui skill documents --background as a legacy alias that page shells should not use. This swaps the body rule to bg-canvas.

Follow-up to #22, part of nebari-dev/nebari-design#143.

Verification

  • npm run build — pass
  • npm test — 5 files, 51 tests pass

🤖 Generated with Claude Code

The body used `bg-background`, which the @Nebari theme now resolves to
zinc-50 (the header layer), so the page rendered light gray. The registry's
page layer is `--canvas` (white in light, zinc-975 in dark), and the skill
documents `--background` as a legacy alias to avoid for page shells.

Follow-up to #22 / nebari-dev/nebari-design#143.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@jbouder
jbouder merged commit 91527dd into main Sep 4, 2026
6 checks passed
@jbouder
jbouder deleted the fix/canvas-page-background branch September 4, 2026 18:28
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