feat: squircle corners#1
Open
mixflavor wants to merge 1 commit into
Open
Conversation
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>
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.
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.
:root { --corner: squircle; }corner-shape: var(--corner);next to each finiteborder-radiusrule (the existingborder-radiusstill sizes the corner and is the fallback).border-radius: 999px) and full-bleed zero-radius editors round — corner-shape is only on real card/panel/button/input surfaces.Zero regression
corner-shapeis Chromium-only as of mid-2026. Safari/WebKit and Firefox ignore it and keep the existingborder-radiusarc, 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