summaryrefslogtreecommitdiff
path: root/components/config.ts
diff options
context:
space:
mode:
authorThomas F. K. Jorna <hello@tefkah.com>2021-10-11 21:27:17 +0200
committerGitHub <noreply@github.com>2021-10-11 21:27:17 +0200
commit58b7030d45370072dee25214748670d6413343a9 (patch)
tree9632df7273415f4b197413c45ad11563af32d53a /components/config.ts
parent89be3b67b2d10d35d72b5c54e1e166beeeef3095 (diff)
parent6e3dcf585c35620c6804f3c208e6882c29dfc17e (diff)
Merge pull request #101 from org-roam/sidebar
feat: Add file preview functionality
Diffstat (limited to 'components/config.ts')
-rw-r--r--components/config.ts14
1 files changed, 8 insertions, 6 deletions
diff --git a/components/config.ts b/components/config.ts
index 532f960..ec1c691 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -59,13 +59,13 @@ export const initialVisuals = {
nodeOpacity: 1,
nodeResolution: 12,
labels: 2,
- labelScale: 1.5,
- labelFontSize: 13,
+ labelScale: 1,
+ labelFontSize: 10,
labelLength: 40,
labelWordWrap: 25,
labelLineSpace: 1,
highlight: true,
- highlightNodeSize: 2,
+ highlightNodeSize: 1.2,
highlightLinkSize: 2,
highlightFade: 0.8,
highlightAnim: true,
@@ -88,7 +88,7 @@ export const initialVisuals = {
linkHighlight: 'purple.500',
backgroundColor: 'white',
emacsNodeColor: 'gray.800',
- labelTextColor: 'gray.900',
+ labelTextColor: 'black',
labelBackgroundColor: '',
labelBackgroundOpacity: 0.7,
citeDashes: true,
@@ -120,9 +120,11 @@ export const initialBehavior = {
export const initialMouse = {
highlight: 'hover',
- local: 'click',
- follow: 'double',
+ local: 'double',
+ follow: 'never',
context: 'right',
+ preview: 'click',
+ backgroundExitsLocal: false,
}
export const colorList = [