Skip to content

Commit 3aef49c

Browse files
committed
fix fonts and text sizes
1 parent 2144ad7 commit 3aef49c

8 files changed

Lines changed: 23 additions & 14 deletions

File tree

website/package-lock.json

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

website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@astrojs/svelte": "^7.2.3",
13+
"@fontsource/inter": "^5.2.8",
1314
"@fontsource/open-sans": "^5.2.7",
1415
"@fontsource/ramaraja": "^5.2.8",
1516
"@tailwindcss/vite": "^4.1.17",

website/src/components/Contact.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import wedge from "../assets/backgrounds/wedge.svg";
4040
placeholder="Your message"></textarea>
4141
</div>
4242
<input
43-
class="px-6 py-2 pt-3 mt-3 font-serif bg-green-300 rounded-full text-lg cursor-pointer"
43+
class="px-6 py-2 pt-3 mt-3 font-serif bg-green-300 rounded-full text-xl cursor-pointer"
4444
type="submit"
4545
value="Submit"
4646
size=""
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<footer class="py-12 text-center flex flex-col gap-3 bg-green-300">
2-
<a class="underline text-lg" href=`${import.meta.env.BASE_URL}/#top`
3-
>Return to top</a
4-
>
5-
<p class="text-2xl! font-serif">Benefit Decision Toolkit</p>
2+
<a class="underline" href=`${import.meta.env.BASE_URL}/#top`>Return to top</a>
3+
<p class="text-2xl! font-serif mt-2">Benefit Decision Toolkit</p>
64
<p>With ❤️ from Philly</p>
75
</footer>

website/src/components/Hero.astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ import { Content } from "../assets/copy/Hero.md";
88
>
99
<div class="max-w-[130ch] mx-auto mt-20">
1010
<div
11-
class="prose prose-p:text-slate-100 prose-headings:text-slate-100 prose-headings:text-left max-w-120 prose-p:text-shadow-sm/35 prose-p:text-2xl! prose-p:leading-8! prose-headings:text-shadow-lg/15"
11+
class="prose prose-p:text-slate-100 prose-headings:text-slate-100 prose-headings:text-left max-w-120 prose-p:text-shadow-sm/35 prose-p:text-xl! prose-p:leading-7! prose-headings:text-shadow-lg/15"
1212
>
1313
<Content />
1414
</div>
1515
<a href=`${import.meta.env.BASE_URL}/#projects`>
16-
<p
17-
class="mt-6 w-fit px-6 py-2 pt-3 bg-white border-2 border-sky-500 rounded-full text-sky-700! font-serif"
16+
<div
17+
class="mt-6 w-fit px-6 py-2 pt-3 bg-white border-2 border-sky-500 rounded-full text-sky-700 font-serif text-xl"
1818
>
19-
See what we can do
20-
</p>
19+
<span>See what we can do</span>
20+
</div>
2121
</a>
2222
</div>
2323
</section>

website/src/components/Projects.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const projects = await getCollection("projects");
1818
const { Content } = await render(project);
1919
return (
2020
<li class="bg-white/50 p-6 rounded-2xl md:w-1/2">
21-
<div class="prose">
21+
<div class="prose prose-a:font-semibold">
2222
<Content />
2323
</div>
2424
</li>

website/src/layouts/Layout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import "../styles/global.css";
33
import Header from "../components/Header.astro";
44
import Footer from "../components/Footer.astro";
5-
import "@fontsource/open-sans";
5+
import "@fontsource/inter";
66
import "@fontsource/ramaraja";
77
---
88

@@ -15,7 +15,7 @@ import "@fontsource/ramaraja";
1515
<title>Benefit Decision Toolkit</title>
1616
</head>
1717
<body
18-
class="prose-headings:font-serif prose-headings:font-normal prose-headings:text-center prose-p:text-black prose-p:leading-6 prose-a:font-semibold prose-h2:text-4xl prose-h3:text-3xl prose-p:text-lg"
18+
class="prose-headings:font-serif prose-headings:font-normal prose-headings:text-center prose-p:text-black prose-p:leading-6 prose-h2:text-4xl prose-h3:text-3xl prose-p:text-lg"
1919
>
2020
<div id="top"></div>
2121
<Header />

website/src/styles/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
@plugin "@tailwindcss/typography";
33

44
@theme {
5-
--font-sans: "Open Sans", sans;
5+
--font-sans: "Inter", sans;
66
--font-serif: "Ramaraja", serif;
77
}

0 commit comments

Comments
 (0)