mwanji / essayist

A blogging app for the tent.io protocol
10 stars 2 forks source link

Themes for essayist #68

Open jeena opened 11 years ago

jeena commented 11 years ago

It would be cool if there was a configuration setting so I could configure a different theme for my own instance of Essayist.

mwanji commented 11 years ago

We could have a property to give a CSS path leading to your own version of Bootstrap.

We could also support Bootswatch directly, with a property for the theme's name.

jeena commented 11 years ago

I would like:

  1. Theme name
  2. URL to my self hosted CSS file
  3. Inline CSS

That way I would first choose the theme by name, then I could overwrite the CSS of this theme with the CSS from my URL (if I have my own server where I can store it) and/or save the CSS as text which would just be dropped in the <head> of the page so it overwrites both the theme CSS and the URL CSS. But yeah like you wrote on Tent 2 and 3 can be implemented later too.

pjesi commented 11 years ago

How does the theme stuff work. Is the base bootstrap always included and the theme CSS just an override or is it a complete replacement of CSS?

pjesi commented 11 years ago

Bootwatch API: http://news.bootswatch.com/post/22193315172/bootswatch-api

mwanji commented 11 years ago

I think Bootswatch uses a version of Bootstrap with overridden LESS variables and a custom CSS file. I'm using it in a WebJar, which makes things a bit easier.