Skip to content

Commit

Permalink
refactor: cxl-certificate-header typography changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelkmpt committed Jan 12, 2024
1 parent 786298d commit 926a5b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions packages/cxl-ui/scss/cxl-certificate-header.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@use "~@conversionxl/cxl-lumo-styles/scss/mq";
@use "./mixins";
@import "../../cxl-lumo-styles/scss/typography";

:host {
color: var(--lumo-tint);
Expand Down Expand Up @@ -38,10 +39,8 @@
}

.completed {
align-items: center;
display: flex;
margin-top: var(--lumo-space-l);
font-size: var(--lumo-font-size-xl);
font-weight: 700;
color: var(--lumo-primary-color);
}

Expand Down
4 changes: 2 additions & 2 deletions packages/cxl-ui/src/components/cxl-certificate-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ export class CXLCertificateHeaderElement extends LitElement {
return nothing;
}
return html`<div class="completed">
return html`<h2 class="completed">
<span class="completed-icon"><vaadin-icon icon="lumo:checkmark"></vaadin-icon></span>
Course completed
</div>`;
</h2>`;
}
// eslint-disable-next-line class-methods-use-this
Expand Down

0 comments on commit 926a5b4

Please sign in to comment.