Skip to content

Commit

Permalink
refactor: reduce typography output
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB committed Apr 24, 2024
1 parent a9aa625 commit f372cc2
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions src/components/core/styles/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,28 +82,37 @@ sbb-breadcrumb-group:not(:defined) {
pointer-events: all;
}

.sbb-text-xxs,
.sbb-text-xs,
.sbb-text-s,
.sbb-text-m,
.sbb-text-l,
.sbb-text-xl {
@include typo.text;
}

.sbb-text-xxs {
@include typo.text-xxs--regular;
--sbb-text-font-size: var(--sbb-font-size-text-xxs);
}

.sbb-text-xs {
@include typo.text-xs--regular;
--sbb-text-font-size: var(--sbb-font-size-text-xs);
}

.sbb-text-s {
@include typo.text-s--regular;
--sbb-text-font-size: var(--sbb-font-size-text-s);
}

.sbb-text-m {
@include typo.text-m--regular;
--sbb-text-font-size: var(--sbb-font-size-text-m);
}

.sbb-text-l {
@include typo.text-l--regular;
--sbb-text-font-size: var(--sbb-font-size-text-l);
}

.sbb-text-xl {
@include typo.text-xl--regular;
--sbb-text-font-size: var(--sbb-font-size-text-xl);
}

.sbb-text--bold {
Expand Down

0 comments on commit f372cc2

Please sign in to comment.