дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-26 03:14:38 +02:00
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 <[email protected]>
29 рядки
553 B
CSS
29 рядки
553 B
CSS
.form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
padding: 14px;
|
|
}
|
|
.label {
|
|
color: var(--fg-secondary);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.text {
|
|
width: 100%;
|
|
height: 320px;
|
|
resize: vertical;
|
|
padding: 6px 8px;
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius-control);
|
|
background: var(--bg-input);
|
|
color: var(--fg-editor);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
line-height: 1.5;
|
|
white-space: pre;
|
|
}
|
|
.text:focus {
|
|
outline: none;
|
|
border-color: var(--accent);
|
|
}
|