typemill / typemill

Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown.
https://typemill.net
MIT License
427 stars 60 forks source link

New plugin for adding custom CSS and JS via files #364

Open jasonday opened 1 year ago

jasonday commented 1 year ago

https://github.com/jasonday/typemill-plugins

Inline CSS within theme settings is clunky and not maintainable, so I created this plugin to provide a better process to including custom CSS outside of the theme files.

trendschau commented 1 year ago

Thank you for contribution!

jasonday commented 1 year ago

@trendschau one thing to note. I think there needs to be a different body class for the site vs the admin, to scope CSS and prevent conflicts. Currently, with CSS declarations surrounding buttons, the admin section buttons get affected.

jasonday commented 1 year ago

@trendschau updated to now also include a custom javascript plugin as well.

trendschau commented 1 year ago

great, thank you, I will try this week and publish it on plugins.typemill.net

trendschau commented 1 year ago

Finally I found some time to publish it, sorry for the delay: https://plugins.typemill.net/