LogoA Template
icon of gatsby-theme-purist

gatsby-theme-purist

Purist is a clean, full-featured Gatsby theme with dark mode and social sharing, designed for creating content-focused websites.

Introduction

Purist – A Gatsby theme

A clean, full-featured theme with built-in dark mode and social sharing, designed for creating content-focused websites with Gatsby.

Features
  • Dark Mode: Toggable light and dark theme using prefers-color-scheme.
  • Social Sharing: Easy text selection for sharing directly to Twitter and LinkedIn.
  • Customization: Theme styles can be overridden with custom values.
Getting Started

Installation via gatsby-cli:

gatsby new my-site https://github.com/sebsojeda/gatsby-starter-purist

Or, clone the starter with git:

git clone https://github.com/sebsojeda/gatsby-starter-purist my-site
cd my-site
yarn
Development & Build
yarn dev        # Run localhost
yarn build      # Production build
yarn clean      # Clear all caches
Creating an article

Create a new folder in /content/articles/ with an index.mdx file for content and media files.

Configuring site metadata

Customize the theme by modifying gatsby-config.js.

Create a React component for your SVG logo in src/gatsby-theme-purist/components/Logo/index.js.

Changing styles

Override default styles by creating a theme file at src/gatsby-theme-purist/theme/index.js.

gatsby-theme-purist screenshot | ATemplate.com

A template
Copy badages awards

Newsletter For Templates

Join the Community For Templates

Subscribe to Templates newsletter for the latest news and updates