Skip to content

Fix: Soften multi-selected cell highlight for readability#69

Open
enklht wants to merge 1 commit intocatppuccin:mainfrom
enklht:fix-multiselect-color
Open

Fix: Soften multi-selected cell highlight for readability#69
enklht wants to merge 1 commit intocatppuccin:mainfrom
enklht:fix-multiselect-color

Conversation

@enklht
Copy link
Copy Markdown

@enklht enklht commented Jan 29, 2026

This PR slightly adjusts the background colour used for multi-selected notebook cells.

The current highlight is quite strong and can make the underlying code harder to read.
I softened it by blending the accent colour with the base background.

I changed --jp-notebook-multiselected-color from:

var(--ctp-plt-blue);

to:

color-mix(
  in srgb,
  var(--ctp-plt-blue),
  var(--ctp-plt-base) 50%
);

This keeps the selection clearly visible while improving readability.
The colour after the change is also used for table row highlights, so it makes the theme a bit more consistent as well.

Screenshots are attached for comparison.
before (frappe, macchiato)
Screenshot From 2026-01-29 12-41-46
Screenshot From 2026-01-29 12-41-32

after (frappe, macchiato)
Screenshot From 2026-01-29 12-43-03
Screenshot From 2026-01-29 12-43-10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant