Skip to content

Commit

Permalink
feat: introduce departure mono for fun header font
Browse files Browse the repository at this point in the history
  • Loading branch information
trevormunoz committed Sep 1, 2024
1 parent 91ed76f commit 14dda8c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions src/components/typography.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'variables.css';
@import "variables.css";

html {
color: hsla(0, 0%, 0%, 0.8);
Expand All @@ -12,6 +12,14 @@ body {
}

/* modified tritonic scale */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--header-footer-stack);
}
h1 {
font-size: 2rem;
font-weight: 700;
Expand Down Expand Up @@ -44,4 +52,5 @@ strong {
}
h1 a {
border-bottom: none;
}
}

2 changes: 1 addition & 1 deletion src/components/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
--color-gray: rgb(126, 126, 126);
--color-gray-lt: rgb(191,191,191);
--color-gray-dk: rgb(63,63,63);
}
} --header-footer-stack: "Departure Mono", var(--font-stack);
Binary file added src/fonts/DepartureMono-Regular.woff2
Binary file not shown.

0 comments on commit 14dda8c

Please sign in to comment.