Skip to content

feat(genesis): add GnDotGrid dot-grid primitive#270

Open
johnleider wants to merge 2 commits into
masterfrom
docs/dot-grid-lines
Open

feat(genesis): add GnDotGrid dot-grid primitive#270
johnleider wants to merge 2 commits into
masterfrom
docs/dot-grid-lines

Conversation

@johnleider
Copy link
Copy Markdown
Member

Adds GnDotGrid to @paper/genesis — a theme-adaptive decorative dot-grid background with optional connecting graph-paper lines. The line layers are offset half a cell so each dot sits on a grid intersection. Color defaults to var(--v0-on-background); the component is self-contained (scoped CSS, no UnoCSS).

The v0 docs adopt it:

  • AppDotGrid is now a thin wrapper over the genesis primitive.
  • The app-shell background grid is consolidated to match it (12% dots / 20px / corner-aligned lines), with line opacity driven by a new persisted dotGridIntensity setting.
  • Settings gains a user-facing line-intensity control — a v0 Slider gated behind a v0 Checkbox + Collapsible accordion, with a magnified live preview of the grid.

Theme-adaptive decorative dot grid with optional connecting graph-paper lines; lines are offset half a cell so each dot sits on a grid intersection. Color defaults to var(--v0-on-background); scoped CSS, no UnoCSS dependency.
AppDotGrid now wraps the @paper/genesis GnDotGrid primitive. The app-shell grid is consolidated to match it (12% dots / 20px / corner-aligned lines), with line opacity driven by a new persisted dotGridIntensity setting. Settings gains a v0 Slider intensity control gated behind a v0 Checkbox + Collapsible accordion with a magnified live preview.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jun 3, 2026

Open in StackBlitz

commit: d9402b5

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