Side effect of #205: The removal of the dark mode button in cases where there is no dark mode available, leads to ugly content shifts (press F5 a couple of times to see the shiftings). It seems that the check comes too later after the other buttons are already rendered. I am not sure, if that can be easily solved. One idea could be show the sun icon and make it non-clickable if dark mode is not available.
Side effect of #205: The removal of the dark mode button in cases where there is no dark mode available, leads to ugly content shifts (press F5 a couple of times to see the shiftings). It seems that the check comes too later after the other buttons are already rendered. I am not sure, if that can be easily solved. One idea could be show the sun icon and make it non-clickable if dark mode is not available.