Gatsby adds elements to the DOM.
These include:
- #___gatsby
- #gatsby-focus-wrapper
Because these styles are not user-created, component-scoped styles can't be applied to them.
Gatsby provides the means to add a global style sheet: We can create a stylesheet and import it into a layout component. However, rules targeting the elements that Gatsby adds to the DOM are not applied.
There are some very basic things that become very difficult and hacky to do unless we can style these elements.
Is there a non-hacky way to add a stylesheet that will apply it's rules to all targets?
