Skip to content

Commit

Permalink
feat(cxl-ui): cxl-section update hero font sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
anoblet committed Apr 26, 2024
1 parent 85b3594 commit b817776
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/cxl-ui/scss/global/cxl-section.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@ cxl-section#view-hero, cxl-section[theme~="cxl-hero"] {
}
}

h1 {
font-size: var(--lumo-font-size-xxl);

@media #{mq.$medium} {
font-size: calc((var(--cxl-lumo-font-size-hero) + var(--lumo-font-size-xxxl)) / 2)
}
}

}

0 comments on commit b817776

Please sign in to comment.