Repository navigation
Description
What is wrong. In the light theme, hovering a session row on the home page or a project's page changes nothing you can see except the arrow fading in. The row's highlight is there, but it is #fbfbfb on the #fafafa canvas. The dark theme shows it (#1b1b1b on #171717).
How it works now. Hover fills use the raised token: hover:bg-raised/30 on the session rows (web/src/routes/home.tsx, web/src/routes/project.tsx), hover:bg-raised/60 on tool rows in a transcript (web/src/components/session/tool.tsx) and the sidebar (web/src/components/shell/app-shell.tsx), and hover:bg-raised on icon buttons, the copy button and the repository picker (web/src/routes/new-project.tsx). In @hyperstructure/design's tokens.css, the light theme sets --c-raised: #ffffff, the same as --c-surface. So a raised hover fill is close to invisible on the canvas (#fafafa) and invisible on surfaces (#ffffff). Most buttons also darken their text on hover, so they still respond. The session rows, tool rows and the repository picker keep their text as it is, so the fill is their main cue.
Measured in Chromium against cargo xtask dev (pixels sampled from screenshots of a hovered and an unhovered session row on the home page):
| Theme | Hovered row | Unhovered row |
|---|---|---|
| Light | #fbfbfb |
#fafafa |
| Dark | #1b1b1b |
#171717 |
What should happen
- Hovered rows and buttons show a fill in the light theme that is about as visible as the dark theme's, on both the canvas and surfaces. (fix(web): make hover fills visible in the light theme #65, measured there)
- The session rows, tool rows and repository picker respond to hover in both themes. (fix(web): make hover fills visible in the light theme #65)
Compatibility. Web app only. If the fix is a token, it is a change in hyperstructure/design, a new tag, and a bump of @hyperstructure/design in web/package.json.
Decisions for a person. Where the fix lives: a hover token in hyperstructure/design (or a light raised that isn't white, which also changes raised buttons and cards), or different classes in this repository.
Found while fixing the session rows' hover padding.
Activity
fix(web): pad session rows so the hover highlight has room (#38)
fctl-sh commentedon Oct 18, 2026
Two pull requests fix this, with CI green on both:
hover, a translucent ink fill: 5% whiteish on dark, 6% blackish on light.raised, each at the strength it had. That covers session rows, tool calls, sidebar items, icon, copy and ghost buttons, the dialog's close button, small Selects, the repository picker and the command palette's current entry. It is pinned to design#6's commit for now.Measured on main and on #65 in both themes (the full table is in #65): in the light theme the fills now have the same contrast with what is under them as in the dark theme, on the canvas and on surfaces. For example, a hovered session row is
#f5f5f5on#fafafa(1.04) against dark's#1a1a1aon#171717(1.03), and the dialog's close button is#f1f1f1on white (1.13) against dark's 1.14. The dark theme is within one level of what it was on the canvas.Where the fix lives. This issue left that to a person. The pull requests take the token in hyperstructure/design, for the reasons in #65. If you'd rather have one of the other options, say so in #65.
What is left
gh workflow run release.yml --repo hyperstructure/design --ref main -f bump=auto), which makes it v0.4.0.Also found, not changed
bg-raisedtoo, so in the light theme it is a white pill on the#fafafacanvas. It isn't a hover fill, so fix(web): make hover fills visible in the light theme #65 leaves it.--c-raisedon hover (.copy:hoverin hyperstructure/fctl-site'ssrc/site.css), the same white-on-white. It can use--c-hoveronce fctl.sh moves to v0.4.0.Session: https://app.fctl.sh/s/ses_01M57HTNZ0QVWB2TG8Q0CV38Q2
feat(tokens): add hover, a fill for hovered rows and buttons (#6)
fctl-sh commentedon Oct 18, 2026
Fixed by #65, merged as 711744f and deployed to app.fctl.sh (the merge's CI run, deploy included, passed). The web app still installs
@hyperstructure/designfrom hyperstructure/design#6's commit, because #65 was merged before that pull request was. Moving it to the v0.4.0 tag once design#6 is merged and released is #66.