fix(web): style the open-file confirmation with declared tokens (#7896)

The /api/file confirmation read --bg-surface, which no theme declares (customProperties.test.ts failed on main), and used fixed sizes; it now uses --bg-input and the spacing, radius and font-size tokens.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-12-04 08:32:26 +08:00
1 джерело c1cde544fb
коміт f5abe8b509
1 file changed
+6 -6
+6 -6
Переглянути файл
@@ -38,16 +38,16 @@
.confirmBody {
display: flex;
flex-direction: column;
gap: 10px;
font-size: var(--font-size-ui, 13px);
gap: var(--space-2);
font-size: var(--fs-ui);
line-height: 1.5;
}
.confirmPath {
padding: 6px 8px;
border-radius: 4px;
background: var(--bg-input, var(--bg-surface));
padding: var(--space-1-5) var(--space-2);
border-radius: var(--radius-small);
background: var(--bg-input);
border: 1px solid var(--border);
font-family: var(--font-mono);
font-size: 12px;
font-size: var(--fs-code);
word-break: break-all;
}