Skip to content

TryGhost/Pico

Repository files navigation

Pico

A minimal, functional theme for running a paid-membership publication on Ghost - originally created by @pjrvs and @jackellis, acquired and stewarded by @tryghost in 2020. Now available for free, for everyone!

pico

 

Instructions

  1. Download this theme
  2. Log into Ghost, and go to the Design settings area to upload the zip file
  3. Unzip the theme archive on your computer and locate the file called routes.yaml
  4. Inside Ghost admin, go to the Labs settings area and scroll down until you see the Custom Routes section
  5. Upload the routes.yaml from this theme

That's it! You now have a Ghost publication which supports free and paid memberships. If you need help, check out the Ghost members documentation or chat with other Ghost users on Ghost forum.

 

Development

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

# Install
yarn

# Run build & watch for changes
$ yarn dev

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

The zip Gulp task packages the theme files into dist/<theme-name>.zip, which you can then upload to your site.

yarn zip

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

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.