├── .gitignore ├── FiraCode ├── HowToInstall.txt ├── fira_code.css ├── otf │ ├── FiraCode-Bold.otf │ ├── FiraCode-Light.otf │ ├── FiraCode-Medium.otf │ ├── FiraCode-Regular.otf │ └── FiraCode-Retina.otf ├── specimen.html ├── ttf │ ├── FiraCode-Bold.ttf │ ├── FiraCode-Light.ttf │ ├── FiraCode-Medium.ttf │ ├── FiraCode-Regular.ttf │ └── FiraCode-Retina.ttf ├── variable_ttf │ └── FiraCode-VF.ttf ├── woff │ ├── FiraCode-Bold.woff │ ├── FiraCode-Light.woff │ ├── FiraCode-Medium.woff │ ├── FiraCode-Regular.woff │ ├── FiraCode-Retina.woff │ └── FiraCode-VF.woff └── woff2 │ ├── FiraCode-Bold.woff2 │ ├── FiraCode-Light.woff2 │ ├── FiraCode-Medium.woff2 │ ├── FiraCode-Regular.woff2 │ ├── FiraCode-Retina.woff2 │ └── FiraCode-VF.woff2 ├── LICENSE ├── README.md ├── fonts.css ├── images ├── icon128.png ├── screenshot.png └── small.png └── manifest.json /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /FiraCode/HowToInstall.txt: -------------------------------------------------------------------------------- 1 | Return to [FiraCode](https://github.com/tonsky/FiraCode) 2 | 3 | ### [](#installing-font)Installing font 4 | 5 | Windows: 6 | 7 | * In the ttf folder, double-click each font file, click “Install font”; to install all at once, select all files, right-click, and choose “Install” 8 | 9 | _or_ 10 | 11 | * Use [chocolatey](https://chocolatey.org): `choco install firacode` 12 | 13 | Mac: 14 | 15 | In the downloaded TTF folder: 16 | 17 | 1. Select all font files 18 | 2. Right click and select `Open` (alternatively `Open With Font Book`) 19 | 3. Select "Install Font" 20 | 21 | _or_ 22 | 23 | * Use [brew](http://brew.sh) and [cask](https://caskroom.github.io): 24 | 25 | _Not officially supported, might install outdated version_ 26 | 27 |
28 | 29 | brew tap caskroom/fonts 30 | brew cask install font-fira-code 31 | 32 | 33 | 34 | Linux: 35 | 36 | * Install a package available for your distribution following [the instructions](https://github.com/tonsky/FiraCode/wiki/Linux-instructions#installing-with-a-package-manager) 37 | 38 | _or_ 39 | 40 | * In the ttf folder double-click each font file and click “Install font”; see [“Manual Installation”](https://github.com/tonsky/FiraCode/wiki/Linux-instructions#manual-installation) if double-clicking doesn't work 41 | 42 | FreeBSD: 43 | 44 | * Using pkg(8): `pkg install firacode` 45 | 46 | _or_ 47 | 48 | * Using ports: `cd /usr/ports/x11-fonts/firacode && make install clean` 49 | 50 | ### [](#how-to-enable-ligatures)How to enable ligatures 51 | 52 | You need to explicitly enable ligatures support in following editors: 53 | 54 | * [Atom](https://github.com/tonsky/FiraCode/wiki/Atom-instructions) 55 | * [Brackets](https://github.com/tonsky/FiraCode/wiki/Brackets-Instructions/) 56 | * [Cloud9](https://github.com/tonsky/FiraCode/wiki/cloud9-instructions) 57 | * [Jetbrains' products](https://github.com/tonsky/FiraCode/wiki/Intellij-products-instructions) (IntelliJ, etc) 58 | * [Emacs](https://github.com/tonsky/FiraCode/wiki/Emacs-instructions) 59 | * [MacVim](https://github.com/tonsky/FiraCode/wiki/MacVim-instructions) 60 | * [VS Code](https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions) 61 | * [BBEdit](https://github.com/tonsky/FiraCode/wiki/BBEdit-instructions) 62 | * [LightTable](https://github.com/tonsky/FiraCode/wiki/LightTable-instructions) 63 | * [Sublimetext](https://github.com/tonsky/FiraCode/wiki/Sublimetext-Instructions) 64 | 65 | For other editors it must be enough to simply select Fira Code as your font of choice. [Full list of supported editors](https://github.com/tonsky/FiraCode#editor-support) 66 | 67 | ### [](#troubleshooting)Troubleshooting 68 | 69 | #### [](#1-make-sure-the-font-your-editor-displays-is-actually-fira-code)1\. Make sure the font your editor displays is actually Fira Code 70 | 71 | Easiest way is to compare the shape of `@` `&` and `r` with the reference image: 72 | 73 | ![](https://user-images.githubusercontent.com/285292/26971424-c609be76-4d15-11e7-8684-23e7b1c08929.png) 74 | 75 | Issues: [#393](https://github.com/tonsky/FiraCode/issues/393) [#373](https://github.com/tonsky/FiraCode/issues/373) [#227](https://github.com/tonsky/FiraCode/issues/227) 76 | 77 | #### [](#2-make-sure-youve-enabled-ligatures-in-your-editor)2\. Make sure you’ve enabled ligatures in your editor 78 | 79 | Consult this wiki (see above ↑) for instruction on how to do that. 80 | 81 | Issues: [#291](https://github.com/tonsky/FiraCode/issues/291) 82 | 83 | #### [](#3-make-sure-youre-on-the-latest-version-of-fira-code)3\. Make sure you’re on the latest version of Fira Code 84 | 85 | Consult [CHANGELOG](https://github.com/tonsky/FiraCode/blob/master/CHANGELOG.md) to see when it was last updated. 86 | 87 | #### [](#4-check-the-list-of-known-issues-below-)4\. Check the list of known issues below ↓ 88 | 89 | ### [](#known-issues)Known issues 90 | 91 | #### [](#hinting-issues)Hinting issues 92 | 93 | * Uneven spacing in `===` and `!==` at certain font sizes, esp. on Windows [#405](https://github.com/tonsky/FiraCode/issues/405) [#243](https://github.com/tonsky/FiraCode/issues/243) [#119](https://github.com/tonsky/FiraCode/issues/119) [#114](https://github.com/tonsky/FiraCode/issues/114) 94 | 95 | * Different height of `[]` at certain font sizes [#332](https://github.com/tonsky/FiraCode/issues/332) [#251](https://github.com/tonsky/FiraCode/issues/251) 96 | 97 | #### [](#powerline-characters-are-of-slightly-wrong-size)Powerline characters are of slightly wrong size 98 | 99 | Unfortunately this can’t be fixed for all terminals because they have different ways of calculate font metrics. See [this comment](https://github.com/tonsky/FiraCode/issues/44#issuecomment-187305276) 100 | 101 | Issues: [#426](https://github.com/tonsky/FiraCode/issues/426) [#131](https://github.com/tonsky/FiraCode/issues/131) [#44](https://github.com/tonsky/FiraCode/issues/44) 102 | 103 | #### [](#some-ligatures-work-while-some-dont)Some ligatures work while some don’t 104 | 105 | This is an issue with your editor and how it handles tokenization/syntax highlighting. Nothing can be done in a font to work around that. Report your problem to the corresponding editor’s issue tracker. 106 | 107 | * All ligatures with dashes in Visual Studio (not Code) [#422](https://github.com/tonsky/FiraCode/issues/422) [#395](https://github.com/tonsky/FiraCode/issues/395) [#360](https://github.com/tonsky/FiraCode/issues/360) [#273](https://github.com/tonsky/FiraCode/issues/273) [#259](https://github.com/tonsky/FiraCode/issues/259) [#233](https://github.com/tonsky/FiraCode/issues/233) [#220](https://github.com/tonsky/FiraCode/issues/220) [#196](https://github.com/tonsky/FiraCode/issues/196) [#181](https://github.com/tonsky/FiraCode/issues/181) [#157](https://github.com/tonsky/FiraCode/issues/157) [#99](https://github.com/tonsky/FiraCode/issues/99) [#43](https://github.com/tonsky/FiraCode/issues/43) [#32](https://github.com/tonsky/FiraCode/issues/32) 108 | 109 | * Ligatures in column 100 in VS Code [#403](https://github.com/tonsky/FiraCode/issues/403) [#397](https://github.com/tonsky/FiraCode/issues/397) [#372](https://github.com/tonsky/FiraCode/issues/372) 110 | 111 | * Atom/VS Code are known to break certain ligatures in certain syntaxes [#361](https://github.com/tonsky/FiraCode/issues/361) [#353](https://github.com/tonsky/FiraCode/issues/353) [#348](https://github.com/tonsky/FiraCode/issues/348) [#328](https://github.com/tonsky/FiraCode/issues/328) [#326](https://github.com/tonsky/FiraCode/issues/326) [#235](https://github.com/tonsky/FiraCode/issues/235) 112 | 113 | #### [](#corrupted-font-in-intellij-on-windows)Corrupted font in IntelliJ on Windows 114 | 115 | Go to `C:\Windows\Fonts` with `cmd.exe`, find and delete everything having Fira in the file name. It’s important that you use terminal commands, not Explorer. 116 | 117 | Issues: [#589](https://github.com/tonsky/FiraCode/issues/589) [#581](https://github.com/tonsky/FiraCode/issues/581) [#398](https://github.com/tonsky/FiraCode/issues/398) [IDEA-159901](https://youtrack.jetbrains.com/issue/IDEA-159901) 118 | 119 | #### [](#anything-related-to-italics)Anything related to italics 120 | 121 | Fira Code does not have italics at all. If you see italicized glyphs it means your editor is “faking” them. 122 | 123 | Issues: [#375](https://github.com/tonsky/FiraCode/issues/375) [#320](https://github.com/tonsky/FiraCode/issues/320) [#281](https://github.com/tonsky/FiraCode/issues/281) -------------------------------------------------------------------------------- /FiraCode/fira_code.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Fira Code'; 3 | src: url('woff2/FiraCode-Light.woff2') format('woff2'), 4 | url("woff/FiraCode-Light.woff") format("woff"); 5 | font-weight: 300; 6 | font-style: normal; 7 | } 8 | 9 | @font-face { 10 | font-family: 'Fira Code'; 11 | src: url('woff2/FiraCode-Regular.woff2') format('woff2'), 12 | url("woff/FiraCode-Regular.woff") format("woff"); 13 | font-weight: 400; 14 | font-style: normal; 15 | } 16 | 17 | @font-face { 18 | font-family: 'Fira Code'; 19 | src: url('woff2/FiraCode-Medium.woff2') format('woff2'), 20 | url("woff/FiraCode-Medium.woff") format("woff"); 21 | font-weight: 500; 22 | font-style: normal; 23 | } 24 | 25 | @font-face { 26 | font-family: 'Fira Code'; 27 | src: url('woff2/FiraCode-Bold.woff2') format('woff2'), 28 | url("woff/FiraCode-Bold.woff") format("woff"); 29 | font-weight: 700; 30 | font-style: normal; 31 | } 32 | 33 | @font-face { 34 | font-family: 'Fira Code VF'; 35 | src: url('woff2/FiraCode-VF.woff2') format('woff2-variations'), 36 | url('woff/FiraCode-VF.woff') format('woff-variations'); 37 | /* font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes */ 38 | font-weight: 300 700; 39 | font-style: normal; 40 | } -------------------------------------------------------------------------------- /FiraCode/otf/FiraCode-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/otf/FiraCode-Bold.otf -------------------------------------------------------------------------------- /FiraCode/otf/FiraCode-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/otf/FiraCode-Light.otf -------------------------------------------------------------------------------- /FiraCode/otf/FiraCode-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/otf/FiraCode-Medium.otf -------------------------------------------------------------------------------- /FiraCode/otf/FiraCode-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/otf/FiraCode-Regular.otf -------------------------------------------------------------------------------- /FiraCode/otf/FiraCode-Retina.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/otf/FiraCode-Retina.otf -------------------------------------------------------------------------------- /FiraCode/specimen.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Fira Code Specimen 7 | 8 | 9 | 27 | 34 | 35 | 36 |
# Fira Code Light 37 | 38 | take = (n, [x, ...xs]:list) --> 39 | | n <= 0 => [] 40 | | empty list => [] 41 | | otherwise => [x] ++ take n-1, xs 42 | 43 | last3 = reverse >> take 3 >> reverse
44 | 45 | 46 |
# Fira Code Regular 47 | 48 | take = (n, [x, ...xs]:list) --> 49 | | n <= 0 => [] 50 | | empty list => [] 51 | | otherwise => [x] ++ take n-1, xs 52 | 53 | last3 = reverse >> take 3 >> reverse
54 | 55 | 56 |
# Fira Code Medium 57 | 58 | take = (n, [x, ...xs]:list) --> 59 | | n <= 0 => [] 60 | | empty list => [] 61 | | otherwise => [x] ++ take n-1, xs 62 | 63 | last3 = reverse >> take 3 >> reverse
64 | 65 | 66 |
# Fira Code Bold 67 | 68 | take = (n, [x, ...xs]:list) --> 69 | | n <= 0 => [] 70 | | empty list => [] 71 | | otherwise => [x] ++ take n-1, xs 72 | 73 | last3 = reverse >> take 3 >> reverse
74 | 75 |
# Fira Code Variable 76 | 77 | 400 78 | 79 | take = (n, [x, ...xs]:list) --> 80 | | n <= 0 => [] 81 | | empty list => [] 82 | | otherwise => [x] ++ take n-1, xs 83 | 84 | last3 = reverse >> take 3 >> reverse
85 | -------------------------------------------------------------------------------- /FiraCode/ttf/FiraCode-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/ttf/FiraCode-Bold.ttf -------------------------------------------------------------------------------- /FiraCode/ttf/FiraCode-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/ttf/FiraCode-Light.ttf -------------------------------------------------------------------------------- /FiraCode/ttf/FiraCode-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/ttf/FiraCode-Medium.ttf -------------------------------------------------------------------------------- /FiraCode/ttf/FiraCode-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/ttf/FiraCode-Regular.ttf -------------------------------------------------------------------------------- /FiraCode/ttf/FiraCode-Retina.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/ttf/FiraCode-Retina.ttf -------------------------------------------------------------------------------- /FiraCode/variable_ttf/FiraCode-VF.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/variable_ttf/FiraCode-VF.ttf -------------------------------------------------------------------------------- /FiraCode/woff/FiraCode-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff/FiraCode-Bold.woff -------------------------------------------------------------------------------- /FiraCode/woff/FiraCode-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff/FiraCode-Light.woff -------------------------------------------------------------------------------- /FiraCode/woff/FiraCode-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff/FiraCode-Medium.woff -------------------------------------------------------------------------------- /FiraCode/woff/FiraCode-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff/FiraCode-Regular.woff -------------------------------------------------------------------------------- /FiraCode/woff/FiraCode-Retina.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff/FiraCode-Retina.woff -------------------------------------------------------------------------------- /FiraCode/woff/FiraCode-VF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff/FiraCode-VF.woff -------------------------------------------------------------------------------- /FiraCode/woff2/FiraCode-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff2/FiraCode-Bold.woff2 -------------------------------------------------------------------------------- /FiraCode/woff2/FiraCode-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff2/FiraCode-Light.woff2 -------------------------------------------------------------------------------- /FiraCode/woff2/FiraCode-Medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff2/FiraCode-Medium.woff2 -------------------------------------------------------------------------------- /FiraCode/woff2/FiraCode-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff2/FiraCode-Regular.woff2 -------------------------------------------------------------------------------- /FiraCode/woff2/FiraCode-Retina.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff2/FiraCode-Retina.woff2 -------------------------------------------------------------------------------- /FiraCode/woff2/FiraCode-VF.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/FiraCode/woff2/FiraCode-VF.woff2 -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2017 Jan Břečka 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # github-firacode 2 | 3 | A chrome extension that brings [FiraCode](https://github.com/tonsky/FiraCode) font to github's code blocks. 4 | -------------------------------------------------------------------------------- /fonts.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Fira Code'; 3 | src: url('chrome-extension://__MSG_@@nfgkhbjmmcggnlbekdjajjdgendcpffc/FiraCode/woff2/FiraCode-Light.woff2') format('woff2'), 4 | url("chrome-extension://__MSG_@@nfgkhbjmmcggnlbekdjajjdgendcpffc/FiraCode/woff/FiraCode-Light.woff") format("woff"); 5 | font-weight: 300; 6 | font-style: normal; 7 | } 8 | 9 | @font-face { 10 | font-family: 'Fira Code'; 11 | src: url('chrome-extension://__MSG_@@nfgkhbjmmcggnlbekdjajjdgendcpffc/FiraCode/woff2/FiraCode-Regular.woff2') format('woff2'), 12 | url("chrome-extension://__MSG_@@nfgkhbjmmcggnlbekdjajjdgendcpffc/FiraCode/woff/FiraCode-Regular.woff") format("woff"); 13 | font-weight: 400; 14 | font-style: normal; 15 | } 16 | 17 | @font-face { 18 | font-family: 'Fira Code'; 19 | src: url('chrome-extension://__MSG_@@nfgkhbjmmcggnlbekdjajjdgendcpffc/FiraCode/woff2/FiraCode-Medium.woff2') format('woff2'), 20 | url("chrome-extension://__MSG_@@nfgkhbjmmcggnlbekdjajjdgendcpffc/FiraCode/woff/FiraCode-Medium.woff") format("woff"); 21 | font-weight: 500; 22 | font-style: normal; 23 | } 24 | 25 | @font-face { 26 | font-family: 'Fira Code'; 27 | src: url('chrome-extension://__MSG_@@nfgkhbjmmcggnlbekdjajjdgendcpffc/FiraCode/woff2/FiraCode-Bold.woff2') format('woff2'), 28 | url("chrome-extension://__MSG_@@nfgkhbjmmcggnlbekdjajjdgendcpffc/FiraCode/woff/FiraCode-Bold.woff") format("woff"); 29 | font-weight: 700; 30 | font-style: normal; 31 | } 32 | 33 | @font-face { 34 | font-family: 'Fira Code VF'; 35 | src: url('chrome-extension://__MSG_@@nfgkhbjmmcggnlbekdjajjdgendcpffc/FiraCode/woff2/FiraCode-VF.woff2') format('woff2-variations'), 36 | url('chrome-extension://__MSG_@@nfgkhbjmmcggnlbekdjajjdgendcpffc/FiraCode/woff/FiraCode-VF.woff') format('woff-variations'); 37 | /* font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes */ 38 | font-weight: 300 700; 39 | font-style: normal; 40 | } 41 | 42 | /* github */ 43 | .highlight pre, .highlight .blob-code-inner { 44 | font-family: 'Fira Code' !important; 45 | } 46 | 47 | /* bitbucket */ 48 | pre.source, .highlight pre { 49 | font-family: 'Fira Code' !important; 50 | } 51 | 52 | /* microsoft tfs */ 53 | .vc-diff-viewer .text-diff-container, div.view-lines { 54 | font-family: 'Fira Code' !important; 55 | font-feature-settings: "liga" 1 !important; 56 | } 57 | -------------------------------------------------------------------------------- /images/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/images/icon128.png -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/images/screenshot.png -------------------------------------------------------------------------------- /images/small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honzabrecka/github-firacode/2407b2222067a902638a18d200725b44e1cfd022/images/small.png -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "manifest_version": 2, 3 | "name": "github-firacode", 4 | "version": "2.0.1", 5 | "content_scripts": [ 6 | { 7 | "matches": [ 8 | "https://github.com/*", 9 | "https://gist.github.com/*", 10 | "https://bitbucket.org/*" 11 | ], 12 | "css": ["fonts.css"], 13 | "run_at": "document_end" 14 | } 15 | ], 16 | "web_accessible_resources": [ 17 | "FiraCode/*.eot", 18 | "FiraCode/*.eot", 19 | "FiraCode/*.woff2", 20 | "FiraCode/*.woff", 21 | "FiraCode/*.ttf" 22 | ], 23 | "permissions": ["activeTab"], 24 | "description": "A chrome extension that brings FiraCode font to github's code blocks.", 25 | "icons": { 26 | "128": "images/icon128.png" 27 | } 28 | } 29 | --------------------------------------------------------------------------------