feat(frontend): switch to the dark graphite design system with a Lincodex wordmark
This commit is contained in:
1 parent
945ab6d6a9
commit
3c4acff803
81 files changed
+3187
-619
No files matched your search
@@ -0,0 +1,73 @@
|
||||
.root {
|
||||
display: inline-flex;
|
||||
gap: var(--space-3);
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.link {
|
||||
display: inline-flex;
|
||||
gap: 0.14em;
|
||||
align-items: center;
|
||||
min-height: var(--control-height);
|
||||
padding-inline: var(--space-1);
|
||||
margin-inline: calc(-1 * var(--space-1));
|
||||
border-radius: var(--radius-xs);
|
||||
color: var(--color-text-strong);
|
||||
font-size: 1.3125rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.root[data-size="s"] .link {
|
||||
font-size: 1.0625rem;
|
||||
}
|
||||
|
||||
/* Wide geometric display face with tight tracking: the name reads as one
|
||||
* mark, not as a word in a sentence. */
|
||||
.word {
|
||||
font-family: var(--font-display);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.045em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* Terminal caret: a bar in the action color, cap height tall. It blinks a
|
||||
* few times after the page loads and then stays lit. */
|
||||
.caret {
|
||||
flex: none;
|
||||
width: 0.2em;
|
||||
height: 0.78em;
|
||||
margin-top: 0.02em;
|
||||
border-radius: 1px;
|
||||
background: var(--color-action);
|
||||
animation: caret-blink 1.1s steps(1, end) 3;
|
||||
}
|
||||
|
||||
.link:hover .caret {
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
/* Cabinet name: a mono label separated by a hairline. */
|
||||
.context {
|
||||
padding-left: var(--space-3);
|
||||
border-left: var(--line-thin) solid var(--color-divider);
|
||||
color: var(--color-text-secondary);
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-medium);
|
||||
letter-spacing: 0.02em;
|
||||
line-height: var(--line-height-snug);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@keyframes caret-blink {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.caret {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user