fix(ui): improve edge/vertex visibility on dark backgrounds (#196)
Some checks failed
Build and Test / build (pull_request) Has been cancelled
Some checks failed
Build and Test / build (pull_request) Has been cancelled
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
This commit is contained in:
@@ -43,8 +43,8 @@
|
|||||||
<FCUInt Name="PreselectColor" Value="2497893887" />
|
<FCUInt Name="PreselectColor" Value="2497893887" />
|
||||||
<FCUInt Name="DefaultShapeColor" Value="1482387711" />
|
<FCUInt Name="DefaultShapeColor" Value="1482387711" />
|
||||||
<FCBool Name="RandomColor" Value="0" />
|
<FCBool Name="RandomColor" Value="0" />
|
||||||
<FCUInt Name="DefaultShapeLineColor" Value="2470768383" />
|
<FCUInt Name="DefaultShapeLineColor" Value="2796407039" />
|
||||||
<FCUInt Name="DefaultShapeVertexColor" Value="2470768383" />
|
<FCUInt Name="DefaultShapeVertexColor" Value="2796407039" />
|
||||||
<FCUInt Name="BoundingBoxColor" Value="1819509759" />
|
<FCUInt Name="BoundingBoxColor" Value="1819509759" />
|
||||||
<FCUInt Name="AnnotationTextColor" Value="3453416703" />
|
<FCUInt Name="AnnotationTextColor" Value="3453416703" />
|
||||||
<FCUInt Name="SketchEdgeColor" Value="3453416703" />
|
<FCUInt Name="SketchEdgeColor" Value="3453416703" />
|
||||||
|
|||||||
@@ -56,8 +56,8 @@ public:
|
|||||||
FC_VIEW_PARAM(AnnotationTextColor, unsigned long, Unsigned, 4294967295UL) \
|
FC_VIEW_PARAM(AnnotationTextColor, unsigned long, Unsigned, 4294967295UL) \
|
||||||
FC_VIEW_PARAM(MarkerSize, int, Int, 9) \
|
FC_VIEW_PARAM(MarkerSize, int, Int, 9) \
|
||||||
FC_VIEW_PARAM(DefaultLinkColor, unsigned long, Unsigned, 0x66FFFF00) \
|
FC_VIEW_PARAM(DefaultLinkColor, unsigned long, Unsigned, 0x66FFFF00) \
|
||||||
FC_VIEW_PARAM(DefaultShapeLineColor, unsigned long, Unsigned, 421075455UL) \
|
FC_VIEW_PARAM(DefaultShapeLineColor, unsigned long, Unsigned, 2796407039UL) \
|
||||||
FC_VIEW_PARAM(DefaultShapeVertexColor, unsigned long, Unsigned, 421075455UL) \
|
FC_VIEW_PARAM(DefaultShapeVertexColor, unsigned long, Unsigned, 2796407039UL) \
|
||||||
FC_VIEW_PARAM(DefaultShapeColor, unsigned long, Unsigned, 0xCCCCCC00) \
|
FC_VIEW_PARAM(DefaultShapeColor, unsigned long, Unsigned, 0xCCCCCC00) \
|
||||||
FC_VIEW_PARAM(DefaultShapeTransparency, int, Int, 0) \
|
FC_VIEW_PARAM(DefaultShapeTransparency, int, Int, 0) \
|
||||||
FC_VIEW_PARAM(DefaultShapeLineWidth, int, Int, 2) \
|
FC_VIEW_PARAM(DefaultShapeLineWidth, int, Int, 2) \
|
||||||
|
|||||||
Reference in New Issue
Block a user