Some helpful guidance for css novices like myself who want to publish their Obsidian vault using existing community css themes so the published view matches the app view.
Perhaps this needs a new thread entitled “How to apply Obsidian.app css themes to Obsidian Publish.”
For macOS:
- In Finder, navigate to your vault, and open this folder. I’ll name it “Life’s Work” for this example.
- Press Command + Shift + . (period) to see hidden files
- Go to folder
.obsidian > themes
- Copy desired theme, Comfort Color Dark for example, and paste (or Option + drag) in or to the vault folder, “Life’s Work.”
- Rename this file,
Comfort color dark.css
in my example, topublish.css
- Then in Obsidian.app, press/click “Publish changes” in side ribbon. Select
publish.css
from New row, then press Publish.
Now your favorite or preferred app theme is also used for Obsidian Publish without knowing or customizing a jot of css.
Hope this helps.