Introducing Gatsby Themes
November 6, 2018 at 10:55amIntroducing Gatsby Themes
November 6, 2018 at 10:55amWelcome to the Gatsby Themes sub-community. This is a temporary extension to the Gatsby.js community focused on the recent addition and development of theming and the theming ecosystem.
November 13, 2018 at 7:26pm
The intro blog post on the gatsbyjs blog is
The example repo that will update as new theme functionality is merged is
I'm talking about themes at Gatsby Days which you can get a ticket for here
You can either file issues on the example repo or start new discussions here to participate in the evolution of theming :)
November 23, 2018 at 8:35pm
December 14, 2018 at 2:51pm
December 18, 2018 at 5:12am
December 29, 2018 at 2:08pm
December 30, 2018 at 12:01am
Happy to help, can you file an issue at https://github.com/ChristopherBiscardi/gatsby-theme-examples?
February 1, 2019 at 5:47pm
February 2, 2019 at 3:19am
February 2, 2019 at 4:03pm
I'll post more details after my traveling this weekend! Usage instructions are in both repos however and the code is there for reference
February 10, 2019 at 5:41pm
February 12, 2019 at 2:14pm
March 12, 2019 at 11:45pm
July 11, 2019 at 1:33am
Hi, how do I access options in the user's gatsby-config.js in my theme's components? The docs (https://www.gatsbyjs.org/docs/themes/api-reference/#configuration) only mention being able to access the options in gatsby-node.js. Is this possible or do I need to figure out a workaround using component shadowing?
July 17, 2019 at 4:10pm
You can export a function in
gatsby-config.js
and the first argument it will receive is the options passed in by the end user. Here's an example: https://github.com/gatsbyjs/gatsby/blob/8f4408606a20e355ea29e8982abd62198a901592/themes/gatsby-theme-blog/gatsby-config.js#L1