/Myrtle

Ghost theme

Primary LanguageCSSMIT LicenseMIT

Myrtle

 

screenshot-desktop

 

Development

Myrtle styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need Node and Gulp installed globally. After that, from the theme's root directory:

$ npm install or $ yarn

$ gulp

Now you can edit /assets/css/ files, which will be compiled to /assets/built/ automatically.

PostCSS Features Used

  • Autoprefixer - Don't worry about writing browser prefixes of any kind, it's all done automatically with support for the latest 2 major versions of every browser.
  • Variables - Simple pure CSS variables
  • Color Function

SVG Icons

Casper uses inline SVG icons, included via Handlebars partials. You can find all icons inside /partials/icons. To use an icon just include the name of the relevant file, eg. To include the SVG icon in /partials/icons/rss.hbs - use {{> "icons/rss"}}.

You can add your own SVG icons in the same manner.

License

Released under the MIT license.