feat(genesis): add GnDotGrid dot-grid primitive#270
Open
johnleider wants to merge 2 commits into
Open
Conversation
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.
|
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
GnDotGridto@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 tovar(--v0-on-background); the component is self-contained (scoped CSS, no UnoCSS).The v0 docs adopt it:
AppDotGridis now a thin wrapper over the genesis primitive.dotGridIntensitysetting.Slidergated behind a v0Checkbox+Collapsibleaccordion, with a magnified live preview of the grid.