From d53af1704c33192e696d71143fa4895176a1e28a Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com> Date: Tue, 3 Aug 2021 16:30:49 +0200 Subject: feature: citelink highlight color --- components/config.ts | 1 + components/tweaks.tsx | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'components') diff --git a/components/config.ts b/components/config.ts index 0bc2c29..6c73921 100644 --- a/components/config.ts +++ b/components/config.ts @@ -86,6 +86,7 @@ export const initialVisuals = { citeDashLength: 35, citeGapLength: 15, citeLinkColor: 'gray.600', + citeLinkHighlightColor: '', citeNodeColor: 'black', } diff --git a/components/tweaks.tsx b/components/tweaks.tsx index 1f4d1c7..39a8a35 100644 --- a/components/tweaks.tsx +++ b/components/tweaks.tsx @@ -764,12 +764,20 @@ export const Tweaks = (props: TweakProps) => { /> <ColorMenu colorList={colorList} - label="Citationlink color" + label="Citation link color" visuals={visuals} setVisuals={setVisuals} value={'citeLinkColor'} visValue={visuals.citeLinkColor} /> + <ColorMenu + colorList={colorList} + label="Citation link highlight" + visuals={visuals} + setVisuals={setVisuals} + value={'citeLinkHighlightColor'} + visValue={visuals.citeLinkHighlightColor} + /> <Box> <Flex alignItems="center" justifyContent="space-between"> <Text>Labels</Text> -- cgit v1.2.3