glacier-theme


Ⅰ. 插件描述

Glacier is a flat, colorful theme/scheme combo for Sublime Text.

Ⅱ. 基本信息

创建日期:  2013-12-30
使用用户:  1
Github星:  166
插件作者:  Shovel & Sandbox

Ⅲ. 安装方法

使用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.

Glacier Screenshot
(font shown in screenshots is Fira Code)

Color Palette

Install

Via Package Control

Theme is listed as Theme - Glacier in Will Bond's Sublime Package Control.

Manual

  1. Download the .zip
  2. Unzip and rename the folder to Theme - Glacier
  3. Copy the folder into Packages directory, which you can find using the menu item Preferences -> 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

html

CSS

css

js

js

json

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

lua

md

md

py

py

rst

rst

sql

sql

xml

xml

yaml

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:

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.

添加新评论