Documentation · 1 of 4
Getting started
You need Node.js 22.12 or newer and pnpm. After you accept the repository invite that came with your purchase:
git clone https://github.com/ondelva/astro-theme-tearsheet-pro.git my-newsletter
cd my-newsletter
pnpm install
pnpm dev
The site is at http://localhost:4321. /styleguide shows every colour and type size on one page while pnpm dev runs.
Make it yours
Almost everything lives in src/config.ts:
site: the name, the URL, the author.newsletter: the cadence line, the number of your first issue, the price on the members button, where the forms post.plans: the table on the subscribe page.nav: the header and footer links.
Colours are tokens you override in src/styles/theme.css. Three presets ship with Pro: uncomment one @import at the top of that file.
Before you publish
Set site.url, replace the demo issues in src/content/issues/, and push your copy to a private repository: the members part of every issue is cut from the site, but it is still in your source files.
Next: Writing an issue