Skip to content

TryGhost/Themes

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
April 7, 2021 18:04
April 7, 2021 18:04
January 6, 2022 13:52
July 18, 2022 13:51
June 6, 2023 15:45

Ghost Themes

A monorepo for Ghost official themes.

Development

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

# install dependencies
yarn

# 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

Restart your Ghost instance and the theme will be listed in the Design settings.

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

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

Copyright & License

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