Local plugins in themes
I'm developing a theme and my theme and test sites are within a monorepo managed with Yarn workspaces. I would like to encapsulate some logic to process MDX blog posts from a content folder into a plugin. My first try was to create a plugin package within my Yarn workspaces…
(Windows user 😔) "There are multiple modules with names that only differ in…
When using yarn workspaces to develop several themes, starters and helper packages, I'll get a bunch of warnings saying There are multiple modules with names that only differ in casing., and this seems to be a random behavior. There'll be times when I run and nothing happens,…
What is the proper way to specify gatsby, react dependencies for a theme?
Should we define them as peer dependencies? If yes, then with what ranges (this blog post recommends to use "lenient" peer dependencies)? In the recent Build a Gatsby Theme With John Otander — Learn Stuff With Jason screencast they, chose to define the gatsby and react as peer…
Child of a Child Theme with private repositories, is it possible?
I have a theme and a child theme that shadows some of the components of the former. Now I'm trying to do a new child theme that is a child of the previous child theme, so that core theme -> child.1 -> this child2 What I'm doing is …
How to override images from a theme?
Is it possible to override the images that are bundled as part of the theme, which is being consumed in some Page Component? Can you share how to achieve that? @biscarch Kindly help. …
Gatsby Themes Roadmap
We published a new post on where Gatsby themes are going in 2019! https://www.gatsbyjs.org/blog/2019-03-11-gatsby-themes-roadmap/
(newby) How do you develop themes?
I'm moving my starter gatsby repo to a theme-based repo, following the example of cephalization https://github.com/cephalization/gatsby-starter-wiki-theme. Then, what I'm doing to develop the theme is: • every time I make a change, update package version …
Resolving paths in theme vs site
Hi, new to themes (most of us are, no?), and trying to figure out how to resolve paths to some default files in the theme itself, but also allow the user to provide their own files, with minimal configuration. My use-case is as follows. I am using the gatsby-plugin-i18next…
Child Theming and Component Shadowing Changes
tldr; This was just merged: https://github.com/gatsbyjs/gatsby/pull/10787 Child theming is now enabled in the current Gatsby release, so upgrade if you want to try them out. Read the official blog post here:…
Introducing Gatsby Themes
Welcome 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.