Ⅰ. 插件描述
Glacier is a flat, colorful theme/scheme combo for Sublime Text.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'shovelandsandbox/glacier-theme'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'shovelandsandbox/glacier-theme'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'shovelandsandbox/glacier-theme'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/shovelandsandbox/glacier-theme
Ⅳ. 文档说明
# Glacier
Glacier is a flat, colorful theme/scheme combo for Sublime Text. It focuses on using saturated colors to introduce more contrast and visual interest compared to other flat approaches.

(font shown in screenshots is Fira Code)

Install
Via Package Control
Theme is listed as Theme - Glacier in Will Bond's Sublime Package Control.
Manual
- Download the .zip
- Unzip and rename the folder to
Theme - Glacier - Copy the folder into
Packagesdirectory, which you can find using the menu itemPreferences -> Browse Packages...in Sublime Text
Setup
Activate the UI theme and color scheme by modifying your user preferences file, which you can find using the menu item Preferences -> Settings - User in Sublime Text or cmd, on a Mac.
To change the color of the text input background, open Glacier.sublime-theme, search for "widget" and follow the comments.
Example settings
{
"theme": "Glacier.sublime-theme",
"color_scheme": "Packages/Theme - Glacier/glacier.sublime-color-scheme",
// "color_scheme": "Packages/Theme - Glacier/glacier-legacy.tmTheme",
"font_face": "Ubuntu Mono"
}Color Scheme
The color scheme has been tested against many languages:
HTML

CSS

js

json

Key uses Hashed Syntax Highlighting. If you wish to disable this, create this file: Packages/Users/glacier-theme/glacier.sublime-color-scheme and add this in it:
{
"rules": [
{
"name": "JSON - Keys",
"scope": "source.json meta.mapping.key.json string.quoted.double.json",
"foreground": "var(blue-bright-1)"
}
]
}
lua

md

py

rst

sql

xml

yaml

Legacy
In case you were using this theme before 2019 and you prefer the original colors, you can activate glacier-legacy.tmTheme. But you will loose latest additions like "gutter line diff" and Markups colorization.
Other Editors
Glacier has been ported to:
- Atom [UI Theme, Syntax Theme] (thanks to Matt Graham)
- Vim, Xcode, PuTTY, Terminal.app, IntelliJ, Terminator (thanks to Brian Ward)
- Visual Studio Code (thanks to Daniel Imms)
Credits
Most icons are from the fantastic Spacegray by Gadzhi Kharkharov - the folder icon seen in the sidebar is from the talented Joe Harrison via the noun project.
Future Updates
This is my first time writing a theme/color scheme for Sublime, so I have much to learn. As I learn more about styling bits and pieces of the UI, I will make improvements. Please feel free to open issues as you see fit, fork and improve, or contact/follow me on Twitter.