public static boolean saveThemeChanges(ThemeManager themeManager) {
		GTheme activeTheme = themeManager.getActiveTheme();
		String name = activeTheme.getName();

		while (!canSaveToName(themeManager, name)) {
			if (shouldCancelSave(themeManager, name)) {
				return false;
			}
			name = getNameFromUser(name);
			if (name == null) {
				return false;
			}
		}
		return saveCurrentValues(themeManager, name);
	}
Saves all current theme changes. Handles several use cases such as requesting a new theme
name and asking to overwrite an existing file.
@param themeManager the theme manager
@return true if the operation was not cancelled
Ghidra/Framework/Docking/src/main/java/docking/theme/gui/ThemeUtils.java