Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
source for roam/js snippet to append a meta element to head to tell twitter to render tweets with a dark theme
// adapted from
// Twitter embed customization docs
const meta = document.createElement('meta'); = "twitter:widgets:theme";
meta.content = "dark";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment