refactor(styles): put gap on the spacing scale (#3562)

Extends the 4px-grid spacing scale with --space-0-5 (2px), --space-1 (4px) and --space-1-5 (6px) and replaces the literal 2/4/6/8/12/16px gap, row-gap and column-gap values with the tokens; computed values are unchanged. src/styles/spacingScale.test.ts flags an on-scale literal gap.

Co-authored-by: Mr0Bread <[email protected]>
Цей коміт міститься в:
Mr0Bread authored and GitHub committed 2026-11-15 23:59:47 +08:00
1 джерело 2913c12a19
коміт 9a518e734b
151 files changed
+896 -873

No files matched your search

+5 -5
Переглянути файл
@@ -19,7 +19,7 @@
.toolbar {
display: flex;
align-items: center;
gap: 4px;
gap: var(--space-1);
height: var(--h-header);
padding: 0 8px;
background: var(--bg-editor);
@@ -45,7 +45,7 @@
.entry {
display: flex;
align-items: center;
gap: 8px;
gap: var(--space-2);
height: var(--h-list-row);
padding: 0 8px;
border: none;
@@ -66,7 +66,7 @@
.runningRow {
display: flex;
align-items: center;
gap: 8px;
gap: var(--space-2);
height: var(--h-list-row);
padding: 0 8px;
color: var(--fg-secondary);
@@ -112,7 +112,7 @@
.statusLine {
display: flex;
align-items: center;
gap: 12px;
gap: var(--space-3);
height: var(--h-header);
padding: 0 8px;
flex: none;
@@ -195,7 +195,7 @@
.pendingLine {
display: flex;
align-items: center;
gap: 8px;
gap: var(--space-2);
color: var(--fg-secondary);
}
.pendingRequest {