fix(ui): improve edge/vertex visibility on dark backgrounds (#196) #243

Merged
forbes merged 1 commits from fix/edge-visibility into main 2026-02-15 19:06:33 +00:00
Owner

Model edges were nearly invisible against the Catppuccin Mocha dark background, especially on cylindrical geometry where edge lines are thin.

Root cause

The default edge color was RGB(25, 25, 25) (near-black) — the upstream FreeCAD default designed for light backgrounds. The KindredCreate preference pack overrode it to RGB(147, 68, 238) (purple), but that only achieved 2.91:1 contrast against the #181825 viewport background.

Fix

Change edge and vertex color to Catppuccin Mocha Subtext0 RGB(166, 173, 200) / #a6adc8:

  • 4.94:1 contrast ratio against the viewport background (passes WCAG AA)
  • Neutral blue-grey that doesn't clash with colored geometry
  • Updated in both:
    • ViewParams.h compile-time default (first-run experience)
    • KindredCreate.cfg preference pack

Closes #196

Model edges were nearly invisible against the Catppuccin Mocha dark background, especially on cylindrical geometry where edge lines are thin. ## Root cause The default edge color was `RGB(25, 25, 25)` (near-black) — the upstream FreeCAD default designed for light backgrounds. The KindredCreate preference pack overrode it to `RGB(147, 68, 238)` (purple), but that only achieved 2.91:1 contrast against the `#181825` viewport background. ## Fix Change edge and vertex color to **Catppuccin Mocha Subtext0** `RGB(166, 173, 200)` / `#a6adc8`: - **4.94:1 contrast ratio** against the viewport background (passes WCAG AA) - Neutral blue-grey that doesn't clash with colored geometry - Updated in both: - `ViewParams.h` compile-time default (first-run experience) - `KindredCreate.cfg` preference pack Closes #196
forbes added 1 commit 2026-02-15 15:56:50 +00:00
fix(ui): improve edge/vertex visibility on dark backgrounds (#196)
Some checks failed
Build and Test / build (pull_request) Has been cancelled
002619b213
Change default edge and vertex color from near-black RGB(25,25,25)
to Catppuccin Mocha Subtext0 RGB(166,173,200) — a neutral light
blue-grey with 4.94:1 contrast against the Mocha background.

Update both the compile-time default in ViewParams.h and the
KindredCreate preference pack. The previous purple (#9344ee) had
only 2.91:1 contrast, causing edges to blend into the background
on cylindrical geometry.

Closes #196
forbes merged commit c9d38d92aa into main 2026-02-15 19:06:33 +00:00
forbes deleted branch fix/edge-visibility 2026-02-15 19:06:34 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/create#243