Skip to content

Commit

Permalink
perf: replace hardcoded size values with tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed Jun 28, 2024
1 parent 1ca8c03 commit debeda0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}

.logoIcon {
width: 8rem;
width: calc(var(--ds-size-800, $ds-size-800) * 2); // 8rem
padding-right: var(--ds-size-100, $ds-size-100);
border-right-width: 1px;
border-right-style: solid;
Expand All @@ -24,7 +24,7 @@

.oneworldLogo {
display: flex;
width: 2.6rem;
width: calc(var(--ds-size-500, $ds-size-500) + 0.1rem); // 2.6rem
flex-direction: column;
justify-content: center;
padding-left: var(--ds-size-50, $ds-size-50);
Expand Down

0 comments on commit debeda0

Please sign in to comment.