Skip to content

Commit

Permalink
feat: add FiraCode font
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmauro committed Nov 10, 2024
1 parent 98abdcc commit 8dcdc01
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap"
rel="stylesheet"
/>

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="./css/styles.css" rel="stylesheet" />
Expand Down
6 changes: 5 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
module.exports = {
content: ["./src/**/*.{html,js}"],
theme: {
extend: {},
extend: {
fontFamily: {
'fira': ['"Fira Code"', 'monospace'],
},
},
},
plugins: [
require('@tailwindcss/forms'),
Expand Down

0 comments on commit 8dcdc01

Please sign in to comment.