Enqueueing Stylesheet on Previewer

I am trying to enqueue a stylesheet into the previewer/editor to change the colors of the previewer sidebar and toolbar, etc. I tried enqueueing with the wp_enqueue_scripts hook as well as the cs_before_preview_frame hook, but those load in the page iframe rather than into the previewer. Is there a way to do this? Or are the colors stored in options or anywhere else that I can update? I’m already aware of the dev toolkit, but I want to use a stylesheet or php. Thanks in advance.

Hello @tkulow,

I believe you have already resolved the issue by withdrawing the post. If it still exists, please let us know.

Thanks

1 Like

Hello, I thought I figured it out, but it turns out I didn’t. I restored my original post and edited it to be more clear. Can you please take a look again? Thank you.