My entire automatic light/dark support is, very early in the HTML:
<meta name=color-scheme content="light dark">
then, in in-line CSS: @media (prefers-color-scheme:dark){body{background-color:#000;color:#eee}img{filter:brightness(.9)}}
I'm not seeing this new thing as a huge win so far.