Skip to content

docs: squircle corner design standard#1

Open
mixflavor wants to merge 1 commit into
mainfrom
feat/squircle-standard
Open

docs: squircle corner design standard#1
mixflavor wants to merge 1 commit into
mainfrom
feat/squircle-standard

Conversation

@mixflavor

Copy link
Copy Markdown
Contributor

Establishes the squircle corner as a documented CVER design convention.

What changed

  • New DESIGN.md — shared visual conventions, leading with the squircle corner standard.
  • README.md — links the new doc alongside README-STYLE.md.

The standard

Every CVER surface with a finite corner radius uses a continuous-curvature corner (a squircle), mirroring what already shipped in cver.net (--corner) and liquidframe (--lf-corner).

  • Web: corner-shape: squircle layered on top of the existing border-radius via a --corner token. It is Chromium-only as of mid-2026 (Safari/WebKit & Firefox keep the radius arc) — pure progressive enhancement, zero visual regression. Tailwind: one low-specificity :where(.rounded-*) rule, excluding rounded-full. Plain CSS/Svelte/HTML: token + corner-shape next to each finite radius. Pills/circles stay round.
  • SwiftUI: switch rounded rectangles to .continuous; leave Capsule()/Circle() alone.
  • Skip rule: repos with no UI / only pills/circles skip cleanly — no invented UI.

Doc-only change.

Adds DESIGN.md documenting the CVER squircle corner convention, mirroring
what already shipped in cver.net (global.css --corner) and liquidframe
(--lf-corner). Covers web (corner-shape progressive enhancement, Chromium-only
mid-2026, zero regression), Tailwind and plain-CSS/Svelte/HTML application, and
SwiftUI .continuous. Pills/circles stay round; non-UI repos skip cleanly.
Links the new doc from README.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants