org-roam / org-roam-ui

A graphical frontend for exploring your org-roam Zettelkasten
GNU General Public License v3.0
1.95k stars 108 forks source link

[ENH] Configure nodes and tag colour from emacs #231

Open baracunatana opened 2 years ago

baracunatana commented 2 years ago

Thanks for the great work on orui.

For people who rely on tag colours for note exploration and work in multiple machines, configuring nodes and tag colours from emacs is very helpful.

This could be done creating a customization similar to:

(setq org-roam-ui-tag-colors '(("tag1" . yellow)
                               ("tag2" . #59e9ff)))
(setq org-roam-ui-node-colors '(yellow red green))

I don't expect them to sync (i.e. changes done directly in orui will not be transfered to emacs config file), but the emacs config colours can be used as a default.