代码之家  ›  专栏  ›  技术社区  ›  Josh Gust

如何根据azure devops中的主题更改中心图标?

  •  0
  • Josh Gust  · 技术社区  · 5 年前

    enter image description here enter image description here

    0 回复  |  直到 5 年前
        1
  •  1
  •   Flex    5 年前

    与文件相反 here (这根本不起作用),很简单。在扩展清单中,按如下方式指定图标:

    {
        "id": "hub",
        "type": "ms.vss-web.hub",
        "targets": [
            "ms.vss-work-web.work-hub-group"
        ],
        "properties": {
            "name": "Hub",
            "description": "Something",
            "uri": "pages/Hub.html",
            "icon": {
                "light": "img/hub-light.png",
                "dark": "img/hub-dark.png"
            }
        }
    }