mirror of
https://github.com/penpot/penpot.git
synced 2026-04-29 21:28:20 +00:00
💄 Fix SCSS linter errors in v2_15 release modal styles
Replace class selectors with placeholder selectors for @extend (.modal-overlay-base -> %modal-overlay-base, .button-primary -> %button-primary). Add blank lines after @include mixin calls in 6 rulesets (.version-tag, .modal-title, .feature-title, .feature-content, .feature-list, .next-btn) to satisfy the declaration-empty-line-before stylelint rule. Fixes 8 SCSS linter errors in total. Signed-off-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
a004219405
commit
404ebcc63e
@ -7,7 +7,7 @@
|
||||
@use "refactor/common-refactor.scss" as deprecated;
|
||||
|
||||
.modal-overlay {
|
||||
@extend .modal-overlay-base;
|
||||
@extend %modal-overlay-base;
|
||||
}
|
||||
|
||||
.modal-container {
|
||||
@ -44,6 +44,7 @@
|
||||
.version-tag {
|
||||
@include deprecated.flexCenter;
|
||||
@include deprecated.headlineSmallTypography;
|
||||
|
||||
height: deprecated.$s-32;
|
||||
width: deprecated.$s-96;
|
||||
background-color: var(--communication-tag-background-color);
|
||||
@ -53,6 +54,7 @@
|
||||
|
||||
.modal-title {
|
||||
@include deprecated.headlineLargeTypography;
|
||||
|
||||
color: var(--modal-title-foreground-color);
|
||||
}
|
||||
|
||||
@ -71,17 +73,20 @@
|
||||
|
||||
.feature-title {
|
||||
@include deprecated.bodyLargeTypography;
|
||||
|
||||
color: var(--modal-title-foreground-color);
|
||||
}
|
||||
|
||||
.feature-content {
|
||||
@include deprecated.bodyMediumTypography;
|
||||
|
||||
margin: 0;
|
||||
color: var(--modal-text-foreground-color);
|
||||
}
|
||||
|
||||
.feature-list {
|
||||
@include deprecated.bodyMediumTypography;
|
||||
|
||||
color: var(--modal-text-foreground-color);
|
||||
list-style: disc;
|
||||
display: grid;
|
||||
@ -95,7 +100,8 @@
|
||||
}
|
||||
|
||||
.next-btn {
|
||||
@extend .button-primary;
|
||||
@extend %button-primary;
|
||||
|
||||
width: deprecated.$s-100;
|
||||
justify-self: flex-end;
|
||||
grid-area: button;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user