如何让sublime text菜单栏下的标签是扁平化风格?

我安装了brogrammer主题,原以为是这样的Image
结果,标签却不是扁平风格,如下Image
请问这要改什么才能使得整体保持一致的扁平风格?

阅读 6.2k
2 个回答

你下载的主题还没有配置好。
举例,我用的是itg.flat这个主题。
下载之后也是这个情况。
我后来查了一下,在github上可以找到这个主题的主页,上面有下载之后所需要的配置文件。
你把这个复制到preference- Setting-user下面,注意是json形式的。
比如我这个主题下面有这些配置信息:

// for a dark theme use:
"theme": "itg.flat.dark.sublime-theme"

// for a light theme use:
"theme": "itg.flat.light.sublime-theme"

// additional (dark) color options
"theme": "itg.flat.dark.aqua.sublime-theme"
"theme": "itg.flat.dark.blue.sublime-theme"
"theme": "itg.flat.dark.green.sublime-theme"
"theme": "itg.flat.dark.orange.sublime-theme"
"theme": "itg.flat.dark.yellow.sublime-theme"

// additional (light) color options
"theme": "itg.flat.light.aqua.sublime-theme"
"theme": "itg.flat.light.blue.sublime-theme"
"theme": "itg.flat.light.green.sublime-theme"
"theme": "itg.flat.light.orange.sublime-theme"
"theme": "itg.flat.light.yellow.sublime-theme"
// small tabs
"itg_small_tabs": true

// Sidebar padding options
"itg_sidebar_tree_xsmall": true
"itg_sidebar_tree_small": true
"itg_sidebar_tree_medium": true
"itg_sidebar_tree_large": true
"itg_sidebar_tree_xlarge": true


// Scrollbar size options
"itg_scrollbar_small": true
"itg_scrollbar_medium": true

// if the scrollbar options aren't working, try setting the following
"overlay_scroll_bars": "disabled"

把这些复制到setting-user中的大括号中,就行啦!
所以你也可以上github上找一下你这个主题,在README.md中你可以找到配置信息!~

新手上路,请多包涵

clipboard.png

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进