Afterglow theme

适用于Sublime Text 2和3的最小黑暗主题。「A minimal dark Theme for Sublime Text 2 and 3」

  • Owner: YabataDesign/afterglow-theme
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Afterglow

Afterglow is a minimal dark Theme for Sublime Text 2 and 3. Also it is a syntax color scheme. The theme is based on the great theme Spacegray. The syntax color scheme is mostly derived from idlefingers.

Special thanks to Max Riveiro @kavu for add a lot of icons for sidebar to this repository.

Design & Colors

Afterglow default

Afterglow

View a larger screenshot

Afterglow blue

Afterglow blue

View a larger screenshot

Afterglow magenta

Afterglow magenta

View a larger screenshot

Afterglow orange

Afterglow orange

View a larger screenshot

Afterglow green

Afterglow green

View a larger screenshot

The font used in the screenshots is Inconsolata -g.

Installation

Package Control

The easiest way to install is using Sublime Package Control.

  • Open Command Palette using menu item Tools -> Command Palette..., or Cmd+Shift+P (OS X) Ctrl+Shift+P (Win/Linux)
  • Type Package Control: Install Package
  • Search Theme - Afterglow

Git Installation

Locate your Sublime Text Packages directory by using the menu item Preferences -> Browse Packages....

Then, clone the repository using this command:

git clone https://github.com/Yabatadesign/afterglow-theme/ "Theme - Afterglow"

Manual installation

  • Download the .zip package from GitHub.
  • Unzip the files and rename the folder to Theme - Afterglow
  • Find your Packages directory using the menu item Preferences -> Browse Packages...
  • Copy the folder into your Sublime Text Packages directory.

Activating the Theme

Activate this theme and color scheme by modifying your user preferences file, which you can find using the menu item Sublime Text -> Preferences -> Settings - User.

Then add the following code settings, depending on the theme you choose. (After activating the theme, you must restart Sublime Text.)

Settings for Afterglow

{
    "theme": "Afterglow.sublime-theme",
    "color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme"
}

Settings for Afterglow-blue

{
    "theme": "Afterglow-blue.sublime-theme",
    "color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme"
}

Settings for Afterglow-magenta

{
    "theme": "Afterglow-magenta.sublime-theme",
    "color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme"
}

Settings for Afterglow-orange

{
    "theme": "Afterglow-orange.sublime-theme",
    "color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme"
}

Settings for Afterglow-green

{
    "theme": "Afterglow-green.sublime-theme",
    "color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme"
}

Configuration

New: Now Afterglow theme support sidebar icons.

Afterglow sidebar icons

Don't like the icons? Just add this to your preferences file Sublime Text -> Preferences -> Settings - User:

{
    "sidebar_no_icon": true
}

Don't like the folder icon? Just add this to your preferences file Sublime Text -> Preferences -> Settings - User:

{
    "folder_no_icon": true
}

Tab Height Size Options

Afterglow Tabs

You can change the height of the file tabs (medium or small) by adding either to your preferences file Sublime Text -> Preferences -> Settings - User:

{
    "tabs_medium": true
}

or

{
    "tabs_small": true
}

You can change the font size of the sidebar and the row padding.

Afterglow Sidebar Size

To change the font size (12, 13 or 14; default size is 11), you must add this to your preferences file Sublime Text -> Preferences -> Settings - User:

{
    "sidebar_size_12": true
}

or

{
    "sidebar_size_13": true
}

or

{
    "sidebar_size_14": true
}

Afterglow Sidebar Row Padding

To change the row padding (medium or large), you must add this to your preferences file Sublime Text -> Preferences -> Settings - User:

{
    "sidebar_row_padding_medium": true
}

or

{
    "sidebar_row_padding_large": true
}

Statusbar font size

To change the font size (12, 13 or 14; default size is 11), you must add this to your preferences file Sublime Text -> Preferences -> Settings - User:

{
    "statusbar_size_12": true
}

or

{
    "statusbar_size_13": true
}

or

{
    "statusbar_size_14": true
}

Status bar brighter

Afterglow Status bar brighter

If you prefer that the status bar has a brighter color, you have to add this in your user preferences file Sublime Text -> Preferences -> Settings - User:

{
    "status_bar_brighter": true
}

Color inactive tabs

Afterglow Color inactive tabs

You can highlight the color of inactive tabs, adding this to the user preferences file Sublime Text -> Preferences -> Settings - User:

{
    "color_inactive_tabs": true
}

Horizontal padding tabs

Afterglow Horizontal padding tabs

Through the user preferences file, you can modify the horizontal padding of tabs. It works on all three types of height tabs (default, "tabs_medium" and "tabs_small").

You must add this to your user preferences file Sublime Text -> Preferences -> Settings - User:

{
    "tabs_padding_medium": true
}

or

{
    "tabs_padding_small": true
}

Non-italic tab labels on Windows

Afterglow tabs not italic

On Windows, tab labels are displayed in italic font. If you don't like that, you can add this to the user preferences file Sublime Text -> Preferences -> Settings - User:

{
    "tabs_label_not_italic": true
}

Color schemes

Afterglow - Monokai

Afterglow Monokai

Besides color scheme by default, you can use the color scheme Afterglow - Monokai based on the original Monokai, slightly modified to be consistent with the Theme colors.

You must add this in your user preferences file Sublime Text -> Preferences -> Settings - User:

{
    "color_scheme": "Packages/Theme - Afterglow/Afterglow-monokai.tmTheme"
}

Afterglow - Twilight

Afterglow Twilight

If you prefer, you can use the color scheme Afterglow - Twilight (very slightly modified from the original), adding this to the user preferences file Sublime Text -> Preferences -> Settings - User:

{
    "color_scheme": "Packages/Theme - Afterglow/Afterglow-twilight.tmTheme"
}

Markdown

Afterglow markdown

NEW: This color scheme support Github Flavored Markdown.

To enable Afterglow for Markdown

(I highly recommend installing Sublime Markdown Extending plugin.)

First, open a markdown(.md) file, then navigate to Sublime Text -> Preferences -> Settings - More -> Syntax Specific - User in the menu bar.

Add to your current settings or replace with the following:

{
    "color_scheme": "Packages/Theme - Afterglow/Afterglow-markdown.tmTheme",
    "draw_centered": true,
    "draw_indent_guides": false,
    "trim_trailing_white_space_on_save": false,
    "word_wrap": true,
    "wrap_width": 80  // Sets the # of characters per line
}

Dock Icon

You can also download a replacement icon for Sublime Text here.

Sublime Text icon

Retina Resolution UI

Afterglow Theme support retina display.

Main metrics

Overview
Name With OwnerYabataDesign/afterglow-theme
Primary LanguagePerl
Program languagePerl (Language Count: 1)
Platform
License:
所有者活动
Created At2014-04-09 19:35:32
Pushed At2023-07-11 07:34:23
Last Commit At2023-07-11 09:34:23
Release Count33
Last Release Name2.1.2 (Posted on 2015-05-17 19:43:22)
First Release Name1.0.0 (Posted on 2014-04-10 00:41:27)
用户参与
Stargazers Count2.1k
Watchers Count49
Fork Count138
Commits Count119
Has Issues Enabled
Issues Count103
Issue Open Count46
Pull Requests Count28
Pull Requests Open Count3
Pull Requests Close Count11
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private