I do my dark mode with 1 VERY hacky ublock origin rule:
html:style(filter: invert(90%) hue-rotate(180deg))