How we reach you
We use these only to follow up on this request, and we won't add you to any list.
diff --git a/src/pages/sections/history/TimelineUpcoming.tsx b/src/pages/sections/history/TimelineUpcoming.tsx
index 7f8b52f..8840a24 100644
--- a/src/pages/sections/history/TimelineUpcoming.tsx
+++ b/src/pages/sections/history/TimelineUpcoming.tsx
@@ -1,4 +1,4 @@
-import { CaretDown, CaretUp } from '@phosphor-icons/react'
+import { CaretDown, CaretUp, Leaf } from '@phosphor-icons/react'
import { useState } from 'react'
import type { GroupedYear, SortDirection } from '../../../lib/timeline.ts'
import TimelineYear from './TimelineYear.tsx'
@@ -42,7 +42,9 @@ export default function TimelineUpcoming({
aria-expanded={open}
onClick={() => setOpen((v) => !v)}
>
-
+
+
+
{open
? 'Hide what’s scheduled'
diff --git a/src/pages/sections/history/TimelineYear.tsx b/src/pages/sections/history/TimelineYear.tsx
index 29d95d0..c700b64 100644
--- a/src/pages/sections/history/TimelineYear.tsx
+++ b/src/pages/sections/history/TimelineYear.tsx
@@ -1,10 +1,16 @@
+import { Leaf } from '@phosphor-icons/react'
import type { CSSProperties } from 'react'
import type { GroupedYear } from '../../../lib/timeline.ts'
+import { leafColor } from '../../../lib/color.ts'
import TimelineEntry from './TimelineEntry.tsx'
-/** Dot diameter scales with volume, so the rail reads as a density chart. */
-function dotSize(count: number): string {
- return `${(7 + Math.min(count, 14) * 0.55).toFixed(2)}px`
+/** Each year is a leaf on the rail, its color turning from green to
+ * autumn as the years go back (leafColor), its size growing with
+ * the year's entries so the rail still reads as a density chart.
+ * Filled, not the icon set's usual bold outline, so the color
+ * carries. */
+function leafSize(count: number): string {
+ return `${(14 + Math.min(count, 14) * 0.9).toFixed(2)}px`
}
type Props = {
@@ -36,10 +42,12 @@ export default function TimelineYear({ year, open, onToggle }: Props) {
onClick={() => onToggle(year.year)}
>
+ >
+
+
{year.year}
{empty ? '-' : `${year.count} ${year.count === 1 ? 'entry' : 'entries'}`}
diff --git a/src/pages/sections/history/timeline.css b/src/pages/sections/history/timeline.css
index 824d8ab..95305fe 100644
--- a/src/pages/sections/history/timeline.css
+++ b/src/pages/sections/history/timeline.css
@@ -52,8 +52,8 @@
.site-tl__decade--pre::before {
background: none;
- border-left: var(--tl-rail-w) dashed var(--tl-rail);
- opacity: 0.7;
+ border-left: var(--tl-rail-w) solid var(--tl-rail);
+ opacity: 0.35;
}
/* Last decade fades out rather than stopping dead. */
@@ -132,7 +132,8 @@
align-items: center;
gap: 0.5rem;
padding: 0.375rem 0.75rem;
- border: 1px dashed var(--tl-rail);
+ background: var(--color-tint-soft);
+ border-left: 3px solid var(--tl-rail);
font-size: 0.8125rem;
color: var(--tl-faint);
}
@@ -168,45 +169,38 @@
outline-offset: 2px;
}
-/* Dot sits on the rail; --tl-dot is set inline from the year's item count, so
- scrolling the page gives you the organization's density at a glance. */
-.site-tl__dot {
+/* Each year's leaf sits on the rail (TimelineYear.tsx): its color
+ is the year's, set inline, and --tl-leaf, its size, grows with the
+ year's entries. Tilted either way in turn, like leaves on a stem. */
+.site-tl__leaf {
position: relative;
justify-self: start;
- margin-left: calc(var(--tl-rail-x) - (var(--tl-dot, 8px) / 2) + (var(--tl-rail-w) / 2));
- width: var(--tl-dot, 8px);
- height: var(--tl-dot, 8px);
- border-radius: 50%;
- background: var(--tl-rail);
- box-shadow: 0 0 0 4px var(--tl-surface);
- transition: background-color 140ms ease, transform 140ms ease;
+ display: grid;
+ place-items: center;
+ margin-left: calc(var(--tl-rail-x) - (var(--tl-leaf, 16px) / 2) + (var(--tl-rail-w) / 2));
+ width: var(--tl-leaf, 16px);
+ height: var(--tl-leaf, 16px);
+ font-size: var(--tl-leaf, 16px);
+ transform: rotate(-24deg);
+ transition: transform 140ms ease;
}
-.site-tl__yearBtn:hover .site-tl__dot {
- background: var(--tl-accent);
+.site-tl__year:nth-child(even) .site-tl__leaf {
+ transform: rotate(24deg) scaleX(-1);
}
-.site-tl__year--featured .site-tl__dot {
- background: var(--tl-accent);
+.site-tl__yearBtn:hover .site-tl__leaf,
+.site-tl__year--open .site-tl__leaf {
+ transform: rotate(-24deg) scale(1.2);
}
-.site-tl__year--featured .site-tl__dot::after {
- content: '';
- position: absolute;
- inset: -5px;
- border: 1.5px solid var(--tl-accent);
- border-radius: 50%;
- opacity: 0.45;
+.site-tl__year:nth-child(even) .site-tl__yearBtn:hover .site-tl__leaf,
+.site-tl__year--open:nth-child(even) .site-tl__leaf {
+ transform: rotate(24deg) scaleX(-1) scale(1.2);
}
-.site-tl__year--open .site-tl__dot {
- background: var(--tl-accent);
- transform: scale(1.15);
-}
-
-.site-tl__decade--pre .site-tl__dot {
- background: var(--tl-surface);
- border: 1.5px solid var(--tl-rail);
+.site-tl__year--featured .site-tl__leaf {
+ font-size: calc(var(--tl-leaf, 16px) * 1.3);
}
.site-tl__yearLabel {
@@ -483,7 +477,8 @@ a.site-tl__entry--featured:hover {
top: 1.25rem;
bottom: 0;
left: var(--tl-rail-x);
- border-left: var(--tl-rail-w) dashed var(--tl-rail);
+ border-left: var(--tl-rail-w) solid var(--tl-rail);
+ opacity: 0.35;
}
.site-tl__upcomingBtn {
@@ -511,14 +506,13 @@ a.site-tl__entry--featured:hover {
outline-offset: 2px;
}
-.site-tl__upcomingDot {
+.site-tl__upcomingLeaf {
justify-self: start;
- margin-left: calc(var(--tl-rail-x) - 4px + (var(--tl-rail-w) / 2));
- width: 8px;
- height: 8px;
- border-radius: 50%;
- border: 1.5px dashed var(--tl-accent);
- box-shadow: 0 0 0 4px var(--tl-surface);
+ display: grid;
+ place-items: center;
+ margin-left: calc(var(--tl-rail-x) - 7px + (var(--tl-rail-w) / 2));
+ font-size: 14px;
+ color: color-mix(in oklch, #00b83d 60%, #00521b);
}
.site-tl__upcomingLabel {
@@ -541,11 +535,6 @@ a.site-tl__entry--featured:hover {
opacity: 1;
}
-.site-tl__upcomingList .site-tl__dot {
- background: var(--tl-surface);
- border: 1.5px dashed var(--tl-accent);
-}
-
@keyframes site-tl-rise {
from {
opacity: 0;
diff --git a/src/pages/sections/home/FeaturedTimelineRail.tsx b/src/pages/sections/home/FeaturedTimelineRail.tsx
index 4f391aa..4333b07 100644
--- a/src/pages/sections/home/FeaturedTimelineRail.tsx
+++ b/src/pages/sections/home/FeaturedTimelineRail.tsx
@@ -19,7 +19,7 @@
Nothing featured, and the section doesn't render at all.
═══════════════════════════════════════════════════════════════ */
-import { ArrowRight, CaretRight, CaretLeft } from '@phosphor-icons/react';
+import { ArrowRight, CaretRight, CaretLeft, Leaf } from '@phosphor-icons/react';
import { useRef, useState, type PointerEvent as ReactPointerEvent } from 'react'
import { Link } from 'react-router-dom'
@@ -27,7 +27,7 @@ import HomeLink from './HomeLink.tsx'
import { useHistory } from '../../../lib/useHistory.ts'
import { hrefFor, logoSrc } from '../../../lib/timelineRefs.ts'
import { MONTH_LABELS, type TimelineItem } from '../../../lib/timeline.ts'
-import { accentText, BRAND } from '../../../lib/color.ts'
+import { accentText, BRAND, leafColor } from '../../../lib/color.ts'
import { scrollBehavior } from '../../../lib/motion.ts';
const DRAG_SLOP = 6
@@ -220,16 +220,19 @@ function RailCard({ item, showYear }: { item: TimelineItem; showYear: boolean })
return (
- {/* The line, its dot, and the year where it changes. */}
+ {/* The line, its leaf (colored by the year, as on the History
+ page), and the year where it changes. */}
-
{showYear && (
{year(item)}