Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve typography #75

Merged
merged 4 commits into from
May 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/assets/fonts/Aksen-Condensed-SemiBold.woff2
Binary file not shown.
8 changes: 3 additions & 5 deletions src/assets/styles/base/_fonts.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
@font-face {
font-family: "Mona Sans";
src: url("../fonts/Mona-Sans.woff2") format("woff2 supports variations"),
url("../fonts/Mona-Sans.woff2") format("woff2-variations");
font-weight: 200 900;
font-stretch: 75% 125%;
font-family: "Aksen";
src: url("../fonts/Aksen-Condensed-SemiBold.woff2") format("woff2");
font-weight: 600;
font-display: block;
}

Expand Down
1 change: 0 additions & 1 deletion src/assets/styles/base/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ h5,
h6 {
text-rendering: optimizeLegibility;
font-family: $font-family-sans-serif-heading;
font-variation-settings: "ital" 0, "wdth" 90;
margin-bottom: 24px;
font-weight: 600;
color: var(--text-primary);
Expand Down
4 changes: 2 additions & 2 deletions src/assets/styles/utils/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ $text-color: $gray-950;
// Typography
// Font, line-height, and color for body text, headings, and more.

$font-family-sans-serif-heading: "Mona Sans", -apple-system, BlinkMacSystemFont,
$font-family-sans-serif-heading: "Aksen", -apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
Expand All @@ -115,7 +115,7 @@ $font-family-base: $font-family-sans-serif-body;

$font-size-root: 100%;
$font-size-base: 1rem;
$line-height: 1.5rem;
$line-height: 1.6rem;

// Animation
// Default easing curves, Transitions, etc
Expand Down