OT: How to set dark theme by default?


I am building a website using Hugo and eureka theme.

Everything looks great, except i wish the default theme choice was ‘Dark’.
Currently the default option is ‘Auto’, which for some reason triggers ‘Light’ mode on every browser I tested.

How can i do that?


This question is OT. Hugo is agnostic about dark mode.

You need to look into other channels for CSS/HTML questions, try searching the web, StackOverflow etc. For example here is a guide to dark mode from CSS-Tricks.

Please have a look at the forum rules for future reference.