This block has purpose to switch your colors. You can set global color replacement and local (via block)
Block can help to add dark mode even on themes which don’t have this functions.
Please, read In depth overview on how to use Dark mode in Greenshift WordPress
You can find example how it works on demo site of Greenshift theme