Skip to content

feat: squircle corners#1

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

feat: squircle corners#1
mixflavor wants to merge 1 commit into
mainfrom
feat/squircle-corners

Conversation

@mixflavor

Copy link
Copy Markdown
Contributor

What

Adds continuous-curvature (squircle) corners to tugtile's finite-radius UI surfaces — kanban lanes, tiles, modals, inputs, buttons, the date popup, toast, and tool pickers.

  • Introduces a token: :root { --corner: squircle; }
  • Adds corner-shape: var(--corner); next to each finite border-radius rule (the existing border-radius still sizes the corner and is the fallback).
  • Leaves pills (border-radius: 999px) and full-bleed zero-radius editors round — corner-shape is only on real card/panel/button/input surfaces.

Zero regression

corner-shape is Chromium-only as of mid-2026. Safari/WebKit and Firefox ignore it and keep the existing border-radius arc, so this is pure progressive enhancement with no visual change on those engines. Obsidian's renderer is Chromium (Electron), so desktop/iPad Obsidian gets the squircle.

🤖 Generated with Claude Code

Add continuous-curvature (squircle) corners as progressive enhancement
on tugtile's finite-radius surfaces (lanes, tiles, modals, inputs,
buttons, popups). Introduces a :root { --corner: squircle; } token and
applies corner-shape: var(--corner) next to each finite border-radius
rule. Pills (999px) and full-bleed zero-radius editors are left round.

corner-shape is Chromium-only (mid-2026); Safari/WebKit and Firefox
ignore it and keep the existing border-radius arc — zero visual
regression.

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