Timeline years as leaves, green now and turning autumn going back; notices instead of dashed boxes

A year's leaf eases from green to gold to autumn between this year
and 2000 (leafColor in color.ts); every year before 2000 is fully
turned. Empty-section and form notes use one notice style, a flat
tinted panel with a solid left bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-30 14:53:50 -05:00
parent 592e07f614
commit d5428297a4
12 changed files with 99 additions and 66 deletions

View file

@ -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)}
>
<span className="site-tl__upcomingDot" aria-hidden="true" />
<span className="site-tl__upcomingLeaf" aria-hidden="true">
<Leaf weight="bold" />
</span>
<span className="site-tl__upcomingLabel">
{open
? 'Hide what’s scheduled'