mirror of
https://github.com/tonsky/FiraCode.git
synced 2024-10-05 17:17:34 +03:00
This commit is contained in:
parent
7037ced318
commit
94f1d8fc76
@ -127,6 +127,7 @@ Other monospaced fonts with ligatures:
|
||||
- Added whiteFrowningFace (U+2639) (#190)
|
||||
- Simplified visual style on markdown headers `##` `###` `####` (#107)
|
||||
- Added `</>` (#147)
|
||||
- Provided ttf and webfonts versions (eot, woff, woff2) (#18, #24, #38, #101, #106)
|
||||
|
||||
#### 1.102
|
||||
|
||||
|
BIN
distr/eot/FiraCode-Bold.eot
Normal file
BIN
distr/eot/FiraCode-Bold.eot
Normal file
Binary file not shown.
BIN
distr/eot/FiraCode-Light.eot
Normal file
BIN
distr/eot/FiraCode-Light.eot
Normal file
Binary file not shown.
BIN
distr/eot/FiraCode-Medium.eot
Normal file
BIN
distr/eot/FiraCode-Medium.eot
Normal file
Binary file not shown.
BIN
distr/eot/FiraCode-Regular.eot
Normal file
BIN
distr/eot/FiraCode-Regular.eot
Normal file
Binary file not shown.
BIN
distr/eot/FiraCode-Retina.eot
Normal file
BIN
distr/eot/FiraCode-Retina.eot
Normal file
Binary file not shown.
43
distr/fira_code.css
Normal file
43
distr/fira_code.css
Normal file
@ -0,0 +1,43 @@
|
||||
@font-face{
|
||||
font-family: 'Fira Code';
|
||||
src: url('eot/FiraCode-Light.eot');
|
||||
src: url('eot/FiraCode-Light.eot') format('embedded-opentype'),
|
||||
url('woff2/FiraCode-Light.woff2') format('woff2'),
|
||||
url('woff/FiraCode-Light.woff') format('woff'),
|
||||
url('ttf/FiraCode-Light.ttf') format('truetype');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face{
|
||||
font-family: 'Fira Code';
|
||||
src: url('eot/FiraCode-Regular.eot');
|
||||
src: url('eot/FiraCode-Regular.eot') format('embedded-opentype'),
|
||||
url('woff2/FiraCode-Regular.woff2') format('woff2'),
|
||||
url('woff/FiraCode-Regular.woff') format('woff'),
|
||||
url('ttf/FiraCode-Regular.ttf') format('truetype');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face{
|
||||
font-family: 'Fira Code';
|
||||
src: url('eot/FiraCode-Medium.eot');
|
||||
src: url('eot/FiraCode-Medium.eot') format('embedded-opentype'),
|
||||
url('woff2/FiraCode-Medium.woff2') format('woff2'),
|
||||
url('woff/FiraCode-Medium.woff') format('woff'),
|
||||
url('ttf/FiraCode-Medium.ttf') format('truetype');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face{
|
||||
font-family: 'Fira Code';
|
||||
src: url('eot/FiraCode-Bold.eot');
|
||||
src: url('eot/FiraCode-Bold.eot') format('embedded-opentype'),
|
||||
url('woff2/FiraCode-Bold.woff2') format('woff2'),
|
||||
url('woff/FiraCode-Bold.woff') format('woff'),
|
||||
url('ttf/FiraCode-Bold.ttf') format('truetype');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
65
distr/specimen.html
Normal file
65
distr/specimen.html
Normal file
@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<title>Fira Code Specimen</title>
|
||||
|
||||
<link rel="stylesheet" href="fira_code.css">
|
||||
<style>
|
||||
body { font: 14px/1.5em "Fira Code"; }
|
||||
.code {
|
||||
font-feature-settings: "calt" 1; /* Enable ligatures for IE 10+, Edge */
|
||||
text-rendering: optimizeLegibility; /* Force ligatures for Webkit, Blink, Gecko */
|
||||
width: 30em;
|
||||
margin: 5em auto;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
}
|
||||
.light { font-weight: 300; }
|
||||
.regular { font-weight: 400; }
|
||||
.medium { font-weight: 500; }
|
||||
.bold { font-weight: 700; }
|
||||
i { font-style: normal; color: #c33; }
|
||||
b { font-weight: inherit; color: #c33; }
|
||||
</style>
|
||||
<body>
|
||||
|
||||
<div class="code light"><b># Fira Code Light</b>
|
||||
|
||||
take = (n, [x, <i>...</i>xs]:list) <i>--></i>
|
||||
| n <i><=</i> 0 <i>=></i> <i>[]</i>
|
||||
| empty list <i>=></i> <i>[]</i>
|
||||
| otherwise <i>=></i> [x] <i>++</i> take n-1, xs
|
||||
|
||||
last3 = reverse <i>>></i> take 3 <i>>></i> reverse</div>
|
||||
|
||||
|
||||
<div class="code regular"><b># Fira Code Regular</b>
|
||||
|
||||
take = (n, [x, <i>...</i>xs]:list) <i>--></i>
|
||||
| n <i><=</i> 0 <i>=></i> <i>[]</i>
|
||||
| empty list <i>=></i> <i>[]</i>
|
||||
| otherwise <i>=></i> [x] <i>++</i> take n-1, xs
|
||||
|
||||
last3 = reverse <i>>></i> take 3 <i>>></i> reverse</div>
|
||||
|
||||
|
||||
<div class="code medium"><b># Fira Code Medium</b>
|
||||
|
||||
take = (n, [x, <i>...</i>xs]:list) <i>--></i>
|
||||
| n <i><=</i> 0 <i>=></i> <i>[]</i>
|
||||
| empty list <i>=></i> <i>[]</i>
|
||||
| otherwise <i>=></i> [x] <i>++</i> take n-1, xs
|
||||
|
||||
last3 = reverse <i>>></i> take 3 <i>>></i> reverse</div>
|
||||
|
||||
|
||||
<div class="code bold"><b># Fira Code Bold</b>
|
||||
|
||||
take = (n, [x, <i>...</i>xs]:list) <i>--></i>
|
||||
| n <i><=</i> 0 <i>=></i> <i>[]</i>
|
||||
| empty list <i>=></i> <i>[]</i>
|
||||
| otherwise <i>=></i> [x] <i>++</i> take n-1, xs
|
||||
|
||||
last3 = reverse <i>>></i> take 3 <i>>></i> reverse</div>
|
BIN
distr/ttf/FiraCode-Bold.ttf
Normal file
BIN
distr/ttf/FiraCode-Bold.ttf
Normal file
Binary file not shown.
BIN
distr/ttf/FiraCode-Light.ttf
Normal file
BIN
distr/ttf/FiraCode-Light.ttf
Normal file
Binary file not shown.
BIN
distr/ttf/FiraCode-Medium.ttf
Normal file
BIN
distr/ttf/FiraCode-Medium.ttf
Normal file
Binary file not shown.
BIN
distr/ttf/FiraCode-Regular.ttf
Normal file
BIN
distr/ttf/FiraCode-Regular.ttf
Normal file
Binary file not shown.
BIN
distr/ttf/FiraCode-Retina.ttf
Normal file
BIN
distr/ttf/FiraCode-Retina.ttf
Normal file
Binary file not shown.
BIN
distr/woff/FiraCode-Bold.woff
Normal file
BIN
distr/woff/FiraCode-Bold.woff
Normal file
Binary file not shown.
BIN
distr/woff/FiraCode-Light.woff
Normal file
BIN
distr/woff/FiraCode-Light.woff
Normal file
Binary file not shown.
BIN
distr/woff/FiraCode-Medium.woff
Normal file
BIN
distr/woff/FiraCode-Medium.woff
Normal file
Binary file not shown.
BIN
distr/woff/FiraCode-Regular.woff
Normal file
BIN
distr/woff/FiraCode-Regular.woff
Normal file
Binary file not shown.
BIN
distr/woff/FiraCode-Retina.woff
Normal file
BIN
distr/woff/FiraCode-Retina.woff
Normal file
Binary file not shown.
BIN
distr/woff2/FiraCode-Bold.woff2
Normal file
BIN
distr/woff2/FiraCode-Bold.woff2
Normal file
Binary file not shown.
BIN
distr/woff2/FiraCode-Light.woff2
Normal file
BIN
distr/woff2/FiraCode-Light.woff2
Normal file
Binary file not shown.
BIN
distr/woff2/FiraCode-Medium.woff2
Normal file
BIN
distr/woff2/FiraCode-Medium.woff2
Normal file
Binary file not shown.
BIN
distr/woff2/FiraCode-Regular.woff2
Normal file
BIN
distr/woff2/FiraCode-Regular.woff2
Normal file
Binary file not shown.
BIN
distr/woff2/FiraCode-Retina.woff2
Normal file
BIN
distr/woff2/FiraCode-Retina.woff2
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user