Hover borders

Candidate colors and weights for the border that appears when hovering a card, pill or bar.

Each candidate shows the same three shapes the site uses: a card, a pill and a bar. The left set reacts to hover; the right set is pinned in its hover state so the colors can be compared side by side. Today they all use hover:border-primary.

Current

#58a6ff Today's --primary.

GitHub emphasis

#388bfd A step deeper and more saturated.

GitHub blue

#1f6feb Deeper again; GitHub's button blue.

Steel blue

oklch(0.62 0.09 250) Same lightness range, much less saturated.

Slate

oklch(0.52 0.06 260) Darker and greyer; blue only as a tint.

Primary 60%

primary mixed 60% into the page Today's blue, faded toward the background.

Primary 40%

primary mixed 40% into the page Fainter; close to the separator color.

Indigo

oklch(0.62 0.19 280) The theme's old second color.

Neutral

foreground at 45% No blue at all; a brighter border.

Weights

All in GitHub blue (--hover). None of them shift the layout: the extra weight is drawn with box-shadow or outline, not a wider border.

1px border

Today's weight.

2px ring

The border plus a 1px ring outside it.

3px ring

The border plus a 2px ring outside it.

2px inset

Thickens inward, so the shape's outside edge stays put.

Gap ring

A 2px ring with a gap of page color, like the focus ring.

Offset outline

A 2px outline floating 3px out, like the link utility's ring.

2px ring + tint

2px ring with a 12% blue wash inside.

2px ring + glow

2px ring with a soft blue glow around it.

  • Layouts with route groups

    The plan to give each kind of page its own layout with Next.js route groups: (site), (notes) with a left notes aside, (bare), and (artifacts) for self-contained HTML files.

  • Highlight

    The Highlight text component: a faint blue tint with square corners, whose side padding repeats on every line it wraps across.

  • UI stress test

    Nested components stacked inside each other, like bold and code inside links and tables inside lists, to find where the styles break.

  • Route groups

    An interactive explainer of Next.js route groups: how folders in parentheses leave the URL, share layouts, opt pages in and out, and isolate loading and error states.