[关闭]
@lumincinta 2017-01-31T16:05:57.000000Z 字数 2449 阅读 373

SublimeTheme : Predawn (for Markdown)

SublimeTheme Markdown

predawn


Predawn

A dark interface and syntax theme for Sublime Text and Atom.

img

View a larger screenshot

All Options and Defaults

See images below for examples

  1. // Panel Options
  2. "predawn_findreplace_small": false,
  3. "predawn_quick_panel_small": false,
  4. // Sidebar Options
  5. "predawn_sidebar_arrows": false,
  6. "predawn_sidebar_large": false,
  7. "predawn_sidebar_medium": false,
  8. "predawn_sidebar_narrow": false,
  9. "predawn_sidebar_small": false,
  10. "predawn_sidebar_xlarge": false,
  11. "predawn_sidebar_xsmall": false,
  12. // Tabs Options
  13. "predawn_tabs_active_underline": false,
  14. "predawn_tabs_large": false,
  15. "predawn_tabs_medium": false,
  16. "predawn_tabs_small": false

Atom Installation

Search for predawn in the Packages section of your Atom settings tab. Install both:

  1. predawn-ui
  2. predawn-syntax

Or from the command-line run:

  1. apm install predawn-ui

and

  1. apm install predawn-syntax

Also, you can view on the repo on Atom.io at http://atom.io/packages/predawn-ui


Sublime Text Installation

For easy installation, install with Package Control.

  1. Cmd + Shift + P (OS X) Ctrl + Shift + P (Win/Linux)
  2. Type Package Control: Install Package
  3. Search predawn

Other Methods

You can clone the repo to your Packages folder. Just make sure the repo folder is named Predawn.

Of course, you can always install manually, too.

Activating the Theme

*Note: File icons are only supported for **DEV BUILDS 3062+**.*

Open your user settings file preferences.sublime-settings as shown below:

img

To activate the theme, add or replace your current theme settings with the code below.

  1. {
  2. "theme": "predawn.sublime-theme",
  3. "color_scheme": "Packages/Predawn/predawn.tmTheme"
  4. }

FOR ALL DEV BUILDS 3062+ use,

  1. {
  2. "theme": "predawn-DEV.sublime-theme",
  3. "color_scheme": "Packages/Predawn/predawn.tmTheme"
  4. }

!! IMPORTANT !!

Make sure to restart Sublime after installing and activating Predawn

Options

Tabs Height

img

Active Tab Underline

img

Find & Replace Small Size

img

After enabling the smaller size, you'll need to drag the height of the Find/Replace panel up and down to adjust it to the new dimemension.

img

img

Markdown

img

To enable Predawn for Markdown

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

img

Add to your current settings or replace with the following:

  1. {
  2. "color_scheme": "Packages/Predawn/predawn-markdown.tmTheme",
  3. "draw_centered": true, // Centers the column in the window
  4. "draw_indent_guides": false,
  5. "font_size": 15,
  6. "trim_trailing_white_space_on_save": false,
  7. "word_wrap": true,
  8. "wrap_width": 80 // Sets the # of characters per line
  9. }

Interface and File Icons

The source files for the interface icons are located in the jamiewilson/predawn-icons.

img

Dock Icons

There are also some dock icons for you to choose from:

img

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注