lazee / premonition

Premonition is a Jekyll extension that makes it possible to add block-styled content to your site. Like summaries, notes, hints or warnings.
https://lazee.github.io/premonition-demo/
MIT License
51 stars 12 forks source link

How to get premonition to work with themes? #31

Closed niwiniwi closed 4 years ago

niwiniwi commented 4 years ago

Hi all,

first off: I am a complete Jekyll-Noob, but have some experience in HTML, CSS and PHP. I am currently trying out Jekyll and found this awesome plugin. How do i get premonition to work with a Gem-Theme? When using a theme the SASS-Support is non-existent and trying to shoehorn it in gets rid of the theme. I even tried to modify the installed theme (Adding a stylesheet-link to premonition.css in the ) but that didn't help. Quotes are still displayed as quotes without the premonition-boxes.

I am using the theme "beautiful-jekyll-theme".

I would appreciate every tip! Thanks

lazee commented 4 years ago

Hi @niwiniwi

Glad that you like the plugin. Sorry for my late response.

There are many ways to do this, all of them described in the documentation. You can install the default theme and skin it as described here: https://github.com/lazee/premonition#installing-the-default-stylesheet. Or you can download the scss or css file from the stylesheet folder. In all cases you can change the stylesheet to whatever you want.

If you need more help, it would be best if you can set up a test-repository that we can comment on.