src/vs/platform/actions/browser/menuEntryActionViewItem.ts/SubmenuEntryActionViewItem/render
class SubmenuEntryActionViewItem:	override render(container: HTMLElement): void {
		super.render(container);
		if (this.element) {
			container.classList.add('menu-entry');
			const { icon } = (<SubmenuItemAction>this._action).item;
			if (icon && !ThemeIcon.isThemeIcon(icon)) {
				this.element.classList.add('icon');
				const setBackgroundImage = () => {
					if (this.element) {
						this.element.style.backgroundImage = (
							isDark(this._themeService.getColorTheme().type)
								? asCSSUrl(icon.dark)
								: asCSSUrl(icon.light)
						);
					}
				};
				setBackgroundImage();
				this._register(this._themeService.onDidColorThemeChange(() => {
					// refresh when the theme changes in case we go between dark <-> light
					setBackgroundImage();
				}));
			}
		}
	}