obsidian-workspaces-plus
obsidian-workspaces-plus copied to clipboard
What might per workspace CSS look like?
- could a CSS snippet (or multiple) be loaded with a workspace?
- or maybe a whole theme like the theme picker plugin?
Ooh this is something that I'd like! One of the easiest ways of allowing people to style it would be to add slugified name or workspace index to body of the electron document. That would allow users to style each workspace accordingly!
Interesting. Yeah, adding a class to the body is super simple. Can definitely accommodate that in short order.
The scope of this issue is broader and includes being able to choose distinct themes per workspace and maybe light/dark mode per workspace. Perhaps a simple CSS class on the body and setting light/dark is more useful in the short term though.
As a non-coder, I'd love to have the ability to assign a distinct theme to a workspace. I really need visual reinforcement for contextual guardrails in Obsidian -- when you have an app that can do virtually anything, creating design reinforcements for specific workflows is super helpful.
With the new data-workspace-name
attribute I can now style the status-bar and the workspace selector accordingly, thanks! Here's what an example looks like:
I've used the following css: https://gist.github.com/jplattel/42b57ff52c867e7104bf34f4e925bb94 👍