Skip to content

Commit

Permalink
Fix Consolas font not always being used
Browse files Browse the repository at this point in the history
  • Loading branch information
rgwood committed Apr 10, 2024
1 parent 5ede35a commit 07f1271
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion embed/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,15 @@
<title>Escape Artist</title>
<link rel="icon" href="/favicon.ico">
<link rel="preload" href="/ConsolasNerdFont.woff2" as="font" type="font/woff2" crossorigin>
<style>
@font-face {
font-family: 'Consolas NF';
src: url('/ConsolasNerdFont.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
</style>
</head>

<body class="bg-slate-900 font-['Consolas_NF'] text-gray-50 p-2 w-screen break-all">
<script src="/tailwindplay.js"></script>
<script type="module" src="/script.js"></script>
Expand Down

0 comments on commit 07f1271

Please sign in to comment.