Right now, you have to close the pane or reload the app for dark / light system theme change to take effect too.
For the record, I still think this is a bug, it’s something that is obviously not working as intended. First posted here: Twitter embed doesn't change theme without reloading
Twitter’s been a mess lately thanks to Musk