From 4fa4e4466d13df1e06796fcaa1ac6c617f47dcdb Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 2 Aug 2021 23:35:35 +0200 Subject: feature: tag coloring and filtering --- components/config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'components/config.ts') 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', -- cgit v1.2.3