Set Calibre to use the dark mode with the operating system preference or directly with environment variable for Linux, macOS and Windows.