Skip to content

Commit f31c5f1

Browse files
authored
fix: rename deprecated --yc-text-body-font-size css var (#102)
1 parent 3c1eb71 commit f31c5f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/lib/kit/components/ErrorWrapper/ErrorWrapper.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
&__error-text {
2525
color: var(--yc-color-text-danger);
2626
margin-top: 2px;
27-
font-size: var(--yc-text-body-font-size);
28-
line-height: var(--yc-text-body-line-height);
27+
font-size: var(--yc-text-body-1-font-size);
28+
line-height: var(--yc-text-body-1-line-height);
2929
}
3030
}

src/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $animationDuration: 0.3s;
3131
&_size_s {
3232
margin-bottom: 0;
3333

34-
font-size: var(--yc-text-body-font-size);
34+
font-size: var(--yc-text-body-1-font-size);
3535
}
3636

3737
&_size_m {

0 commit comments

Comments
 (0)