Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
519 commits
Select commit Hold shift + click to select a range
082cadf
Rename recent posts setting
minimaluminium May 19, 2022
1f7cd51
Minor detail adjustments
minimaluminium May 19, 2022
be69437
Remove auto dark mode
minimaluminium May 19, 2022
83669da
Minor thing
minimaluminium May 19, 2022
fe25798
More spacing issue fixes
minimaluminium May 20, 2022
1076078
Update ghost version
minimaluminium May 20, 2022
a0cedfe
Rename @custom.site_logo_in_main_navigation
minimaluminium May 20, 2022
508bbf1
Spacing, spacing and spacing
minimaluminium May 20, 2022
b0dfa11
Polishing
minimaluminium May 20, 2022
362a499
Page template specific fixes
minimaluminium May 20, 2022
4e30aff
Minor dark mode fix
minimaluminium May 20, 2022
358f3d6
Archive template spacing
minimaluminium May 20, 2022
9efff7d
v5.0.0
minimaluminium May 20, 2022
4461d5e
Featured post indicator
minimaluminium May 26, 2022
cfd767b
Social links
minimaluminium May 26, 2022
7a86c6f
Show the reading time separate only if it exists
minimaluminium May 26, 2022
0bf84b2
Post access indicator
minimaluminium May 26, 2022
628a32b
Rename has-cover-image body class
minimaluminium May 26, 2022
c205947
Fix table element selector
minimaluminium May 26, 2022
e27f219
Add conditions to check if members feature is enabled
minimaluminium May 26, 2022
f5cb9a7
Fix featured post indicator layout shifting
minimaluminium May 26, 2022
08b3054
Hover effect
minimaluminium May 26, 2022
0e78d9e
Fix recent posts alignment
minimaluminium May 26, 2022
9ebb265
Auto dark mode
minimaluminium May 27, 2022
c75b67c
Fix author avatar in dark mode
minimaluminium May 27, 2022
d006470
Fix post access indicator background
minimaluminium May 27, 2022
e51c1af
v5.1.0
minimaluminium May 27, 2022
e27ea96
Fix blurry tag image
minimaluminium May 27, 2022
45bc14f
v5.1.1
minimaluminium May 27, 2022
d1ac1b8
Distinguish members and paid-members only post indicators
minimaluminium May 31, 2022
22e3f69
v5.1.2
minimaluminium May 31, 2022
cf50364
Fix members only post indicator visibility when logged in
minimaluminium Jun 1, 2022
d1b1d38
v5.1.3
minimaluminium Jun 1, 2022
52663e9
Fix unexpected cropping in grid layout
minimaluminium Jun 3, 2022
d9d70e7
v5.1.4
minimaluminium Jun 3, 2022
ccf82ec
Let social links inherit their color
jeromegamez Jun 8, 2022
b5297f1
Rebuild assets
minimaluminium Jul 4, 2022
3e7ca9c
v5.1.5
minimaluminium Jul 4, 2022
eff8d36
Add search support
minimaluminium Jul 10, 2022
8699a22
Add search attribute
minimaluminium Jul 11, 2022
d373d92
v5.2.0
minimaluminium Jul 12, 2022
ffcbc42
Fix search icon spacing
minimaluminium Jul 14, 2022
a15e9bd
v5.2.1
minimaluminium Jul 14, 2022
db37f3c
Fix author profile location is dark color in dark mode (#874)
viasnake Jul 19, 2022
2459698
Rebuild assets
minimaluminium Jul 19, 2022
1ade4c8
Update CSS preprocessors (#797)
renovate[bot] Jul 19, 2022
873566a
Update dependency @tryghost/release-utils to v0.8.0 (#793)
renovate[bot] Jul 19, 2022
eab9e1a
Update dependency autoprefixer to v10.4.7 (#796)
renovate[bot] Jul 19, 2022
b740328
Update dependency postcss to v8.2.13 [SECURITY] (#805)
renovate[bot] Jul 19, 2022
ae7b6e1
Update dependency inquirer to v8.2.4 (#806)
renovate[bot] Jul 19, 2022
7eb472a
Update dependency gulp-postcss to v9.0.1 (#815)
renovate[bot] Jul 19, 2022
c6411db
Update dependency gscan to v4.31.2 (#851)
renovate[bot] Jul 19, 2022
d386ab0
Update Ghost version compatibility default value
minimaluminium Jul 20, 2022
664afdb
Rebuild assets
minimaluminium Jul 26, 2022
1b3541e
v5.2.2
minimaluminium Jul 26, 2022
129a578
Fix author profile social link hover color on dark mode
minimaluminium Jul 28, 2022
f3c0526
Increase the width of header on author and tag page
minimaluminium Jul 28, 2022
b28258d
v5.2.3
minimaluminium Aug 2, 2022
6459992
Update screenshot
minimaluminium Aug 8, 2022
4808700
Update dependency @tryghost/release-utils to v0.8.1 (#886)
renovate[bot] Aug 8, 2022
96f69f8
Update dependency gscan to v4.34.0 (#884)
renovate[bot] Aug 8, 2022
d687d0f
Add comments support (#893)
minimaluminium Aug 12, 2022
2aaf744
v5.3.0
minimaluminium Aug 12, 2022
20ced95
Fix search icon placement
minimaluminium Aug 16, 2022
e2096ee
v5.3.1
minimaluminium Aug 16, 2022
005211f
Remove ununsed file
minimaluminium Sep 1, 2022
657bb8f
Add `me` relation to social links
jeromegamez Jun 8, 2022
e6fdb4b
Excluded GitHub Gist table from being styled
minimaluminium Oct 4, 2022
c7713df
v5.3.2
minimaluminium Oct 4, 2022
38426cd
Added aria-label to search button (#896)
AgtLucas Oct 31, 2022
cf30ada
Added navbar options (#906)
minimaluminium Nov 11, 2022
55d5345
v5.4.0
minimaluminium Nov 11, 2022
7390c17
Fix for intended location of search icon
tmlmt Nov 12, 2022
f846ceb
Fixed minor spacing issues on the header
minimaluminium Nov 14, 2022
4af198a
Fixed dropdown menu width
minimaluminium Nov 14, 2022
8f2b806
v5.4.1
minimaluminium Nov 14, 2022
140632b
fixes #910
minimaluminium Dec 7, 2022
88ca182
Added regular pagination option
minimaluminium Dec 8, 2022
b20dcea
Rebuilt assets
minimaluminium Dec 12, 2022
55a90a9
v5.4.2
minimaluminium Dec 12, 2022
7da41d3
Added sign in link to the navbar
minimaluminium Dec 14, 2022
6d29048
Fixed account button background
minimaluminium Dec 15, 2022
3767e3d
Adjusted the pagination to dark mode
minimaluminium Dec 15, 2022
ebb2538
v5.4.3
minimaluminium Dec 15, 2022
cc4d828
Fixed logo visibility when the header is hidden
minimaluminium Dec 16, 2022
81e4dfd
Minor spacing adjustment
minimaluminium Dec 16, 2022
115d1d8
Fixed sign in link placement on mobile screen
minimaluminium Dec 16, 2022
5259d55
Fixed mobile navbar height
minimaluminium Dec 16, 2022
e1967f8
v5.4.4
minimaluminium Dec 16, 2022
31188ce
Fixed author's cover image not showing up
peterzimon Jan 19, 2023
a007415
v5.4.5
daniellockyer Jan 20, 2023
248c122
re-add aria-label to search button for screen readers
markstos Jan 17, 2023
0200889
Fix Table of Contents Numbering in screen.css
njfdev Jan 4, 2023
f009185
Update comment grammar
stlth Feb 18, 2023
4293dab
Fixed burger menu icon visibility on dark mode
minimaluminium Feb 28, 2023
5e0f765
v5.4.6
minimaluminium Feb 28, 2023
bd3fc7c
Fixed textarea color in dark mode
minimaluminium Mar 1, 2023
505503a
v5.4.7
minimaluminium Mar 1, 2023
3ed94d6
Update dependency gscan to v4.36.1
renovate[bot] Mar 1, 2023
e6326ea
Added a class name to the powered by text
minimaluminium Mar 28, 2023
0c4164c
v5.4.8
minimaluminium Mar 28, 2023
b56bec2
Fixed header action background color for smaller screens
minimaluminium Apr 10, 2023
afca9cb
Fix problem showing dropdown after window resize
verement Apr 4, 2023
4851606
Rebuilt assets
minimaluminium Apr 10, 2023
5c7fb39
v5.4.9
minimaluminium Apr 10, 2023
8ff3c6f
Fixed main nav to make it work with the announcement bar
minimaluminium Apr 21, 2023
23f7c30
v5.4.10
minimaluminium Apr 21, 2023
50d5727
Fixed mobile menu background in dark mode
minimaluminium May 9, 2023
ba0b3d0
v5.4.11
minimaluminium May 9, 2023
aa8ca07
Fixed main nav background color in dark mode
minimaluminium Jun 20, 2023
294b1e3
v5.4.12
minimaluminium Jun 20, 2023
a183672
Updated post content grid for additional widths
minimaluminium Jun 22, 2023
0721600
v5.5.0
minimaluminium Jun 22, 2023
2fafe72
Added grid to full width cards with wide content
sanne-san Jun 22, 2023
bdf1506
v5.5.1
sanne-san Jun 22, 2023
dda827d
Head > Adding preload
rafaelstz Oct 15, 2021
fa76f77
Consistent syntax
minimaluminium Jun 27, 2023
d75ffc7
Added nested list support
minimaluminium Jun 28, 2023
0e76b5a
Removed unnecessary JS hack for nested list
minimaluminium Jul 3, 2023
b1a1087
Fixed nested list spacing
minimaluminium Jul 3, 2023
10fd2f3
v5.5.2
minimaluminium Jul 3, 2023
22c83f9
Fixed tag and author description character limit
minimaluminium Jul 6, 2023
4ae190c
v5.5.3
minimaluminium Jul 6, 2023
d348349
Added support for hidden title and feature image on pages (#943)
sanne-san Jul 10, 2023
c7fdfb7
Removed spacing between full-width cards
sanne-san Jul 11, 2023
84f201d
Updated class to 'kg-card-hascaption'
sanne-san Jul 11, 2023
d9c9390
Removed padding between navigation and full width content (#944)
sanne-san Jul 17, 2023
a60e3e9
Updated hiding page title and feature image implementation (#946)
sanne-san Jul 17, 2023
b9f5d59
Rebuilt assets
minimaluminium Jul 19, 2023
f8b34f9
Fixed article header spacing on post template
minimaluminium Jul 19, 2023
cc3fca0
Fixed cards not having space below
minimaluminium Jul 21, 2023
840b1b9
Switched from padding to margin for page card spacing
minimaluminium Jul 24, 2023
9f93485
v5.6.0
9larsons Jul 31, 2023
592226b
2023
JohnONolan Aug 3, 2023
43688cf
Added lightbox support
minimaluminium Aug 23, 2023
4d3319d
v5.7.0
minimaluminium Aug 23, 2023
276e2c9
Fix: #952 (#953)
asenseofpradhyu Aug 31, 2023
cf569ac
Added aria-label for the avatar/image of the author to post.hbs
Tauromachian Nov 9, 2023
4c6d33f
Added aria-label to default.hbs' burger menu
Tauromachian Nov 8, 2023
7a79002
Added aria-label to default.hbs' search button
Tauromachian Dec 17, 2023
a511bd5
Fixed post card styling issue on tag and author templates
minimaluminium Mar 11, 2024
aa270b3
Rebuilt assets
minimaluminium Mar 11, 2024
6b6b6a7
v5.7.1
minimaluminium Mar 12, 2024
4f1958d
Fixed cover image tinting issue in dark mode
minimaluminium Apr 9, 2024
331257e
v5.7.2
minimaluminium Apr 9, 2024
87395c5
Improved Safari Reader support
minimaluminium Jul 2, 2024
46c5866
Fixed bookmark card background color issue
minimaluminium Jul 3, 2024
f13641d
v5.7.3
minimaluminium Jul 3, 2024
6d8cc3a
Fixed bookmark card text color
minimaluminium Jul 10, 2024
bf3617a
v5.7.4
minimaluminium Jul 10, 2024
36e886a
Update dependency gscan to v4.43.1
renovate[bot] Jul 10, 2024
01f2b67
Fixed incorrect text color issue in dark mode
minimaluminium Sep 24, 2024
d147bb1
v5.7.5
minimaluminium Sep 24, 2024
cdaa6b3
Improved multi-author support
minimaluminium Nov 14, 2024
6c4397a
Added custom fonts support (#986)
minimaluminium Nov 14, 2024
d9942b8
Rebuilt assets
minimaluminium Nov 14, 2024
e29691b
v5.8.0
minimaluminium Nov 14, 2024
037dd8a
Updated date formatting
minimaluminium Dec 5, 2024
a737f16
v5.8.1
minimaluminium Dec 5, 2024
13fbe85
2025
JohnONolan Jan 6, 2025
351d7ac
Added support for additional social links (#991)
sanne-san Apr 17, 2025
cec4ee9
Update dependency gscan to v4.48.0 (#980)
renovate[bot] Apr 17, 2025
e151531
Updated `caniuse-lite` browser list (#22907) (#992)
ErisDS Apr 17, 2025
ddf213b
Revert "Updated `caniuse-lite` browser list (#22907) (#992)"
ErisDS Apr 17, 2025
0d7b4fe
v5.9.0
ErisDS Apr 17, 2025
50dbd1d
Update dependency gscan to v4.49.1
renovate[bot] Jun 5, 2025
b79a55d
Fixed line height issue for sub and sup elements
minimaluminium Aug 18, 2025
b1ca80b
Update dependency gscan to v5 (#999)
renovate[bot] Jan 7, 2026
a3ea0b4
Update dependency postcss to v8.4.31 [SECURITY] (#961)
renovate[bot] Jan 8, 2026
568c112
Update CSS preprocessors (#885)
renovate[bot] Jan 8, 2026
e80b70b
Update dependency inquirer to v8.2.7 (#905)
renovate[bot] Jan 8, 2026
aec49b0
Update dependency pump to v3.0.3 (#983)
renovate[bot] Jan 8, 2026
2c87f8a
Update dependency gulp to v5 (#977)
renovate[bot] Jan 8, 2026
8b317b5
Update CSS preprocessors (#932)
renovate[bot] Jan 9, 2026
09609d6
Update dependency gulp-postcss to v10 (#973)
renovate[bot] Jan 9, 2026
27e5014
Update dependency gulp-zip to v6 (#964)
renovate[bot] Jan 9, 2026
d79a14a
Update dependency inquirer to v13 (#1008)
renovate[bot] Jan 9, 2026
708dc70
Lock file maintenance (#814)
renovate[bot] Jan 9, 2026
2c0e6f7
Update dependency inquirer to v13.2.0 (#1012)
renovate[bot] Jan 13, 2026
32927d0
Lock file maintenance (#1013)
renovate[bot] Jan 13, 2026
5b5f0bb
Lock file maintenance (#1014)
renovate[bot] Jan 20, 2026
2c467f4
2026
JohnONolan Jan 21, 2026
c5da558
Update dependency gscan to v5.2.4 (#1015)
renovate[bot] Jan 22, 2026
cea6a3a
Update dependency inquirer to v13.2.1 (#1016)
renovate[bot] Jan 23, 2026
b3b388d
Update dependency inquirer to v13.2.2 (#1017)
renovate[bot] Jan 30, 2026
de92b8c
Update dependency autoprefixer to v10.4.24 (#1019)
renovate[bot] Feb 1, 2026
0301977
Lock file maintenance (#1020)
renovate[bot] Feb 3, 2026
29043dd
Update README.md
JohnONolan Feb 4, 2026
d88668c
Add translations section to README (#1026)
cathysarisky Mar 5, 2026
96a7c98
Update translation contribution guidelines (#1027)
cathysarisky Mar 5, 2026
4950217
🌐 Enable theme translations for Casper (#1028)
cathysarisky Mar 6, 2026
63162e8
add locale files (#1030)
cathysarisky Mar 9, 2026
5d1865c
Updated gulpfile and dependencies for building i18n files (#1029)
cathysarisky Mar 9, 2026
029d00f
Update theme asset builds (#1031)
cathysarisky Mar 9, 2026
52fbed2
Ship v5.10.0 - now with translations enabled! (#1032)
cathysarisky Mar 9, 2026
10b05b0
fix Casper's postship (#1033)
cathysarisky Mar 9, 2026
6e22fbd
🌐 Ship uk fr tr translations (#1035)
cathysarisky Mar 17, 2026
24e244e
Fix dark mode secondary text colour broken by postcss-color-mod-funct…
jonhickman Mar 25, 2026
4e93b03
Fixed broken table headers (#1043)
weylandswart Apr 6, 2026
93fdf5e
v5.10.2
9larsons Apr 7, 2026
5dc2478
Added theme-translations renovate config
9larsons Apr 7, 2026
bd4db55
Updated translations
9larsons Apr 7, 2026
f33449f
v5.10.3
9larsons Apr 7, 2026
0bb2ef6
Updated default compatible Ghost version
9larsons Apr 7, 2026
c09501b
Fixed divider color in dark mode
minimaluminium Apr 14, 2026
82b53ca
v5.10.4
minimaluminium Apr 14, 2026
fd9a766
Added share button (#1046)
minimaluminium Apr 15, 2026
acf1cd8
v5.11.0
peterzimon Apr 15, 2026
229db4b
Fixed gulp-zip import and added Node engine requirement
minimaluminium Apr 18, 2026
01df665
v5.11.1
minimaluminium Apr 18, 2026
f05fad3
Refactor responsive video handling and improve performance (#1049)
jessehouwing Apr 24, 2026
f78e6b2
Rebuilt assets
minimaluminium May 21, 2026
c6beab9
Added social links support
minimaluminium May 21, 2026
ef6904d
Included new translations (#1054)
9larsons May 30, 2026
511c801
Bumped gscan to 6.2.1
9larsons May 30, 2026
07070a2
v5.12.0
9larsons May 30, 2026
a08c5cb
Adopt the shared Renovate theme preset
aileen Jun 3, 2026
fc44065
Remove Renovate config from package.json (moved to renovate.json)
aileen Jun 3, 2026
0ec9113
Bump lodash from 4.17.23 to 4.18.1
dependabot[bot] May 26, 2026
d4a5e83
Added GitHub Actions workflow to run theme tests on pull requests
aileen Jun 3, 2026
898b6e8
Pin dependencies (#1058)
renovate[bot] Jun 3, 2026
6473acc
Update dependency pump to v3.0.4 (#1025)
renovate[bot] Jun 3, 2026
071484e
Update TryGhost packages to v0.0.20 (#1061)
renovate[bot] Jun 3, 2026
28d5728
Update dependency inquirer to v13.4.3 (#1022)
renovate[bot] Jun 3, 2026
fef84a3
Added GitHub Actions workflow to test and deploy theme to Ghost (#1062)
aileen Jun 3, 2026
289c9d1
Lock file maintenance
renovate[bot] Jun 3, 2026
8f2d349
Update dependency inquirer to v14 (#1060)
renovate[bot] Jun 3, 2026
b0c8ab9
Fixed Deploy Theme failure by setting a non-default `theme-name`
aileen Jun 3, 2026
415a968
Revert "Fixed Deploy Theme failure by setting a non-default `theme-na…
aileen Jun 3, 2026
d62b7ac
Revert "Added GitHub Actions workflow to test and deploy theme to Gho…
aileen Jun 3, 2026
11acb74
Update CSS preprocessors
renovate[bot] Jun 3, 2026
c2eb6c3
Update dependency postcss to v8.5.10 [SECURITY]
renovate[bot] Jun 3, 2026
5b9fc02
Update CSS preprocessors to v8
renovate[bot] Jun 3, 2026
de5c900
Update TryGhost packages to v0.0.21
renovate[bot] Jun 4, 2026
817a445
Update dependency inquirer to v14.0.2 (#1064)
renovate[bot] Jun 4, 2026
917d120
Switch package manager from yarn to pnpm
aileen Jun 4, 2026
8053e82
Update CSS preprocessors to v8.5.15
renovate[bot] Jun 4, 2026
1442cd4
Lock file maintenance (#1068)
renovate[bot] Jun 8, 2026
4ab8cd7
Fixed post feature image cropping and caption issues
minimaluminium Jun 9, 2026
bb3d0de
5.12.1
minimaluminium Jun 9, 2026
b7a585f
Update pnpm to v11.5.2 (#1069)
renovate[bot] Jun 9, 2026
b203fa4
Fixed broken pnpm/action-setup pin and excluded workspace file from zip
aileen Jun 10, 2026
b798437
Update pnpm to v11.5.3 (#1071)
renovate[bot] Jun 13, 2026
37a8601
Update dependency gscan to v6.3.0 (#1072)
renovate[bot] Jun 13, 2026
310039a
Update pnpm to v11.6.0 (#1074)
renovate[bot] Jun 15, 2026
1596953
Added theme CI gate and agent docs
aileen Jun 15, 2026
be12a7c
Lock file maintenance (#1075)
renovate[bot] Jun 15, 2026
77bbdc4
Fixed theme zip excluding agent docs
aileen Jun 16, 2026
51a8b1e
Update pnpm to v11.7.0 (#1079)
renovate[bot] Jun 18, 2026
3045a4d
Update TryGhost packages to v0.0.22 (#1080)
renovate[bot] Jun 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .editorconfig

This file was deleted.

19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/deploy-theme.yml

This file was deleted.

40 changes: 32 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,39 @@
name: Test

on:
pull_request:
push:
branches:
- master
- 'renovate/*'

permissions:
contents: read

jobs:
test:
name: Test
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))

steps:
- uses: actions/checkout@v1
- run: yarn
- run: yarn test:ci
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
with:
node-version: lts/*
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- run: pnpm install --frozen-lockfile

- run: pnpm test:ci

all-tests-pass:
name: All tests pass
if: always()
needs: [test]
runs-on: ubuntu-latest
steps:
- name: Verify all required jobs succeeded
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
2 changes: 0 additions & 2 deletions .yarnrc

This file was deleted.

25 changes: 25 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# AGENTS.md

## Scope

This repository is the classic Ghost theme. Keep changes focused on theme source, generated assets, CI, and repo-level metadata for this repository.

## Commands

Use pnpm for this repo, pinned by package.json.

```bash
pnpm install --frozen-lockfile
pnpm dev
pnpm test:ci
pnpm zip
```

Run the test command before opening a PR when theme files, generated assets, dependencies, or CI change.

## Boundaries

- Edit source CSS, JavaScript, Handlebars templates, partials, and package metadata intentionally.
- Keep generated assets/built/ files in sync when source assets change and the repo tracks those outputs.
- Do not commit node_modules/, local Ghost content, generated zip files outside tracked release expectations, or secrets.
- Repo settings, descriptions, and branch rules belong on the GitHub repository; internal clean-repos metadata stays in TryGhost/cleanrepos.
1 change: 1 addition & 0 deletions CLAUDE.md
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013-2020 Ghost Foundation
Copyright (c) 2013-2026 Ghost Foundation

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
42 changes: 32 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
# Casper

The default theme for [Ghost](http://github.com/tryghost/ghost/). This is the latest development version of Casper! If you're just looking to download the latest release, head over to the [releases](https://github.com/TryGhost/Casper/releases) page.
A classic theme for [Ghost](http://github.com/tryghost/ghost/), originally the default theme. These days, our default theme is [Source](http://github.com/tryghost/source/)

This is the latest development version of Casper! If you're just looking to download the latest release, head over to the [releases](https://github.com/TryGhost/Casper/releases) page.

 

![screenshot-desktop](https://user-images.githubusercontent.com/353959/66987533-40eae100-f0c1-11e9-822e-cbaf38fb8e3f.png)
![screenshot-desktop](https://user-images.githubusercontent.com/1418797/183329195-8e8f2ee5-a473-4694-a813-a2575491209e.png)

 

# First time using a Ghost theme?

Ghost uses a simple templating language called [Handlebars](http://handlebarsjs.com/) for its themes.

This theme has lots of code comments to help explain what's going on just by reading the code. Once you feel comfortable with how everything works, we also have full [theme API documentation](https://ghost.org/docs/api/handlebars-themes/) which explains every possible Handlebars helper and template.
This theme has lots of code comments to help explain what's going on just by reading the code. Once you feel comfortable with how everything works, we also have full [theme API documentation](https://ghost.org/docs/themes/) which explains every possible Handlebars helper and template.

**The main files are:**

Expand All @@ -32,14 +34,14 @@ One neat trick is that you can also create custom one-off templates by adding th

# Development

Casper styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need [Node](https://nodejs.org/), [Yarn](https://yarnpkg.com/) and [Gulp](https://gulpjs.com) installed globally. After that, from the theme's root directory:
Casper styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need [Node](https://nodejs.org/), [pnpm](https://pnpm.io/) and [Gulp](https://gulpjs.com) installed globally. After that, from the theme's root directory:

```bash
# install dependencies
yarn install
pnpm install

# run development server
yarn dev
pnpm dev
```

Now you can edit `/assets/css/` files, which will be compiled to `/assets/built/` automatically.
Expand All @@ -48,14 +50,31 @@ The `zip` Gulp task packages the theme files into `dist/<theme-name>.zip`, which

```bash
# create .zip file
yarn zip
pnpm zip
```

# Publishing a release

Releases are shipped in two steps. First bump the version — this updates `package.json` and creates the matching commit and `v<version>` git tag:

```bash
# pick one of: patch | minor | major (or an explicit version, e.g. 5.13.0)
pnpm version minor
```

Then run `ship`, which checks the working tree is clean, pushes the commit and tag, and drafts the GitHub release from the changelog:

```bash
pnpm ship
```

> [!NOTE]
> `pnpm version` must be run first — unlike the old `yarn version`, `pnpm version` is not interactive and `pnpm ship` no longer performs the bump itself.

# 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](https://github.com/postcss/postcss-color-function)
- [Color Mod](https://github.com/jonathantneal/postcss-color-mod-function)


# SVG Icons
Expand All @@ -64,7 +83,10 @@ Casper uses inline SVG icons, included via Handlebars partials. You can find all

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

# Translations

Please see [@TryGhost/Themes/theme-translations/README.md](https://github.com/TryGhost/Themes/blob/main/packages/theme-translations/README.md) for how to build, edit, or contribute translations.

# Copyright & License

Copyright (c) 2013-2020 Ghost Foundation - Released under the [MIT license](LICENSE).
Copyright (c) 2013-2026 Ghost Foundation - Released under the [MIT license](LICENSE).
9 changes: 0 additions & 9 deletions SECURITY.md

This file was deleted.

3 changes: 1 addition & 2 deletions assets/built/casper.js

Large diffs are not rendered by default.

Loading