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
  • 2 hours ago
  • 5 years ago

Installs

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