Skip to content

Commit

Permalink
feat(type): add Plex Sans Condensed
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Mar 23, 2020
1 parent ed96fef commit 463410b
Show file tree
Hide file tree
Showing 4 changed files with 343 additions and 285 deletions.
29 changes: 29 additions & 0 deletions packages/type/examples/preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,35 @@ function FontFaces() {
</tr>
</tbody>
</table>
<table>
<caption>IBM Plex Sans Condensed</caption>
<thead>
<tr>
<td>Weight</td>
<td>Sample</td>
</tr>
</thead>
<tbody>
<tr>
<td>Light</td>
<td className="bx--type-sans-condensed bx--type-light">Light</td>
</tr>
<tr>
<td>Regular</td>
<td className="bx--type-sans-condensed">Regular</td>
</tr>
<tr>
<td>Regular Italic</td>
<td className="bx--type-sans-condensed bx--type-italic">Regular</td>
</tr>
<tr>
<td>Semibold</td>
<td className="bx--type-sans-condensed bx--type-semibold">
Semibold
</td>
</tr>
</tbody>
</table>
<table>
<caption>IBM Plex Serif</caption>
<thead>
Expand Down
3 changes: 3 additions & 0 deletions packages/type/examples/preview/styles.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import '../../scss/type';
@import '../../scss/font-face/sans';
@import '../../scss/font-face/sans-condensed';
@import '../../scss/font-face/serif';
@import '../../scss/font-face/mono';
@import '../../scss/classes';
Expand All @@ -8,13 +9,15 @@
@include carbon--type-classes();

@include carbon--font-face-sans();
@include carbon--font-face-sans-condensed();
@include carbon--font-face-serif();
@include carbon--font-face-mono();

//------------------------------------------------------------------------------
// Font-face
//------------------------------------------------------------------------------
.bx--type-sans,
.bx--type-sans-condensed,
.bx--type-serif,
.bx--type-mono {
@include carbon--font-size(8);
Expand Down
Loading

0 comments on commit 463410b

Please sign in to comment.