gatsby-theme-query
TypeScript icon, indicating that this package has built-in type declarations

1.8.9 • Public • Published

Gatsby Theme Query

CircleCI

Gatsby theme for adding a Styled System theme object. You can query your theme using Theme Query directly in your components.

Getting started

  yarn add theme-query theme-ui gatsby-theme-query @emotion/core
// gatsby-config.js
module.exports = {
  plugins: ['gatsby-theme-query'],
};

Shadow the theme with your own

// src/gatsby-theme-query/index.js
export default {
  colors: {
    text: 'magenta',
    background: 'papayawhip',
  },
};

Readme

Keywords

none

Package Sidebar

Install

npm i gatsby-theme-query

Weekly Downloads

16

Version

1.8.9

License

MIT

Unpacked Size

4.49 kB

Total Files

22

Last publish

Collaborators

  • palmaswelll