Skip to content

Commit

Permalink
Adds true bold variant for SauceCode Pro for Powerline.
Browse files Browse the repository at this point in the history
Fixes issue #4.
  • Loading branch information
wernight committed Oct 31, 2016
1 parent 3c8f9c6 commit b7b8ae9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
22 changes: 18 additions & 4 deletions PowerlineFonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,31 @@

@font-face {
font-family: "Source Code Pro";
font-style: normal;
font-weight: 400;
src: local("Sauce Code Powerline Regular"),
url(fonts/SourceCodePro.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Source Code Pro for Powerline";
font-family: "Source Code Pro";
src: local("Sauce Code Powerline Regular"),
url(fonts/SourceCodePro-Bold.woff2) format("woff2");
font-weight: bold;
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: "Source Code Pro for Powerline";
src: local("Sauce Code Powerline Regular"),
url(fonts/SourceCodePro.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Source Code Pro for Powerline";
src: local("Sauce Code Powerline Regular"),
url(fonts/SourceCodePro-Bold.woff2) format("woff2");
font-weight: bold;
font-style: normal;
}

@font-face {
Expand Down
Binary file added fonts/SourceCodePro-Bold.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</style>
</head>
<body>
<h1>tikiking1/powerline-web-fonts</h1>
<h1>wernight/powerline-web-fonts</h1>
<h2>Examples:</h2>
<section class="AnonymousPro">
<h3>Anonymous Pro</h3>
Expand Down

0 comments on commit b7b8ae9

Please sign in to comment.