Skip to content

Commit

Permalink
refactor(cxl-ui): cxl-base-card, cxl-featured-course-card, cxl-vaadin…
Browse files Browse the repository at this point in the history
…-accordion name font
  • Loading branch information
pawelkmpt committed Jan 12, 2024
1 parent 7a41cc5 commit d8f616b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/cxl-ui/scss/cxl-base-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ header {

.name {
@include mixins.ellipsis-for-lines(2);
font-family: var(--lumo-font-family);
margin-block: 0;

a {
Expand Down
8 changes: 6 additions & 2 deletions packages/cxl-ui/scss/cxl-featured-course-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@
padding: 0;
}

.name strong {
color: var(--lumo-primary-color);
.name {
font-family: var(--cxl-lumo-font-ternary);

strong {
color: var(--lumo-primary-color);
}
}

.info {
Expand Down
1 change: 1 addition & 0 deletions packages/cxl-ui/scss/global/cxl-vaadin-accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ cxl-vaadin-accordion {
.entry-title {
flex: 1;
height: calc(var(--cxl-lumo-line-height-xs) * 4em);
font-family: var(--lumo-font-family);
font-size: var(--lumo-font-size-xl);
word-break: break-word;
}
Expand Down

0 comments on commit d8f616b

Please sign in to comment.