美文网首页
打造炫酷sublime

打造炫酷sublime

作者: 咩咩sheep | 来源:发表于2017-06-03 11:51 被阅读0次

配置主题颜色

首先执行命令
git clone https://github.com/Colorsublime/Colorsublime-Plugin.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Colorsublime-Themes
然后快捷键command+shift+p 输入install theme 回车, 按上下键可以选择你要的主题

配置主题

参考Package Control
1,Press ⌘/Ctrl + ⇧ + P to open the command palette.
2,Type Package Control: Install Package and press enter. Then search for Material Theme.
在subline->preference->settings-user加入
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", "theme": "Material-Theme.sublime-theme",

retina适配

在subline->preference->settings-user加入

"always_show_minimap_viewport" : true,
"bold_folder_labels"           : true,
"font_options"                 : [ "gray_antialias", "subpixel_antialias" ],    // On retina Mac & Windows
"indent_guide_options"         : [ "draw_normal", "draw_active" ],   // Highlight active indent
"line_padding_bottom"          : 3,
"line_padding_top"             : 3,
"overlay_scroll_bars"          : "enabled",

主题顶部Bar配置

1, Press ⌘/Ctrl + ⇧ + P to open the command palette.
2, 输入Material Theme Appbar
3, 在subline->preference->settings-user加入 "material_theme_tree_headings": true
4, 任意选择appbar主题一个加入subline->preference->settings-user

"material_theme_appbar_lime": true,
"material_theme_appbar_orange": true,
"material_theme_appbar_purple": true,
"material_theme_appbar_red": true,
"material_theme_appbar_yellow": true,
"material_theme_appbar_indigo": true,
"material_theme_appbar_pink": true,
"material_theme_appbar_blue": true,
"material_theme_appbar_cyan": true,
"material_theme_appbar_charcoal": true

配置侧边栏颜色

任意选择一个主题加入subline->preference->settings-user
"material_theme_accent_lime": true
"material_theme_accent_indigo": true
"material_theme_accent_purple": true
"material_theme_accent_red": true
"material_theme_accent_orange": true
"material_theme_accent_yellow": true
参考链接Materialize-Appbar

效果

image.png

相关文章

网友评论

      本文标题:打造炫酷sublime

      本文链接:https://www.haomeiwen.com/subject/jywpfxtx.html