prism-react-renderer icon indicating copy to clipboard operation
prism-react-renderer copied to clipboard

expose CSS variables to avoid FOUC during SSR

Open jpdriver opened this issue 3 years ago • 3 comments

Context:

  • https://github.com/facebook/docusaurus/issues/6246
  • https://github.com/facebook/docusaurus/pull/7373
  • https://github.com/FormidableLabs/prism-react-renderer/issues/112

Useful info:

  • https://www.joshwcomeau.com/react/dark-mode/

jpdriver avatar May 09 '22 15:05 jpdriver