src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.ts/reviveIconPath
function reviveIconPath(data: SerializedIconPath | undefined) {
	if (!data) {
		return undefined;
	}

	const light = reviveUri(data.light);
	const dark = reviveUri(data.dark);
	return light && dark ? { light, dark } : undefined;
}