You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PSA: if your theme is Obsidian Publish compatible, you can update the json file to add "publish": true to your theme info, and also add a publish.css file at the root of your repository, along with obsidian.css.
In future versions we'll (1) make it easy for Publish users to use the compatible themes for their sites, reducing confusion and loading unnecessary resources, and (2) make it easy for developers to test out their themes on a publish site.
Just FYI: you can now do applyCss and applyCssByLink to test out your CSS on Obsidian Publish sites, so that you don't actually need to own sites to test your publish.css.
First method takes a CSS string, you can use backtick (template strings) for multiline CSS. Second method takes a link and loads the CSS, would recommend GitHub raw file URLs.
(Link)
The text was updated successfully, but these errors were encountered:
Update Theme Dev Guide to include new Publish recommendations
Silver asked whether we could include the new recommended ways of testing a theme for Publish which could be included here:
https://publish.obsidian.md/hub/04+-+Guides%2C+Workflows%2C+%26+Courses/for+Theme+Designers
or here
https://publish.obsidian.md/hub/04+-+Guides%2C+Workflows%2C+%26+Courses/Guides/How+to+add+your+theme+to+the+community+theme+store
or here
https://publish.obsidian.md/hub/04+-+Guides%2C+Workflows%2C+%26+Courses/Guides/Best+Practices+and+Tips+for+Theme+Development
From Silver:
The text was updated successfully, but these errors were encountered: