My theme is for Dark mode, but also works for Solarized Dark. I haven’t tried the other ones. At one point I might create another folder for the Light theme, but since I’m not using it the priority for that is very low.
But others have created themes that were designed with the light theme in mind.
You have to copy just the 2 css files into the profile directory. On macOS I clone the repo and create 2 symlinks, but Windows works a bit different. (I don’t think Windows has folders that start with a dot.)
I don’t know the location of the profile folder on Windows, but it will tell you in Preferences.
Let me share my Neon Midnight Mint themed userstyle.css with you guys! I spent quite some time to tune the color to a balance that I really like. After reading some of the css post above, I think I will also invest some time to change the color in the editor side in the future.
Awesome, I will add the nested counters for the headings to my css repo as well. I’ve been thinking about this for a while. I wish there was a way, one could toggle that behavior. Restarting the client for css changes is a bit annoying. I’m wondering, if there’s a way to apply changes dynamically.
I think to remember that Laurent mentioned at one point to allow scripts to be called from Joplin. This would be a good use-case for such a script/action.
Just pitching in with a bit more info: Windows has no problem with folders that start with a dot. (If you name something .name and it gets immediately renamed to just name, that’s probably Windows trying to be user-friendly or whatever. In that case, just write .name. and it gets changed to .name.)
And while symlinks are not as ubiquitously used under Windows as they are under Linux, they’re still available. (If needed, google ‘ntfs’ + hardlink, symbolic link or junction.)
There’s unfortunately not guarantee that the HTML will remain stable from one version to the next. In general userstyle.css is “use at your own risk” (or better, don’t use it, but that’s up to the user).
So if the HTML can (and will, and did) change from one version to the next and userstyle.css is officially discouraged, what’s the use of having this in Joplin?
I found that when using Mermaid pie charts the chart would expand to fill all the available space. Therefore if you had a pie chart in a note with Joplin maximized on a large screen the pie chart was huge.
There is also a “side-effect”. I previously reported an issue where having a flowchart without a “node” on its left side appeared to be cut off on its left.
This was closed as a Mermaid issue as it seems that when a chart is on the left Mermaid does not draw the “empty” line.
However using the above css moves the flowcart out from the left and the line is drawn!
This setting may cause problems for those with horizontal charts and possibly using % rather than px would be better, but hopefully it may assist someone else or act as a starting point for something better…
I am not sure if this is applicable to your use case, but hitting Command-R (Mac) inside the Development Tools window force reloads the app, so you get CSS changes without having to restart the app.
Since I usually have that window open when I am messing with css, it was a little faster than restarting each time. Happened upon it by accident, so thought I'd share
I have a vast archive of notes collected over the years (decades). I would really hate to see old notes suddenly looking different (even becoming unreadable/unusable) due to unsollicited changes in the rendering engine.
Even without custom CSS Joplin keeps changing note appearance from version to version, which I must consider a big disadvantage when it comes to serious, long term note taking and collecting.
Really. Since all the notes are just markdown, what could Joplin possibly do to make them “unreadabe” or “unusable”? It’s text files.
And if you don’t like userstyles changing the look of your notes, it’s actually very easy not to use userstyles. Someone else’s userstyles stop working because of Joplin’s internal changes? That won’t affect your notes one bit.
Btw, for me, this is exactly why I like my notes in Joplin: the chance I will suddenly lose access to them (and I include their becoming ‘unreadabe’ in that) is virtually nil.
Since this is a point of interest to me (I suspect for many of the same reasons as it is to you): what system/s do you currently use, instead of/beside Joplin?
I do realize this is veering off topic a bit, so feel free to DM me if that’s better.