Round corners a notch; tokenize all radii onto an sm/md/lg/xl scale

Consolidate ~140 scattered hardcoded border-radius values (and the old
--aurora-radius/--aurora-radius-lg vars) onto one four-step scale defined in
shell-frame.css:
  --aurora-radius-sm 10px  (chips, small/icon controls; was 5-8px)
  --aurora-radius-md 14px  (buttons, inputs, search, list rows; was 9-14px)
  --aurora-radius-lg 20px  (cards, panels, larger buttons; was 15-20px)
  --aurora-radius-xl 28px  (page frames: content card, dashboard, sidebar,
                            editor; was the 24px --aurora-radius-lg)
Everything is one notch rounder, and the whole UI's roundness is now tunable
from four lines instead of 35 files.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
NixReaper
2026-07-12 13:21:22 -05:00
co-authored by Claude Opus 4.8
parent 53ca6f62b9
commit b3ff365483
35 changed files with 149 additions and 145 deletions
+5 -5
View File
@@ -398,7 +398,7 @@ const rowRange = computed(() => {
width: min(320px, 100%);
min-height: 38px;
border: 1px solid var(--aurora-border);
border-radius: 8px;
border-radius: var(--aurora-radius-sm);
background: var(--aurora-bg-subtle);
display: flex;
align-items: center;
@@ -423,7 +423,7 @@ const rowRange = computed(() => {
width: 42px;
min-height: 42px;
border: 1px solid var(--aurora-border);
border-radius: 8px;
border-radius: var(--aurora-radius-sm);
color: var(--aurora-text);
background: var(--aurora-bg-subtle);
display: inline-flex;
@@ -451,7 +451,7 @@ const rowRange = computed(() => {
.comments-notice {
margin: 0 0 12px;
padding: 10px 12px;
border-radius: 8px;
border-radius: var(--aurora-radius-sm);
background: var(--aurora-bg-subtle);
color: var(--aurora-text);
font-size: 0.78rem;
@@ -460,7 +460,7 @@ const rowRange = computed(() => {
.comments-table {
overflow: hidden;
border: 1px solid var(--aurora-frame-border);
border-radius: 8px;
border-radius: var(--aurora-radius-sm);
background: var(--aurora-frame-bg);
}
.comments-table__head,
@@ -636,7 +636,7 @@ const rowRange = computed(() => {
width: 28px;
height: 28px;
border: 0;
border-radius: 6px;
border-radius: var(--aurora-radius-sm);
background: transparent;
color: var(--aurora-text-muted);
cursor: pointer;