Skip to content

Commit

Permalink
adding yet another font
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Oct 25, 2023
1 parent 90c316e commit 4f27d1e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions fonts/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,21 @@
font-style: normal;
font-display: swap;
}


@font-face {
font-family: 'Jet Brains';
src: url('./woff2/JetBrainsMono-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}


@font-face {
font-family: 'Jet Brains';
src: url('./woff2/JetBrainsMono-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
Binary file added fonts/woff2/JetBrainsMono-Bold.woff2
Binary file not shown.
Binary file added fonts/woff2/JetBrainsMono-Regular.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ <h2 class="font-semibold lg:text-xl text-gray-400">More</h2>
<select id="font-family" class="bg-gray-50 ml-4 border border-gray-300 mb-2
text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white">
<option value="IBM Plex Mono">IBM Plex Mono</option>
<option value="Jet Brains">Jet Brains</option>
<option value="Courier">Courier</option>
<option value="Comic Mono">Comic Mono</option>
<option value="jgs5">JGS 5</option>
Expand Down

0 comments on commit 4f27d1e

Please sign in to comment.