Adopt the new palette; square corners, superellipse buttons
The theme defaults (light and dark) come from the 16-color grid, kept as PALETTE in src/lib/color.ts; every text pair passes the admin's 4.5:1 check. Nothing is rounded any more except buttons, which share one btn utility (Poppins Bold, a superellipse corner where the browser has corner-shape) and true dots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ecdcd4ec37
commit
d81f7bd856
62 changed files with 416 additions and 384 deletions
|
|
@ -15,7 +15,7 @@
|
|||
--tl-faint: color-mix(in srgb, var(--color-muted) 70%, transparent);
|
||||
--tl-rail: color-mix(in srgb, var(--color-brand) 20%, transparent);
|
||||
--tl-surface: var(--color-surface);
|
||||
--tl-accent: #0f7183;
|
||||
--tl-accent: var(--color-link);
|
||||
--tl-accent-soft: color-mix(in srgb, var(--tl-accent) 12%, transparent);
|
||||
|
||||
--tl-gutter: 5rem;
|
||||
|
|
@ -133,7 +133,6 @@
|
|||
gap: 0.5rem;
|
||||
padding: 0.375rem 0.75rem;
|
||||
border: 1px dashed var(--tl-rail);
|
||||
border-radius: 999px;
|
||||
font-size: 0.8125rem;
|
||||
color: var(--tl-faint);
|
||||
}
|
||||
|
|
@ -158,7 +157,6 @@
|
|||
cursor: pointer;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
border-radius: 0.375rem;
|
||||
}
|
||||
|
||||
.site-tl__yearBtn:hover .site-tl__yearLabel {
|
||||
|
|
@ -293,7 +291,6 @@
|
|||
grid-template-columns: 2.75rem minmax(0, 1fr);
|
||||
gap: 0.75rem;
|
||||
padding: 0.5rem 0.75rem 0.5rem 0;
|
||||
border-radius: 0.5rem;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
|
@ -358,7 +355,6 @@ a.site-tl__entry:hover .site-tl__entryTitle {
|
|||
}
|
||||
|
||||
.site-tl__kind--event {
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.site-tl__kind--award {
|
||||
|
|
@ -385,7 +381,6 @@ a.site-tl__entry:hover .site-tl__entryTitle {
|
|||
padding: 1rem 1.125rem;
|
||||
border-left: 2px solid var(--tl-accent);
|
||||
background: var(--tl-accent-soft);
|
||||
border-radius: 0 0.5rem 0.5rem 0;
|
||||
}
|
||||
|
||||
.site-tl__entry--featured .site-tl__entryTitle {
|
||||
|
|
@ -431,10 +426,13 @@ a.site-tl__entry--featured:hover {
|
|||
.site-tl__toolbarBtn {
|
||||
padding: 0.375rem 0.75rem;
|
||||
border: 1px solid var(--tl-rail);
|
||||
border-radius: 999px;
|
||||
border-radius: var(--btn-radius);
|
||||
corner-shape: squircle;
|
||||
background: none;
|
||||
color: var(--tl-muted);
|
||||
font: inherit;
|
||||
font-family: var(--font-display);
|
||||
font-weight: 700;
|
||||
font-size: 0.8125rem;
|
||||
cursor: pointer;
|
||||
transition: color 140ms ease, border-color 140ms ease;
|
||||
|
|
@ -511,7 +509,6 @@ a.site-tl__entry--featured:hover {
|
|||
.site-tl__upcomingBtn:focus-visible {
|
||||
outline: 2px solid var(--tl-accent);
|
||||
outline-offset: 2px;
|
||||
border-radius: 0.375rem;
|
||||
}
|
||||
|
||||
.site-tl__upcomingDot {
|
||||
|
|
@ -565,14 +562,12 @@ a.site-tl__entry--featured:hover {
|
|||
margin-right: 0.5rem;
|
||||
vertical-align: -0.1875rem;
|
||||
object-fit: contain;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* An 18px mark: the dark-mode backing (.logo-plate, index.css) with
|
||||
a hairline of padding, not the usual quarter rem. */
|
||||
:root[data-theme] .site-tl__logo.logo-plate {
|
||||
padding: 1px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.site-tl__entry--featured .site-tl__logo {
|
||||
|
|
@ -596,7 +591,6 @@ a.site-tl__entry--featured:hover {
|
|||
border-left: 2px solid var(--tl-accent);
|
||||
background: var(--tl-accent-soft);
|
||||
margin-top: -0.5rem;
|
||||
border-radius: 0 0 0.5rem 0;
|
||||
}
|
||||
|
||||
.site-tl__rosterTeam {
|
||||
|
|
@ -653,7 +647,6 @@ a.site-tl__entry--featured:hover {
|
|||
/* --- Kind markers, continued --------------------------------- */
|
||||
|
||||
.site-tl__kind--organization {
|
||||
border-radius: 2px;
|
||||
background: none;
|
||||
box-shadow: inset 0 0 0 1.5px var(--tl-faint);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue