Questions tagged [gatsby-theme]
6 questions
1
vote
1 answer
Gatsby doesn't update theme when modified in node_modules
I'm developing my own gatsby.js theme (actually I've forked and modified another theme, then created new npm package for it). When I change any theme file in node_modules, for example footer.js, I don't see any changes while running gatsby develop…

Neone
- 482
- 1
- 9
- 21
1
vote
1 answer
Gatsby Cloud rebuild all the sites when I update only one site
I'm using Yarn workspace for my Gatsby project. I created a Gatsby theme called "milan-site-theme" it lives in the root directory.
I also created 4 sites that use the "milan-site-theme" as a dependency. Those 4 sites live in the packages…

Ahmad_SY
- 11
- 1
1
vote
2 answers
gatsby-source-filesystem not sourcing files from site directory when used in a theme
I'm trying to build a gatsby theme that uses gatsby-source-filesystem to source images.
I have set up a yarn workspace for development, my folder structure looks like this.
workspace/
├─ example.com/
│ ├─ src/
│ │ ├─ pages/
│ │ │ ├─ test.js
│ …

Alexander Hörl
- 578
- 4
- 11
- 24
1
vote
2 answers
How to handle tailwind.config.js in a Gatsby Theme
I am trying to include tailwindcss into my custom Gatsby Theme via twin.macro. I am using yarn workspaces and the project directory tree is setup as follows:
./site - The actual site which contains the content
./packages/gatsby-theme-custom/** - The…

grahan
- 2,148
- 5
- 29
- 43
1
vote
1 answer
Cannot override styling (coloration and svg image) on docs site created from gatsby-starter-rocket-docs
I am working on a docs site created from the gatsby starter gatsby-starter-rocket-docs. I want to have a different image from the default as the header to the sidebar. Currently, the image comes from an svg defined in the node modules, rather than…

ilyanaDev
- 61
- 1
- 6
0
votes
1 answer
Does Astro have theme composition and components shadowing?
I am exploring Astro to see if it would be a good fit to migrate a large Gatsby theme over as I am not fully satisfied with the toolings offered and particularly the Lighthouse results.
I'm not seeing though any opportunity for components shadowing…

Mattia Rasulo
- 1,236
- 10
- 15