feat(appearance): make Compact Mode match IntelliJ's compact density (#4593)

Compact Mode only lowered the title bar and narrowed the stripes: row heights, toolbar widgets and icons were fixed in code, and nothing in JS (where virtualised list row heights are set) could tell whether the mode was on. A small density store now mirrors the setting for JS, and Compact Mode uses IntelliJ's *.compact theme values: tree/list rows 22 (VCS log 24), toolbar widgets 26, toolbar and stripe icons 16, status bar 24, island gap 4, and chrome text 1px smaller.

Co-authored-by: ChildishForces <[email protected]>
Цей коміт міститься в:
Chris Schofield authored and GitHub committed 2026-11-20 03:26:32 +08:00
1 джерело 0379c37a49
коміт efd4e454ee
67 files changed
+356 -118

No files matched your search

+4 -4
Переглянути файл
@@ -23,18 +23,18 @@
}
/* Status bar widget (StatusBar.Widget): UI font, secondary text, rounded hover. */
.status {
height: 22px;
height: max(var(--h-statusbar) - 8px, var(--h-control-small));
margin: 0 -2px;
padding: 0 6px;
color: var(--fg-secondary);
font-size: var(--fs-ui);
font-size: var(--fs-chrome);
}
/* Main toolbar widget (project / VCS / run configuration). */
.title {
height: 28px;
height: var(--h-toolbar-widget);
margin: 0 -4px;
padding: 0 8px;
border-radius: var(--radius-toolbar-button, 6px);
border-radius: var(--radius-toolbar-dropdown);
color: var(--fg-strong);
}
.mono {