Skip to content

nsonnad/Themes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

404 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghost Themes

Development

You'll need Node, Yarn and Gulp installed globally. After that, from the project's root directory:

# install dependencies
yarn install

# run development server
yarn dev

Now you can edit files in packages/<theme-name>/assets/css/ or packages/<theme-name>/assets/js/, which will be compiled to packages/<theme-name>/assets/built/ automatically.

To run a theme locally, you need to symlink a theme to your local Ghost site:

# run a theme locally
yarn symlink --theme <theme-name> --site /dir/to/your/ghost-site

To create an installable theme zip file in packages/<theme-name>/dist/:

# create .zip file
yarn zip --theme <theme-name>

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.

Copyright & License

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

About

A monorepo for Ghost themes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Handlebars 53.0%
  • CSS 38.4%
  • JavaScript 8.6%