1 линия DarkMode CSS

html {
  filter: invert(0.96) hue-rotate(180deg);
}

/* add this to make img look normal */
img {
  filter: invert(0.96) hue-rotate(180deg);
}
shahul