从2012年开始一直使用Sublime进行Web开发,之前试过很多Theme主题包,比如: Soda, Sodarized,  Flatland, 但是总感觉不是特别好。最近,又搜了搜,无意间发现 Material Theme 然后试了试,感觉挺不错的.  所以想分享给大家.  

下面是我自己的一个本地截图,仅供参考:

Screen Shot 2018-11-18 at 9.48.52 PM.png


接下来,我们看看如何安装和配置

  1. 首先,确保你的Sublime已经安装了 Package Control
  2. 接下来我们可以使用 Command + Shift + P, 打开 package control 控制台
  3. 然后搜索 Material, 选择 Theme - Material
  4. 修改 User 配置文件 (Sublime Text > Preferences > Settings)
{
	"auto_complete": true,
	"auto_upgrade_ignore":
	[
		"Better CoffeeScript"
	],
	"bold_folder_labels": true,
	"theme": "Material-Theme.sublime-theme",
	"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme",
	"enable_tab_scrolling": false,
	"ensure_newline_at_eof_on_save": true,
	"fade_fold_buttons": false,
	"fold_buttons": true,
	"draw_white_space": "all",
	"folder_exclude_patterns":
	[
		".git"
	],
	"font_face": "OperatorMono Nerd Font",
	"font_size": 13,
	"material_theme_accent_orange": true,
	"highlight_line": true,
	"highlight_modified_tabs": true,
	"ignored_packages":
	[
		"Markdown",
		"Vintage"
	],
	"index_exclude_patterns":
	[
		"*.log",
		"node_modules/*",
		".git/*"
	],
	"index_files": false,
	"line_padding_bottom": 1,
	"line_padding_top": 1,
	"show_encoding": true,
	"show_full_path": true,
	"show_line_endings": true,
	"tab_size": 2,
	"translate_tabs_to_spaces": true,
	"trim_trailing_white_space_on_save": true,
	"vintage_start_in_command_mode": true,
	"word_wrap": true
}