joplin-plugin-knowledge-graph icon indicating copy to clipboard operation
joplin-plugin-knowledge-graph copied to clipboard

Match dark/light mode of Joplin

Open shbach opened this issue 3 years ago • 3 comments

Add ability for plugin to match light and dark modes of Joplin which will look better and more cohesive.

shbach avatar Dec 23 '21 21:12 shbach

With v1.0.3. the control panel should be styled according to the Theme. That would be a bit trickier for the graph itself since Joplin exposes CSS variables for styling but the graph is rendered in a canvas element (canvas draws on pixels so CSS is not an option out of the box). Also this would mean figuring out color schemes that are pleasing for each theme and each extension moving forward. Doable but also more things to test for at each release.

image

agerardin avatar Dec 27 '21 22:12 agerardin

Nice, it's looking more cohesive already.

shbach avatar Dec 28 '21 00:12 shbach

One more thing that can be worked on is for the newly added collapsible menu, it can be made to more closely match the scrollbars used by Joplin. In dark mode, the light color of the scrollbar stands out. scrollbar

shbach avatar Dec 31 '21 21:12 shbach