summaryrefslogtreecommitdiff
path: root/components/config.ts
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-08-02 23:35:35 +0200
committerThomas F. K. Jorna <[email protected]>2021-08-02 23:35:35 +0200
commit4fa4e4466d13df1e06796fcaa1ac6c617f47dcdb (patch)
treecb1ad05b966dd1f0c7e3d4f84ae5a5708cb33e97 /components/config.ts
parentc2b219c06a6bf37d35f6eac7879e04d04bd5d023 (diff)
feature: tag coloring and filtering
Diffstat (limited to 'components/config.ts')
-rw-r--r--components/config.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/config.ts b/components/config.ts
index e9471f8..0544b58 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -35,7 +35,6 @@ export const initialFilter = {
orphans: false,
parents: true,
tags: [],
- tagColors: [],
nodes: [],
links: [],
date: [],
@@ -89,6 +88,10 @@ export const initialVisuals = {
citeNodeColor: 'black',
}
+export interface TagColors {
+ [tag: string]: string
+}
+
export const initialBehavior = {
follow: 'zoom',
localSame: 'add',