Skip to content

Commit

Permalink
feat: lighter weight for titles (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 authored May 27, 2024
1 parent efbb050 commit ea808b1
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/calendar-page/calendar-page.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h1>Calendar</h1>
<h2>Let's hang out!</h2>
<p>Let's hang out!</p>
<div class="pre"></div>
<!-- Google Calendar Appointment Scheduling begin -->
<iframe
Expand Down
1 change: 1 addition & 0 deletions src/app/header/tab/tab.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
border-bottom-width: 2px;
border-bottom-color: transparent;
border-bottom-style: solid;
font-weight: 300;

color: var(--ui-text);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@
animations.$emphasized-style
);
}

::ng-deep h2 {
font-size: 1.25rem;
}
}
4 changes: 0 additions & 4 deletions src/app/sports-page/sports-page.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ img.sports-equation {
}
}

h2 {
font-weight: bold;
}

.card-wrapper {
display: flex;
}
Expand Down
14 changes: 13 additions & 1 deletion src/sass/_typographies.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@mixin imports {
@import '@fontsource/roboto/300.css';
@import '@fontsource/roboto/400.css';
@import '@fontsource/roboto/700.css';
@import '@fontsource/roboto-mono/400.css';
Expand All @@ -13,7 +14,18 @@
}

@mixin styles {
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 300;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.25em;
font-size: 1.75rem;
}
}

0 comments on commit ea808b1

Please sign in to comment.