zhaouv / vscode-python-highlight-cell-splitter

highlight the splitters of python cells for vscode, bold them and change their color
https://marketplace.visualstudio.com/items?itemName=zhaouv.vscode-python-highlight-cell-splitter
0 stars 0 forks source link

change text color #1

Closed pedroalencar1 closed 2 years ago

pedroalencar1 commented 2 years ago

Hi there,

thanks for the nice feature. However, can I change the text color? I tried changing on settings.json with no success

zhaouv commented 2 years ago

You can find the name of your current color theme in settings.json at workbench.colorTheme. For example "workbench.colorTheme": "Default Light+". And you change the name in you settings

    "editor.tokenColorCustomizations": {
        "[Default Light+]": {
            "textMateRules": [
                {
                    "scope": "markup.heading.python.cell.splitter",
                    "settings": {
                        "fontStyle": "bold",
                        "foreground": "#40b903"
                    }
                }
            ]
        }
    },

Notice that the name in second line is changed.

pedroalencar1 commented 2 years ago

Thanks! I had tried changing only the "textMateRules" colour but it wasn't working. Once I changed the colorTheme too it worked.

Cheers