When using this community plugin, make sure

  • \usepackage is mentioned wherever needed
  • there is a toggle option to invert colors in dark mode within plugin settings. It actually messes things up so try to keep is disabled