Giter Club home page Giter Club logo

gatsby-theme-candor's Introduction

Gatsby

Workspace starter for gatsby-theme-candor

To start developing your own theme using this repo as a starting point:

gatsby new my-theme https://github.com/shetharp/gatsby-theme-candor
cd my-theme
yarn
yarn workspace demo develop

To create a Gatsby site with the theme itself as a starting point:

๐Ÿจ View Demo Site โ†’

Features

This theme workspace comes pre-loaded with the following:

Configurations for Typescript, ESLint, and Husky

  • yarn lint to manually run ESLint
  • yarn lint:fix to manually run ESLint and auto-fix most issues
  • yarn type-check to run the Typescript compiler
  • Note: Husky will run yarn lint:fix on staged files during pre-commit, and it will run yarn type-check on all files during pre-push

theme workspace

  • Sources pages and posts from two seprate directories
  • MDX support with frontmatter querying and referencing
  • Syntax highlighting for code blocks in MDX
  • Responsive optimized images
  • A custom theme built with gatsby-plugin-theme-ui
  • Documented code and type-checking with Typescript

demo workspace

  • Consumes the theme and builds a site with example content
  • Has a Blog Index page to view a list of all the pages in the demo site
  • Has a Theme Preview page to view the theme in action
  • Has a Theme JSON page to view the raw theme JSON
  • Ample examples of component Shadowing in Gatsby

theme

This directory is the theme package itself. You should change the package.json name field and the corresponding dependency in the example directory's package.json/gatsby-config.js to match the chosen name.

demo

This is an demo usage of your theme. It should look the same as the site of someone who installed and used your theme from npm.

You can run the example with:

yarn workspace demo develop

Tutorial

Learn more about how this theme was developed: TODO

gatsby-theme-candor's People

Contributors

shetharp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.