From c60cd7a22ae8140edc71f283fcaa2eae93766607 Mon Sep 17 00:00:00 2001 From: Ryo <36154873+RyoJerryYu@users.noreply.github.com> Date: Sun, 12 Oct 2025 16:37:56 +0800 Subject: [PATCH] feat: add bisector and incircle styles to obsidian theme for enhanced graph representation --- src/theme/obsidian.ts | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/src/theme/obsidian.ts b/src/theme/obsidian.ts index fdc50ab..523e4af 100644 --- a/src/theme/obsidian.ts +++ b/src/theme/obsidian.ts @@ -147,6 +147,13 @@ JXG.themes['obsidian'] = { }, }, + bisector: { + strokeColor: interactiveAccent, + highlightStrokeColor: interactiveAccentHover, + straightLast: false, + dash: 2, + }, + arc: { strokeColor: interactiveAccent, highlightStrokeColor: interactiveAccentHover, @@ -204,6 +211,17 @@ JXG.themes['obsidian'] = { }, }, + incircle: { + strokeColor: interactiveAccent, + highlightStrokeColor: interactiveAccentHover, + center: { + fillColor: interactiveAccent, + strokeColor: interactiveAccent, + highlightFillColor: interactiveAccentHover, + highlightStrokeColor: interactiveAccentHover, + }, + }, + circumcirclearc: { strokeColor: interactiveAccent, highlightStrokeColor: interactiveAccentHover, @@ -241,17 +259,6 @@ JXG.themes['obsidian'] = { highlightStrokeColor: interactiveAccentHover, }, - incircle: { - highlightFillColor: 'none', - highlightStrokeColor: interactiveAccentHover, - center: { - fillColor: interactiveAccent, - strokeColor: interactiveAccent, - highlightFillColor: interactiveAccentHover, - highlightStrokeColor: interactiveAccentHover, - }, - }, - inequality: { fillColor: interactiveAccent, }, @@ -291,10 +298,12 @@ JXG.themes['obsidian'] = { perpendicular: { strokeColor: interactiveAccent, + dash: 2, }, perpendicularsegment: { strokeColor: interactiveAccent, + dash: 2, }, point: {