Vlad no it doesnt invert it, it gives the site an even better dark mode by darkening even the dropdown sections which would probably be in greyish black. I use chrome and no dark mode extension, i just force dark content in chrome flags and it works wonders! Much much better than probably any extension i have used so far. Also, theres a safari extension called nightshift, which is probably the closest extension to chromium browsers' force dark content feature, so you can take a look at that extenion. Nightshift works and darkens the sites similar to how chromes built in dark mode does, only sometimes when i havent loaded a new url for a long time on safari, a white screen flashes when i load a new url( the extension maybe just goes into a standby mode and then when i reload or load a new website, it takes a millisecond to activate) and then it again works perfectly like chromes built in dark mode. So you can refer to "Nightshift", a very cool and free extension.