Skip to content

Allow webview panels to provide a custom icon #48864

Closed
@mjbvz

Description

@mjbvz

Allow webview panels to set an icon. This should probably be done declaratively in the package.json, something like:

"contributes": {
    "webviews": [
      {
        "viewType": "markdown.preview",
        "icon": {
          "light": "./media/Preview.svg",
          "dark": "./media/Preview_inverse.svg"
        }
      }
    ]
  
}

/cc @jrieken

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions