Skip to content

Commit 3bb46a2

Browse files
committed
add fonts
1 parent b05f364 commit 3bb46a2

File tree

5 files changed

+44
-2
lines changed

5 files changed

+44
-2
lines changed

package-lock.json

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"dependencies": {
3+
"@fontsource/open-sans": "^5.2.7",
4+
"@fontsource/ramaraja": "^5.2.8"
5+
}
6+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<footer class="py-12 text-center flex flex-col gap-3 bg-green-300">
22
<a class="underline" href=`${import.meta.env.BASE_URL}/#top`>Return to top</a>
3-
<p class="text-xl font-semibold">Benefit Decision Toolkit</p>
3+
<p class="text-xl font-semibold font-serif">Benefit Decision Toolkit</p>
44
<p>With ❤️ from Philly</p>
55
</footer>

website/src/layouts/Layout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import Footer from "../components/Footer.astro";
1313
<title>Benefit Decision Toolkit</title>
1414
</head>
1515
<body
16-
class="prose-headings:font-serif prose-headings:text-center prose-p:text-black prose-p:leading-6"
16+
class="prose-headings:font-serif prose-headings:text-center prose-p:text-black prose-p:leading-6 prose-a:font-semibold"
1717
>
1818
<div id="top"></div>
1919
<Header />

website/src/styles/global.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
@import "tailwindcss";
22
@plugin "@tailwindcss/typography";
3+
4+
@theme {
5+
--font-sans: "Open Sans";
6+
--font-serif: "Ramaraja";
7+
}

0 commit comments

Comments
 (0)