Feat v0.6.11 CSS deduplication (#46)
Some checks failed
CI/CD / detect-changes (pull_request) Successful in 4s
CI/CD / test-sqlite (pull_request) Has been cancelled
CI/CD / build-and-deploy (pull_request) Has been cancelled
CI/CD / test-go-pg (pull_request) Has been cancelled
CI/CD / test-frontend (pull_request) Has been cancelled
Some checks failed
CI/CD / detect-changes (pull_request) Successful in 4s
CI/CD / test-sqlite (pull_request) Has been cancelled
CI/CD / build-and-deploy (pull_request) Has been cancelled
CI/CD / test-go-pg (pull_request) Has been cancelled
CI/CD / test-frontend (pull_request) Has been cancelled
Retire old primitives.css button/toast/popup-menu/dropdown/tabs systems.
sw-primitives.css is now the single source of truth.
- Migrate 29 files from .btn-* to .sw-btn .sw-btn--{variant} .sw-btn--{size}
- Delete old toast, popup-menu, dropdown, tabs CSS (no JS references)
- Resolve .sw-dropdown and .sw-tabs class name collisions
- Resolve .settings-section duplicate (modals.css removed, surfaces.css authoritative)
- Add .sw-btn--success variant, --bg-active CSS variable
- Fix sdk-test-runner wrong variable names, icd-test-runner button fallbacks
- Add scripts/audit-css-collisions.sh
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -14,12 +14,12 @@
|
||||
}
|
||||
.sdkr-version {
|
||||
font-size: 12px;
|
||||
color: var(--text3, #888);
|
||||
color: var(--text-3, #888);
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
}
|
||||
.sdkr-desc {
|
||||
font-size: 13px;
|
||||
color: var(--text2, #aaa);
|
||||
color: var(--text-2, #aaa);
|
||||
margin: 0 0 16px 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
@@ -30,7 +30,7 @@
|
||||
padding: 10px 14px;
|
||||
border: 1px solid var(--border, #333);
|
||||
border-radius: 6px;
|
||||
background: var(--bg1, #1a1a1a);
|
||||
background: var(--bg-raised, #1a1a1a);
|
||||
}
|
||||
.sdkr-fixture-row {
|
||||
display: flex;
|
||||
@@ -41,14 +41,14 @@
|
||||
.sdkr-fixture-label {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text2, #aaa);
|
||||
color: var(--text-2, #aaa);
|
||||
text-transform: uppercase;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.sdkr-select {
|
||||
padding: 4px 8px;
|
||||
font-size: 13px;
|
||||
background: var(--bg2, #222);
|
||||
background: var(--bg-raised, #222);
|
||||
color: var(--text, #e0e0e0);
|
||||
border: 1px solid var(--border, #444);
|
||||
border-radius: 4px;
|
||||
@@ -57,7 +57,7 @@
|
||||
.sdkr-input {
|
||||
padding: 4px 8px;
|
||||
font-size: 13px;
|
||||
background: var(--bg2, #222);
|
||||
background: var(--bg-raised, #222);
|
||||
color: var(--text, #e0e0e0);
|
||||
border: 1px solid var(--border, #444);
|
||||
border-radius: 4px;
|
||||
@@ -67,17 +67,17 @@
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
}
|
||||
.sdkr-input::placeholder {
|
||||
color: var(--text3, #666);
|
||||
color: var(--text-3, #666);
|
||||
font-family: inherit;
|
||||
}
|
||||
.sdkr-fixture-status {
|
||||
font-size: 12px;
|
||||
color: var(--text3, #888);
|
||||
color: var(--text-3, #888);
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
}
|
||||
.sdkr-fixture-note {
|
||||
font-size: 11px;
|
||||
color: var(--text3, #666);
|
||||
color: var(--text-3, #666);
|
||||
margin-top: 6px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
@@ -98,7 +98,7 @@
|
||||
.sdkr-filter-label {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text2, #aaa);
|
||||
color: var(--text-2, #aaa);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
@@ -119,13 +119,13 @@
|
||||
padding: 6px 14px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--border, #444);
|
||||
background: var(--bg2, #2a2a2a);
|
||||
background: var(--bg-raised, #2a2a2a);
|
||||
color: var(--text, #e0e0e0);
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.sdkr-btn:hover { background: var(--bg3, #383838); }
|
||||
.sdkr-btn:hover { background: var(--bg-hover, #383838); }
|
||||
.sdkr-btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||
.sdkr-btn-primary {
|
||||
background: var(--accent, #3b82f6);
|
||||
@@ -146,7 +146,7 @@
|
||||
gap: 8px;
|
||||
margin-bottom: 12px;
|
||||
padding: 10px 12px;
|
||||
background: var(--bg2, #1e1e1e);
|
||||
background: var(--bg-raised, #1e1e1e);
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border, #333);
|
||||
}
|
||||
@@ -173,8 +173,8 @@
|
||||
.sdkr-table th {
|
||||
text-align: left;
|
||||
padding: 8px 10px;
|
||||
background: var(--bg2, #1e1e1e);
|
||||
color: var(--text2, #aaa);
|
||||
background: var(--bg-raised, #1e1e1e);
|
||||
color: var(--text-2, #aaa);
|
||||
font-weight: 600;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
@@ -205,12 +205,12 @@
|
||||
.sdkr-ms {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 11px;
|
||||
color: var(--text3, #888);
|
||||
color: var(--text-3, #888);
|
||||
text-align: right;
|
||||
}
|
||||
.sdkr-detail {
|
||||
font-size: 11px;
|
||||
color: var(--text3, #888);
|
||||
color: var(--text-3, #888);
|
||||
max-width: 400px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user