Skip to content

Commit

Permalink
fix(ffe-message-box): change title font size to rem from px
Browse files Browse the repository at this point in the history
also replace some less variables with css
  • Loading branch information
HeleneKassandra committed Apr 24, 2024
1 parent 45f495b commit 100bf1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/ffe-message-box/less/message-box.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
}

&__box {
padding: @ffe-spacing-xl @ffe-spacing-lg;
border-radius: @ffe-spacing-xs;
padding: var(--ffe-spacing-xl) var(--ffe-spacing-lg);
border-radius: var(--ffe-spacing-xs);
color: var(--ffe-farge-svart);
.native & {
@media (prefers-color-scheme: dark) {
Expand Down Expand Up @@ -105,8 +105,8 @@

&__title {
color: var(--ffe-farge-svart);
font-size: 18px;
margin-bottom: @ffe-spacing-sm;
font-size: var(--ffe-fontsize-h5);
margin-bottom: var(--ffe-spacing-sm);
margin-top: 0;
.native & {
@media (prefers-color-scheme: dark) {
Expand All @@ -117,7 +117,7 @@
}

&__list {
padding-left: @ffe-spacing-sm;
padding-left: var(--ffe-spacing-sm);
margin: 0;
line-height: 2;
text-align: left;
Expand Down

0 comments on commit 100bf1f

Please sign in to comment.