Hover highlights
A very slight highlight on hover for accordion questions and table rows. The left set reacts to the pointer; in the right set the second row is pinned to its hover state.
Each candidate sets one color, --row-hover, that the mock-ups use. The accordion keeps its blue text on hover, as it has today. Accordions use Muted 50% already; the first sections below look for something a little brighter, for accordions and for plain square table rows.
Brighter hovers
Twenty surfaces, from Muted 50% up past Accent, the choice for accordions. Table rows need to go brighter than that, so the last eight are lifted or tinted versions. Each is the color of a row in its hover state, so the whole list can be compared at once.
Accordion rows, all at once
Every row is held in its hover state, with its own color. The first row has none.
No highlight
Muted 50%
Muted 70%
Muted
Secondary 60%
Secondary
Accent 60%
Accent
White 6%
White 8%
White 10%
Muted + blue 10%
Muted + blue 20%
Accent + white 5%
Accent + white 10%
Accent + white 15%
White 15%
White 20%
Accent + blue 15%
Accent + blue 25%
Blue 20%
Table rows, all at once
Square rows, as the site's tables are. The first row has no highlight.
Try one
Choose a color, then hover the accordion and the table.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Colors
No background
transparent Accordion rows only turn their text blue. Table rows get nothing.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Muted 30%
muted at 30% The faintest step above the page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Muted 50%
muted at 50% What table rows use today.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Muted
--muted, solid A clearer step, still the page's own hue.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
White 4%
foreground at 4% A neutral wash, no hue.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
White 7%
foreground at 7% The same, a little stronger.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Blue 5%
primary at 5% A hint of the link blue.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Blue 8%
primary at 8% Still quiet, but clearly blue.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Blue 12%
primary at 12% The most you'd want behind text.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Card
--card, solid The card color: slightly lighter than the page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Shapes
All in Blue 8%. What changes is how far the highlight reaches and how its edges look.
Rounded, past the text
The highlight reaches 12px beyond the text on each side, so the text stays where it is.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Square, past the text
The same reach with square corners, like a table row.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Flush with the text
The highlight stops at the text's edge. Tables don't change: their cells already have padding.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Left accent
Square, with a 2px blue bar on the left edge. On the table it sits on the first cell.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Who are you?
I'm Jay, a software developer on the internet.
What kind of development do you do?
Mostly full-stack web development with TypeScript.
What do you use to make software?
Many of the tools are listed on the my stack page.
Related
- Home feed
- Spacing
- Notes finder
- 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.