Files
openidea/src/workbench/Welcome.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

57 lines
909 B
CSS

.root {
height: 100%;
display: flex;
flex-direction: column;
background: var(--bg-island);
}
.main {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.fallback {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 18px;
padding-bottom: 38px;
}
.brand {
display: flex;
align-items: baseline;
gap: var(--space-2);
}
.name {
color: var(--fg-emphasis);
font-size: 15px;
font-weight: 500;
letter-spacing: -0.01em;
}
.version {
font-family: var(--font-mono);
font-size: var(--fs-small);
color: var(--fg-faint);
}
.actions {
position: relative;
display: flex;
align-items: center;
gap: 10px;
}
.hint {
display: flex;
gap: 10px;
color: var(--fg-faint);
}
.keys {
font-family: var(--font-mono);
font-size: var(--fs-small);
}
.spinner {
position: absolute;
left: calc(100% + 10px);
}