Dark Mode not working in 20.04
As listed in comments from the question, I did install yaru:
sudo apt-get install yaru-theme-gtk
Then I selected the dark them from settings > Appearance and it worked I obtained a similar yet different result by intalling gnome-tweak-tool and select the "ambiant" theme.
cheers !
Try using the Gnome-Tweak tool. First, update, then add the Universe repository, and then install:
sudo apt-get update
sudo add-apt-repository universe
sudo apt-get install gnome-tweak-tool
Open Gnome-Tweaks from Show Applications (or Activities), and click on Appearance. Under Themes, dropdown Applications, and choose Adwaita-dark, or, as the case may be, Yaru-dark.
Hope it helps!