Sublime Text 3 how to change the font size of the file sidebar?

前端 未结 13 586
难免孤独
难免孤独 2020-12-04 05:32

Though I have tried to modify \"font.size\" in classes like \"Label_control\" and \"sidebar_control\" in the Package \"Theme-Default\", the font size of the editor does not

13条回答
  •  醉梦人生
    2020-12-04 05:39

    I followed these instructions but then found that the menu hover color was wrong.

    I am using the Spacegray theme in Sublime 3 beta 3074. So to accomplish the sidebar font color change and also hover color change, on OSX, I created a new file ~/Library/"Application Support"/"Sublime Text 3"/Packages/User/Spacegray.sublime-theme

    then added this code to it:

    [
        {
            "class": "sidebar_label",
            "color": [192,197,203],
            "font.bold": false,
            "font.size": 15
        },
         {
            "class": "sidebar_label",
            "parents": [{"class": "tree_row","attributes": ["hover"]}],
            "color": [255,255,255] 
        },
    ]
    

    It is possible to tweak many other settings for your theme if you can see the original default:

    https://gist.github.com/nateflink/0355eee823b89fe7681e

    I extracted this file from the sublime package zip file by installing the PackageResourceViewer following MattDMo's instructions (https://stackoverflow.com/users/1426065/mattdmo) here:

    How to change default code snippets in Sublime Text 3?

提交回复
热议问题