Files
olivv-cs-ComfyUI-FunPack/app/ui/composer/elements/text.css
T

51 lines
2.3 KiB
CSS

.cx-h { font-family: var(--font-display); font-weight: var(--fw-semibold); color: var(--text); }
.cx-h-display { font-size: var(--fs-d2); line-height: var(--lh-d2); font-weight: var(--fw-bold); letter-spacing: -0.02em; }
.cx-h-xl { font-size: var(--fs-d3); line-height: var(--lh-d3); font-weight: var(--fw-bold); letter-spacing: -0.015em; }
.cx-h-lg { font-size: var(--fs-1); line-height: var(--lh-1); }
.cx-h-md { font-size: var(--fs-2); line-height: var(--lh-2); }
.cx-h-sm { font-size: var(--fs-3); line-height: var(--lh-3); }
.cx-t { color: var(--text); }
.cx-t-lg { font-size: var(--fs-2); line-height: var(--lh-2); }
.cx-t-md { font-size: var(--fs-3); line-height: var(--lh-3); }
.cx-t-sm { font-size: var(--fs-4); line-height: var(--lh-4); }
.cx-t-xs { font-size: var(--fs-6); line-height: var(--lh-6); }
.cx-hint { font-size: var(--fs-6); line-height: var(--lh-6); color: var(--muted); }
.cx-label { font-size: var(--fs-5); line-height: var(--lh-5); color: var(--text); }
.cx-eyebrow {
font-size: var(--fs-7); line-height: var(--lh-7);
letter-spacing: .08em; text-transform: uppercase;
color: var(--faint);
}
.cx-code { font-family: var(--font-mono); font-size: 0.92em; color: var(--accent-text); }
.cx-code-block {
font-family: var(--font-mono); font-size: var(--fs-6); line-height: var(--lh-snug);
color: var(--text); background: var(--elev-2);
border: var(--bw) solid var(--line); border-radius: var(--r-3);
padding: var(--sp-4) var(--sp-5); margin: 0;
overflow-x: auto; /* wide code scrolls itself, never the page */
}
/* Log lines are plain until something needs attention. */
.cx-code-warn { color: var(--warn); }
.cx-code-error { color: var(--danger); }
/* The one place the app names itself. The mark is a wink, set in the display
face and the accent colour, the same size as the name beside it. */
.cx-brand { display: inline-flex; align-items: center; gap: var(--sp-3); }
.cx-brand-mark {
font-family: var(--font-display); font-weight: 800; line-height: 1;
font-size: var(--fs-3); letter-spacing: 0; color: var(--accent); white-space: nowrap;
}
.cx-brand-name {
font-family: var(--font-display); font-weight: 800;
font-size: var(--fs-3); letter-spacing: var(--ls-tight); color: var(--text);
}
.cx-center { text-align: center; }
.cx-modal-centered .cx-modal-head { justify-content: center; text-align: center; }