summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-08-03 16:30:49 +0200
committerThomas F. K. Jorna <[email protected]>2021-08-03 16:30:49 +0200
commitd53af1704c33192e696d71143fa4895176a1e28a (patch)
treeb0aeeb5ca0fc74889ecfcf38ed1cdfde036ac0fe /components
parent57ff943843831fbe041ec2e2a923fa70a2f805f3 (diff)
feature: citelink highlight color
Diffstat (limited to 'components')
-rw-r--r--components/config.ts1
-rw-r--r--components/tweaks.tsx10
2 files changed, 10 insertions, 1 deletions
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>