ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

CSSFont​Family

by lcdsantos ST2/ST3

CSSFontFamily is a Sublime Text plugin with a collection of font stacks autocomplete.

Details

  • 2014.05.05.15.05.25
  • github.​com
  • github.​com
  • 5 years ago
  • 1 hour ago
  • 6 years ago

Installs

  • Total 19K
  • Win 14K
  • OS X 3K
  • Linux 2K
Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9
Windows 7 2 3 5 10 4 3 7 4 3 5 9 7 8 6 10 4 2 3 4 11 5 7 4 7 3 4 5 7 6 5 2 8 9 4 8 3 3 5 6 3 6 8 7 9 6
OS X 0 1 0 0 1 0 0 0 0 2 0 0 1 0 2 2 0 1 1 0 1 0 1 0 0 0 2 0 1 1 2 0 1 1 0 1 0 0 0 0 2 0 0 0 1 0
Linux 0 1 2 1 0 1 0 0 0 2 1 0 1 2 1 1 0 0 2 0 0 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0 0 1 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

CSSFontFamily

CSSFontFamily is a Sublime Text 2/3 plugin with a collection of font stacks autocomplete.

Also, autocomplete @font-faces declared in your current CSS.

Installation

CSSFontFamily is designed to work with Sublime Text.

Using Sublime Package Control

If you are using Sublime Package Control, you can easily install CSSFontFamily via the Package Control: Install Package menu item. The CSSFontFamily package is listed as CSSFontFamily in the packages list.

Using Git

Clone this repo directly to your Packages directory in the Sublime Text folder.

You can locate your Sublime Text Packages directory by using the menu item Preferences > Browse Packages....

While inside the Packages directory, clone the plugin repository using the command below:

Error: language “git” is not supported
git clone https://github.com/lcdsantos/CSSFontFamily/ "CSSFontFamily"

Download Manually

  1. Download the files using the GitHub .zip download option
  2. Unzip the files and rename the folder to CSSFontFamily
  3. Copy the folder to your Sublime Text Packages directory

Usage

The plugin is triggered inside your font and font-family declarations.

Customization

The built-in font stacks aren't enough for you? No problem! Go to Preferences > Package Settings > CSSFontFamily > Settings - User and add how many you want:

{
    "fonts_stacks": [
        "\"Comic Sans MS\", cursive",
        "\"Your font stack\", sans-serif"
    ]
}

It's recommended that you escape your font names with quotes if contains spaces or any punctuations other than hyphens.

By default, commented @font-face declarations in your CSS are ignored, you can change this by adding this to your User Settings file:

{
    "ignore_font_faces_in_comments": false
}