Simply add the attribute data-bs-theme="dark" to the <html> tag. This will enable Dark Mode instantly—no need to modify any CSS or JavaScript files.
<html lang="en" data-bs-theme="dark">