-
It would be useful for a Web Component, where shadow DOM encapsulates its styles. Using Vite, when dynamically importing a module that imports the Editor + theme, it injects into head element. Not entirely desired but I think I can work around this. This is out of scope of your project of course; just saying... :] |
Beta Was this translation helpful? Give feedback.
Answered by
ghost
Dec 20, 2021
Replies: 1 comment 4 replies
-
Getting the styles by string seems a reasonable idea, but since you're using emotion package, I can't do something like |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting the styles by string seems a reasonable idea, but since you're using emotion package, I can't do something like
import css from 'nord-theme.css?inline'
(vitejs/vite#3246) nor could I do some external styling. 🤔