diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/config.ts | 1 | ||||
-rw-r--r-- | components/tweaks.tsx | 10 |
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> |