CSSFontFamily
CSSFontFamily is a Sublime Text plugin with a collection of font stacks autocomplete.
Details
Installs
- Total 26K
- Win 20K
- Mac 4K
- Linux 3K
| Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 |
| Mac | 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 | 1 | 0 | 0 | 0 | 0 | 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 | 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 |
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:
git clone https://github.com/lcdsantos/CSSFontFamily/ "CSSFontFamily"
Download Manually
- Download the files using the GitHub .zip download option
- Unzip the files and rename the folder to
CSSFontFamily - Copy the folder to your Sublime Text
Packagesdirectory
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
}