Skip to content

Commit

Permalink
chore: Apply type usecases to o-stepped-progress
Browse files Browse the repository at this point in the history
Apply a custom weight to the heavy varient. A redesign is required to fit the current type tokens, and this varient looks pretty borked in other ways (icon size).
  • Loading branch information
notlee committed Jan 22, 2025
1 parent d63f4d0 commit e19b860
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions components/o-stepped-progress/src/scss/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,17 @@
/// @access private
@mixin _oSteppedProgressBase() {
.o-stepped-progress {
@include oPrivateTypographySans(_oSteppedProgressGet('font-scale'));
font-family: oPrivateFoundationGet(
'o3-typography-use-case-detail-font-family'
);
font-size: oPrivateFoundationGet('o3-typography-use-case-detail-font-size');
font-weight: oPrivateFoundationGet(
'o3-typography-use-case-detail-font-weight'
);
line-height: oPrivateFoundationGet(
'o3-typography-use-case-detail-line-height'
);

display: block;
position: relative;

Expand Down Expand Up @@ -252,9 +262,9 @@
$variant: 'heavy';

.o-stepped-progress--heavy {
@include oPrivateTypographySans(
_oSteppedProgressGet('font-scale', $variant)
);
strong {
font-weight: oPrivateFoundationGet('o3-font-weight-semibold');
}

// Progress bars
&::before {
Expand Down

0 comments on commit e19b860

Please sign in to comment.