feat(frontend): add cabinet shells, brand tokens, and state primitives

This commit is contained in:
shira committed 2026-10-06 01:09:08 +03:00
1 parent dda3825786
commit 0e2a3b02ab
85 files changed
+3313 -113

No files matched your search

@@ -0,0 +1,117 @@
.page {
width: 100%;
margin-inline: auto;
padding: var(--space-6) var(--gutter) var(--space-8);
}
.narrow {
max-width: calc(var(--content-width-narrow) + 2 * var(--gutter));
}
.wide {
max-width: calc(var(--content-width-wide) + 2 * var(--gutter));
}
.page-header {
display: grid;
gap: var(--space-3);
padding-bottom: var(--space-5);
border-bottom: var(--line-thin) solid var(--color-divider);
}
.eyebrow {
color: var(--color-accent);
font-size: var(--font-size-xs);
font-weight: var(--font-weight-bold);
letter-spacing: var(--letter-spacing-label);
text-transform: uppercase;
}
.title {
font-size: var(--font-size-display);
font-weight: var(--font-weight-bold);
letter-spacing: var(--letter-spacing-display);
line-height: var(--line-height-tight);
overflow-wrap: anywhere;
hyphens: auto;
}
.lead {
max-width: 38rem;
color: var(--color-text-secondary);
font-size: var(--font-size-l);
line-height: var(--line-height-body);
}
.page-body {
display: grid;
gap: var(--space-6);
padding-top: var(--space-6);
}
.section {
position: relative;
display: grid;
gap: var(--space-3);
padding-left: var(--space-5);
}
/* Node at the heading plus a thin line down the section. */
.connector {
position: absolute;
top: 0.55em;
bottom: 0;
left: 0;
width: var(--space-3);
border-left: var(--line-thin) solid var(--color-accent);
border-bottom-left-radius: var(--radius-m);
}
.connector::before {
position: absolute;
top: -0.3rem;
left: calc(-0.3rem - 0.5px);
width: 0.6rem;
height: 0.6rem;
border-radius: 50%;
content: "";
background: var(--color-accent);
}
.section-title {
font-size: var(--font-size-xl);
font-weight: var(--font-weight-bold);
}
.section-description {
color: var(--color-text-secondary);
}
.section-body {
display: grid;
gap: var(--space-4);
padding-top: var(--space-2);
}
.stack {
display: flex;
flex-direction: column;
gap: var(--stack-gap);
min-width: 0;
}
.stack[data-direction="row"] {
flex-direction: row;
}
.stack[data-wrap] {
flex-wrap: wrap;
}
.stack[data-align="start"] {
align-items: flex-start;
}
.stack[data-align="center"] {
align-items: center;
}