m4v3rick
This works for me, I have not managed to condition it to night mode, so I activated the dark mode of the default tweets.
It's not the most orthodox, but while a better solution is implemented, you can do the following:
Go to: vendor/s9e/text-formatter/src/plugins/Media Embed/Collections and locate the "CachedDefinitionCollection.php" file.
Look for this line:
https://s9e.github.io/iframe/2/twitter.min.html#<xsl:value-of select="@id"/><xsl:if test="$MEDIAEMBED_THEME=\'dark\'">#theme=dark</xsl:if>
and replace it with this:
https://s9e.github.io/iframe/2/twitter.min.html#<xsl:value-of select="@id"/>#theme=dark
Maybe @IanM and @luceos or @Ralkage (They are nigthmode contributors and will know the extension better than I do.) can get to condition the line.
<xsl:if test="$MEDIAEMBED_THEME='dark'">#theme=dark</xsl:if>
calling the exact variable of fof/nightmode