New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@novvum/web-theme

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@novvum/web-theme

A 100% configuration-driven Gatsby theme

  • 2.2.5-rc.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-87.5%
Maintainers
3
Weekly downloads
 
Created
Source

gatsby-theme-configured

A 100% configuration-driven Gatsby theme

Configuration

// example gatsby-config.js
module.exports = {
  __experimentalThemes: [
    {
      resolve: 'gatsby-theme-configured',
      options: {
        colors: {
          text: '#111',
          background: '#fff',
          link: 'tomato',
        }
      }
    },
  ]
}

Options

{
  // styles
  colors: {
    text: 'black',
    background: 'white',
    link: 'blue',
    hover: 'darkblue',
    button: {
      text: 'white',
      background: 'blue',
      hover: {
        text: 'inherit',
        background: 'darkblue',
      },
    },
    heading: 'black',
    border: 'lightgray',
    pre: {
      text: 'blue',
      background: 'lightgray',
    },
    code: {
      text: 'blue',
      background: 'transparent',
    },
    header: {
      text: 'white',
      background: 'black',
    },
    footer: {
      text: 'white',
      background: 'black',
    },
  },
  fonts: {
    body: 'system-ui, sans-serif',
    heading: 'inherit',
    monospace: 'Menlo, monospace',
  },
  lineHeights: {
    body: 1.5,
    heading: 1.25,
  },
  fontSizes: [
    12, 14, 16, 20, 24, 32, 48, 64, 96, 128,
  ],
  fontWeights: {
    normal: 400,
    bold: 700,
    heading: 700,
  },
  space: [
    0, 4, 8, 16, 32, 64, 128, 256, 512,
  ],
  radius: 2,
  containerWidth: 1024,
  breakpoint: 640,
  // content
  header: {
    logo: {
      src: 'logo.svg',
      width: 32,
      height: 32
    },
    title: 'Gatsby Theme All Config',
    button: {
      text: 'Sign Up',
      path: '#',
    }
  },
  navigation: [
    { path: '/', name: 'Home' },
    { path: 'https://github.com/jxnblk/gatsby-themes', name: 'GitHub' },
  ],
  footer: {
    colophon: '© 2019 Brent Jackson',
    links: [
      { path: '/', name: 'Home' },
      { path: 'https://github.com/jxnblk/gatsby-themes', name: 'GitHub' },
    ],
    social: {
      twitter: 'jxnblk',
      facebook: 'jxnblk',
      instagram: 'jxnblk',
    },
  }
}

FAQs

Package last updated on 08 Aug 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc