How dark mode is being applied on other platforms

How dark mode is being applied on other platforms