As explained here https://twitter.com/hynek/status/1460241865652027397 and detailed https://pradyunsg.me/furo/customisation/colors/#how-light-and-dark-mode-work