Files
openidea/src/features/vim/Vim.module.css
T
Mr0Bread 9a518e734b 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 <55754540+Mr0Bread@users.noreply.github.com>
2026-11-15 23:59:47 +08:00

69 lines
1.1 KiB
CSS

.status {
min-width: 7ch;
justify-content: center;
font-weight: 600;
}
.status[data-mode="insert"] {
color: var(--success);
}
.status[data-mode="visual"] {
color: var(--info);
}
.status[data-mode="replace"] {
color: var(--warning);
}
.off {
color: var(--fg-subtle);
font-weight: normal;
}
.page {
display: flex;
flex-direction: column;
gap: var(--space-4);
color: var(--fg);
font-size: var(--fs-ui);
}
.section {
display: flex;
flex-direction: column;
gap: var(--space-1-5);
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
color: var(--fg-muted);
}
.hint {
margin: 0;
color: var(--fg-muted);
font-size: var(--fs-small);
}
.mono {
font-family: var(--font-mono);
font-size: var(--fs-small);
}
.ignored {
margin: 0;
padding-left: 16px;
color: var(--fg-muted);
font-size: var(--fs-small);
}
.table {
width: 100%;
border-collapse: collapse;
border: 1px solid var(--border-strong);
}
.table th {
text-align: left;
font-weight: normal;
color: var(--fg-muted);
padding: 4px 8px;
border-bottom: 1px solid var(--border-strong);
}
.table td {
padding: 2px 8px;
height: 28px;
}