Default Theme to Dark

Hi,

I want my dashboard to be dark all the time I followed an documentation which suggests following code will give me dark theme.
DarkTheme

But this is not giving me the desired output.
Is there any other way to always have the dark theme.

Thanks