Socket
Socket
Sign inDemoInstall

@agney/gatsby-theme-wedding

Package Overview
Dependencies
10
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @agney/gatsby-theme-wedding

A simple and easy wedding theme using Gatsby and Styled Components.


Version published
Weekly downloads
7
Maintainers
1
Install size
19.4 MB
Created
Weekly downloads
 

Readme

Source

Gatsby Wedding Theme Workspace

A simple and easy wedding theme using Gatsby and Styled Components.

npm version code style: prettier

Demo

Manual Setup

In your gatsby-config.js:

npm i --save-dev @agney/gatsby-theme-wedding

# OR #
yarn add --dev @agney/gatsby-theme-wedding
module.exports = {
  plugins: [
    {
      resolve: `@agney/gatsby-theme-wedding`,
      options: {
        contentPath: "occasion", // Tell the theme where your data is.
        basePath: "/event" // Tell the theme which URL to render the theme at.
      }
    }
  ]
};

Adding the Data

Data Format - You can provide data in JSON format.

Changing the theme

Create a theme.js file at src/@agney/gatsby-theme-wedding/components/theme.js

const theme = {};

export default theme;

See full properties here

If you need to keep existing theme and edit some of the values:

import merge from "lodash.merge";
import theme from "@agney/gatsby-theme-wedding";

export default merge({}, theme, {
  colors: {
    primary: "blue"
  }
});

Replacing Components (Shadowing)

Docs

Contributing

This theme makes use of Yarn Workspaces

yarn
yarn workspace example develop

Keywords

FAQs

Last updated on 22 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc