getStyle API not firing?

I'm using the API in one of my content scripts:

export const getStyle: PlasmoGetStyle = () => {
console.log('RUNNING);
const style = document.createElement("style")
style.textContent = styleText
return style
}

But it won't log anything to the conosle, and of course the styles aren't appearing. What could be wrong here? (the content script file does run for sure)
Was this page helpful?