【问题标题】:How achieve Bold-Italic style ins vscode theme json file?如何实现Bold-Italic风格的ins vscode主题json文件?
【发布时间】:2022-11-01 13:32:41
【问题描述】:

最近,我正在编辑一个 VS Code 主题 .json 文件。 我想达到加粗斜体我的主题风格,但我在这部分感到困惑:

   {
      "name": "Keywords",
      "scope": "keyword",
      "settings": {
        "foreground": "#8A31B9",
        "fontStyle": "bold"
      }
    },

"fontStyle": "bold" 中,它将采用"bold""italic"

我应该怎么办?

【问题讨论】:

    标签: json visual-studio-code


    【解决方案1】:

    您在同一行中添加斜体和粗体。

     {
          "name": "Keywords",
          "scope": "keyword",
          "settings": {
            "foreground": "#8A31B9",
            "fontStyle": "bold italic"
          }
        },
    

    【讨论】:

      猜你喜欢
      • 2022-12-31
      • 2021-04-30
      • 1970-01-01
      • 2021-12-13
      • 2018-09-18
      • 2019-05-31
      • 1970-01-01
      • 2020-09-30
      • 1970-01-01
      相关资源
      最近更新 更多