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

CSSFont​Family

by lcdsantos ALL

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

Details

  • 2014.05.05.15.05.25
  • github.​com
  • github.​com
  • 10 years ago
  • 2 hours ago
  • 11 years ago

Installs

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