Built with SASS to make maintenance and modifications easier in the future.
Edit: This theme was originally called ‘Moonlight’, but it was brought to my attention that there was already a theme with this name. So it’s been renamed to ‘Clair de Lune’.
I’ve just released an update for this theme including a bunch of bugfixes along with support for some Mermaid diagrams (flowchart, sequence, gantt, class).
I’m using your theme as my current drive of Obsidian. I like it very much and I want to thank you for your work. I made some modifications myself: added a Monospace font that can render better tables and changed dimension of H1, H2… etc. plus I added bullet relationship in preview mode as I found it in this forum.
I’m not an expert in CSS at all. I just experiment. I have to use WinMerge app to see the differences and to update my Clair de Lune Theme.
I don’t know how to compile .scss files in order to update only stuffs I need and keep mine as it is already. Can you help me, by pointing me to a tutorial?
Thanks again for your work!
Open a command prompt in the theme directory and run npm install.
Once this is complete, run npm build to build the obsidian.css files.
For your modifications, I’d suggest the following workflow:
Add a new scss file in the src directory and import it into src/index.scss like the other imports at the bottom of the file.
Add all your modifications in this new scss file you’ve created.
These modifications should then be included in the compile the next time you run it. It also allows you to fetch upstream updates when they happen without dealing with merge conflicts. (I’m unsure how familiar you are with Git, but GitHub has some good documentation on working with a fork).
Feel free to DM me if you want more details or need help
Hey @jamiebrynes7 , a continuinung-and-learning beginner here, when you say you made the theme compatible with Andy, what does that mean? In other words, cant the Andy plugin be activated on any theme? What has to be changed in a theme to make it work with Andy?
@WahWah back when this theme was first released, Andy mode was some custom CSS rather than a plugin (official plugins weren’t a thing at that time). As such this theme offered a version with that CSS bundled in by default.
Now that Andy mode (sliding panes) is a plugin, this theme doesn’t need to do that… so its basically just a relic of the past