src/vs/workbench/services/themes/browser/workbenchThemeService.ts/WorkbenchThemeService/getPreferredColorScheme
class WorkbenchThemeService:	private getPreferredColorScheme(): ColorScheme | undefined {
		if (this.configurationService.getValue<boolean>(ThemeSettings.DETECT_HC) && this.hostColorService.highContrast) {
			return ColorScheme.HIGH_CONTRAST;
		}
		if (this.configurationService.getValue<boolean>(ThemeSettings.DETECT_COLOR_SCHEME)) {
			return this.hostColorService.dark ? ColorScheme.DARK : ColorScheme.LIGHT;
		}
		return undefined;
	}