xshaun's NoteBook

What makes the desert beautiful is that somewhere it hides a well.

Follow me on GitHub

自我感知有强迫症,Sublime-Text 的 SideBar 的背景色和整体的主题色不太搭配,今天花时间修改一下。

在 Theme-Default.sublime-package 中找到文件 Default.sublime-theme 文件,做如下修改(//为删除行,#为新增行)。

设置边栏背景色
{
    "class": "sidebar_tree",
    "row_padding": [8, 3],
    "indent": 12,
    "indent_offset": 17,
    "indent_top_level": false,
    //"layer0.tint": [230, 230, 230],
    #"layer0.tint": [50, 50, 50],
    "layer0.opacity": 1.0,
    "dark_content": false
},
设置文件列表标头信息
{
    "class": "sidebar_heading",
    "color": [130, 130, 130],
    "font.bold": true,
    //"shadow_color": [250, 250, 250],
    #"shadow_color": [150, 150, 150],
    "shadow_offset": [0, 1]
},
设置文件名文字颜色和字体大小
{
    "class": "sidebar_label",
    //"color": [0, 0, 0],
    #"color": [150, 150, 150],
    #"font.size": 14,
    "font.bold": false
    // , "shadow_color": [250, 250, 250], "shadow_offset": [0, 0]
},
设置分割线颜色
{
    "class": "sidebar_container",
    //"layer0.tint": [80, 80, 80],
    #"layer0.tint": [10, 10, 10],
    "layer0.opacity": 1.0,
    "layer0.draw_center": false,
    "layer0.inner_margin": [0, 0, 1, 0],
    "content_margin": [0, 0, 1, 0]
},

GO-BACK     UP-LEVEL TOP