Skip to content

Commit

Permalink
feat(TitleBlockZen): update title font to match composable header
Browse files Browse the repository at this point in the history
  • Loading branch information
HeartSquared committed Jun 18, 2024
1 parent c736f4d commit 9b8e5f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/fresh-parents-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kaizen/draft-title-block-zen": minor
---

Update TitleBlockZen title font to match composable header.
Original file line number Diff line number Diff line change
Expand Up @@ -168,19 +168,18 @@ $tab-container-height-medium-and-small-collapsed: 0;
}

.titleTextOverride.titleTextOverride {
// Match the composable header styles
font-family: $typography-display-0-font-family;
font-weight: 500;
padding: 4px 0;

@media (max-width: $breadcrumb-breakpoint-width) {
font-family: $typography-heading-2-font-family;
font-weight: $typography-heading-2-font-weight;
font-size: $typography-heading-2-font-size;
line-height: $typography-heading-2-line-height;
letter-spacing: $typography-heading-2-letter-spacing;
}

@include title-block-under-1366 {
font-family: $typography-heading-2-font-family;
font-weight: $typography-heading-2-font-weight;
font-size: $typography-heading-2-font-size;
line-height: $typography-heading-2-line-height;
letter-spacing: $typography-heading-2-letter-spacing;
Expand All @@ -189,8 +188,6 @@ $tab-container-height-medium-and-small-collapsed: 0;

.hasLongTitle & {
@include title-block-under-1366 {
font-family: $typography-heading-3-font-family;
font-weight: $typography-heading-3-font-weight;
font-size: $typography-heading-3-font-size;
line-height: $typography-heading-3-line-height;
letter-spacing: $typography-heading-3-letter-spacing;
Expand All @@ -201,8 +198,6 @@ $tab-container-height-medium-and-small-collapsed: 0;
&,
.hasLongTitle & {
@include title-block-medium-and-small {
font-family: $typography-heading-4-font-family;
font-weight: $typography-heading-4-font-weight;
font-size: $typography-heading-4-font-size;
line-height: $typography-heading-4-line-height;
letter-spacing: $typography-heading-4-letter-spacing;
Expand Down

0 comments on commit 9b8e5f4

Please sign in to comment.