1.1.1 • Published 7 months ago

gatsby-theme-thepuzzlers-core v1.1.1

Weekly downloads
-
License
-
Repository
gitlab
Last release
7 months ago

Gatsby Theme ThePuzzlers Core

The foundation theme for ThePuzzlers.

Getting Started

  1. Install the gatsby theme
    $ yarn add gatsby-theme-thepuzzlers-core
  1. Add to list of plugins in the gatsby-config file
    module.exports = {
        plugins: ['gatsby-theme-thepuzzlers-core']
    }

Theme Options

OptionValueDescriptionRequired
assetsPathStringDefault path is "src/assets", determines where the page assets like images areNo

What's Included

Gatsby Pieces

  • SEO

  • GatsbyLink

  • GatsbyImage

  • NavigationLink

Custom Hooks

  • useSiteMetadata

  • useLocalizePath

How To Customize For Your Own Use

How To Extend Theme

Inside src/gatsby-plugin-theme-ui/index.js

import { merge } from 'theme-ui';
import { BaseTheme } from 'gatsby-theme-thepuzzlers-core';

const theme = merge(BaseTheme, {
 // Site theme here
});

export default theme;

How To Change The Favicon & Thumbnail

  • Move your favicon file, inside your assetsPath named favicon.png
  • Move your thumbnail file, inside your assetsPath named thumbnail.png