I am pretty sure thats not related …
You can have a dark gtk theme and that wont mean youtube is shown ‘dark’.
It will mean the window borders and menu items and such will be picked from the GTK theme … but it should not automatically affect the appearance of webpages.
Of course it doesnt … I specifically mentioned an example for chrome and chromium.