一、安装包管理器(package control)
- 首先打开SublimeText包存放路径
Sublime Text -> Preferences -> Browse Packages
image.png - 下载
Package Control.sublime-package
到上一个目录的Users
下,然后重启Sublime Text - 出现菜单
Sublime Text -> Preferences -> Packages Control
image.png - 安装主题包(Material Theme)
image.png
- 选择安装包菜单
- 搜索主题包
Material Theme
image.png
- 安装完成之后进行主题配置,下面贴上我的配置给大家参考
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"fade_fold_buttons": false,
"font_options": [
"gray_antialias"
],
"font_size": 13,
"ignored_packages": [
"Vintage",
],
"indent_guide_options": [
"draw_normal",
"draw_active"
],
"line_padding_bottom": 2,
"line_padding_top": 2,
"material_theme_accent_scrollbars": true,
"material_theme_arrow_folders": false,
"material_theme_big_fileicons": true,
"material_theme_bold_tab": true,
"material_theme_bright_scrollbars": true,
"material_theme_bullet_tree_indicator": true,
"material_theme_compact_panel": true,
"material_theme_compact_sidebar": true,
"material_theme_contrast_mode": true,
"material_theme_disable_folder_animation": false,
"material_theme_disable_tree_indicator": true,
"material_theme_panel_separator": true,
"material_theme_small_statusbar": true,
"material_theme_small_tab": true,
"material_theme_tabs_autowidth": false,
"material_theme_tabs_separator": false,
"material_theme_tree_headings": true,
"overlay_scroll_bars": "enabled",
"show_encoding": true,
"show_line_endings": true,
"theme": "Material-Theme.sublime-theme",
"auto_complete_triggers": [
{
"characters": "abcdefghijklmnopqrstuvwxyz ",
"selector": "text.wxml",
}
],
}
-
看下效果吧
image.png
网友评论