Just like the iOS YouTube's Mobile App, you can activate the dark theme or dark mode on desktops and laptops by clicking your account icon in the top-right, click the Dark theme line directly above Settings and then click the toggle switch to turn on Dark theme.