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
  • 51 minutes ago
  • 5 years ago

Installs

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

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
}