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
  • 4 years ago
  • 1 day ago
  • 5 years ago

Installs

  • Total 16K
  • Win 12K
  • OS X 3K
  • Linux 2K
Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10
Windows 0 8 4 7 7 7 7 10 8 10 10 8 5 8 9 7 8 6 13 11 2 8 4 4 6 11 5 4 8 6 5 8 6 7 5 9 15 10 9 8 4 12 1 11 3 5
OS X 0 0 0 3 0 0 1 0 0 1 0 1 1 0 1 0 1 0 0 1 0 0 1 3 1 1 3 1 0 2 4 13 2 0 1 2 0 0 0 0 0 0 0 1 1 0
Linux 0 2 0 1 2 1 1 0 1 0 1 0 2 0 0 2 5 0 0 0 1 2 2 2 2 1 3 0 3 1 1 1 2 1 0 0 1 3 2 1 0 0 0 0 1 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
}