By default Unity locks the dark theme behind it's pro version/subscription model. The community has begged for this to be a standard feature for all versions of Unity for years, and when considered as an accessibility issue, it is pretty ridiculous that this isn't a standard feature.