Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mattvh/solar-theme-ghost

A Ghost port of my previous Jekyll theme, which is based on the Solarized color palette
https://github.com/mattvh/solar-theme-ghost

Last synced: about 15 hours ago
JSON representation

A Ghost port of my previous Jekyll theme, which is based on the Solarized color palette

Awesome Lists containing this project

README

        

Solar Theme for Ghost
=====================

A stylish theme for [Ghost](http://ghost.org/) blogs, based on the [Solarized](http://ethanschoonover.com/solarized) color palette.

![Screenshot](http://i.imgur.com/P94J69S.png)

Features
--------

* **Two color schemes** — One for Solarized Dark and one for Solarized Light. Just swap the reference to the `colors-dark.css` file with `colors-light.css` if you don't like light-on-dark.
* **Responsive Design** — Solarized adapts to fit any screen size.

Installation
------------

1. Clone the repository and upload the `solar` directory to your Ghost blog's `content/themes` folder.

2. Go to the Settings page of the Ghost backend and select `solar` from the Theme dropdown.

3. There is no step 3.

Customization
-------------

Solar supports Ghost's logo and cover image features, and will work perfectly fine with or without them. If you wish to upload a cover image, it will appear above the rest of the page. An uploaded logo replaces the textual blog name. (If you later decide you don't want a logo or cover image, you can remove it by clicking on the appropriate option in Settings and selecting the trash can icon.)

Syntax Higlighting
------------------

Solar uses [Prism.js](http://prismjs.com) for syntax highlighting, which works in tandem with fenced Markdown code blocks like so:

```language-javascript
var t = new Thing("Test!");
```

Valid language classes include `language-markup`, `language-css`, `language-javascript`, `language-ruby`, and `language-php`. Prism.js supports a large range of additional languages (most of which have been included in Solar), as well as generic support for C-like languages.

![Syntax Highlighting Screenshot](http://i.imgur.com/yKQqTz1.png)

To-Do
-----

* The Jekyll version of Solar has linkblog support, while the Ghost one does not. This is because there isn't a finalized plugin API for Ghost yet, and there is no built-in linkblogging or post meta feature as of yet. This may change as Ghost's feature set is filled out more.

License
-------

GPLv2 or higher