From 002619b213cddfeb26977932c60ac129ef7def0f Mon Sep 17 00:00:00 2001 From: forbes Date: Sun, 15 Feb 2026 09:56:25 -0600 Subject: [PATCH] fix(ui): improve edge/vertex visibility on dark backgrounds (#196) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/Gui/PreferencePacks/KindredCreate/KindredCreate.cfg | 4 ++-- src/Gui/ViewParams.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Gui/PreferencePacks/KindredCreate/KindredCreate.cfg b/src/Gui/PreferencePacks/KindredCreate/KindredCreate.cfg index 354978bb2c..b3730e782e 100644 --- a/src/Gui/PreferencePacks/KindredCreate/KindredCreate.cfg +++ b/src/Gui/PreferencePacks/KindredCreate/KindredCreate.cfg @@ -43,8 +43,8 @@ - - + + diff --git a/src/Gui/ViewParams.h b/src/Gui/ViewParams.h index ed561d1060..87813c0843 100644 --- a/src/Gui/ViewParams.h +++ b/src/Gui/ViewParams.h @@ -56,8 +56,8 @@ public: FC_VIEW_PARAM(AnnotationTextColor, unsigned long, Unsigned, 4294967295UL) \ FC_VIEW_PARAM(MarkerSize, int, Int, 9) \ FC_VIEW_PARAM(DefaultLinkColor, unsigned long, Unsigned, 0x66FFFF00) \ - FC_VIEW_PARAM(DefaultShapeLineColor, unsigned long, Unsigned, 421075455UL) \ - FC_VIEW_PARAM(DefaultShapeVertexColor, unsigned long, Unsigned, 421075455UL) \ + FC_VIEW_PARAM(DefaultShapeLineColor, unsigned long, Unsigned, 2796407039UL) \ + FC_VIEW_PARAM(DefaultShapeVertexColor, unsigned long, Unsigned, 2796407039UL) \ FC_VIEW_PARAM(DefaultShapeColor, unsigned long, Unsigned, 0xCCCCCC00) \ FC_VIEW_PARAM(DefaultShapeTransparency, int, Int, 0) \ FC_VIEW_PARAM(DefaultShapeLineWidth, int, Int, 2) \