mirror of
https://github.com/penpot/penpot.git
synced 2026-05-05 16:18:35 +00:00
🐛 Fix SCSS mixin names in v2_15 release modal styles
Rename 5 deprecated mixin calls from camelCase to kebab-case to match the actual mixin names defined in common-refactor.scss: - deprecated.flexCenter -> deprecated.flex-center - deprecated.headlineSmallTypography -> deprecated.headline-small-typography - deprecated.headlineLargeTypography -> deprecated.headline-large-typography - deprecated.bodyLargeTypography -> deprecated.body-large-typography - deprecated.bodyMediumTypography -> deprecated.body-medium-typography This fixes the "Undefined mixin" SCSS compilation error. Signed-off-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
404ebcc63e
commit
346614edc3
@ -42,8 +42,8 @@
|
||||
}
|
||||
|
||||
.version-tag {
|
||||
@include deprecated.flexCenter;
|
||||
@include deprecated.headlineSmallTypography;
|
||||
@include deprecated.flex-center;
|
||||
@include deprecated.headline-small-typography;
|
||||
|
||||
height: deprecated.$s-32;
|
||||
width: deprecated.$s-96;
|
||||
@ -53,7 +53,7 @@
|
||||
}
|
||||
|
||||
.modal-title {
|
||||
@include deprecated.headlineLargeTypography;
|
||||
@include deprecated.headline-large-typography;
|
||||
|
||||
color: var(--modal-title-foreground-color);
|
||||
}
|
||||
@ -72,20 +72,20 @@
|
||||
}
|
||||
|
||||
.feature-title {
|
||||
@include deprecated.bodyLargeTypography;
|
||||
@include deprecated.body-large-typography;
|
||||
|
||||
color: var(--modal-title-foreground-color);
|
||||
}
|
||||
|
||||
.feature-content {
|
||||
@include deprecated.bodyMediumTypography;
|
||||
@include deprecated.body-medium-typography;
|
||||
|
||||
margin: 0;
|
||||
color: var(--modal-text-foreground-color);
|
||||
}
|
||||
|
||||
.feature-list {
|
||||
@include deprecated.bodyMediumTypography;
|
||||
@include deprecated.body-medium-typography;
|
||||
|
||||
color: var(--modal-text-foreground-color);
|
||||
list-style: disc;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user