Gatsby Shadowing: Extending SASS Styles

Date Created
Jan 12, 2022 01:15 AM
Tags
Date Published
Published
Published
What happens when youโ€™re shadowing a Gatsby theme and want to add or overwrite styles on a component?
import { NewsletterCTA } from "gatsby-theme-blog/src/components/newsletter" import "./NewsletterCTA-Custom.scss" export default function NewsletterCTA(props) { return <NewsletterCTA {...props} /> }
ย