Ⅰ. 插件描述
A flat theme for Sublime Text that supports both retina and non-retina.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'itsthatguy/theme-itg-flat'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'itsthatguy/theme-itg-flat'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'itsthatguy/theme-itg-flat'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/itsthatguy/theme-itg-flat
Ⅳ. 文档说明
NOTE: Currently looking for a new maintainer for this package. Not currently maintained.
Update: Sublime text 2 and 3 now supported.
Here it is
My flat, retina friendly, sublime-theme. It comes in two flavors, Dark and Light. I'll be adding more color variations over the coming weeks, so stay tuned. Read more about it
Installation is a snap. Once you have Package Control installed, you just need to follow the instructions below.
I hope you enjoy it. I'd love to hear your thoughts.
Dark

Light

Installation
Using Sublime Package Control
If you are using sublime package control, you can install directly from the Package Control: Install Package menu item.

The theme is listed as Theme - itg.flat in the packages list.

Enabling the theme
To enable the theme and adjust theme settings edit your Preferences.sublime-settings file:

// 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"Enabling the custom Syntax Highlighting
Select a theme from Preferences > Color Scheme > Theme - itg.flat:

or add this to your Preferences.sublime-settings file:
// for a dark theme use:
"color_scheme": "Packages/Theme - itg.flat/itg.dark.tmTheme",
// for a light theme use:
"color_scheme": "Packages/Theme - itg.flat/itg.light.tmTheme",Additional Settings:
// 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"Contributing
- fork this repo
- run
npm install - edit the existing
src/colors/**/*.jsfiles or create a new one - run
gulp compile - run
npm testand verify all the tests are passing - submit a pull request to the development branch
Note: If adding anything to
itg.flat.mustachemake sure to also add those updates to the files in thetest/templates/folder.
Tests
- fork this repo
- run
npm install - run
npm test