[themes] Component shadowing doesn't resolve properly if multiple themes shadow the same component #11951
Labels
status: confirmed
Issue with steps to reproduce the bug that’s been verified by at least one reviewer.
type: bug
An issue or pull request relating to a bug in Gatsby
Description
In a theme scenario where there are multiple ancestors, component shadowing appears to only respect the first component (or it stops looking after a certain point).
Example (site uses theme3, theme3 uses theme2, theme2 uses theme1):
Steps to reproduce
See this repo: https://github.com/jlengstorf/theme-shadowing-bug
Environment
The text was updated successfully, but these errors were encountered: