Skip to content

Commit c0b84d9

Browse files
Lint CSS
1 parent 78f25a1 commit c0b84d9

17 files changed

+38
-37
lines changed

resources/assets/scss/customize-controls.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $border: 1px solid #ccc;
5353
top: 50%;
5454
}
5555

56-
&:before {
56+
&::before {
5757
width: 10px;
5858
height: 10px;
5959
left: -15px;

resources/assets/scss/functions/font-size.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
//
44

55
@function font-size($key: "md") {
6-
@return map-get($font-sizes, $key);
6+
7+
@return map-get($font-sizes, $key);
78
}

resources/assets/scss/gutenberg.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $use-margins: false;
5757
.wp-block-button__link {
5858

5959
&,
60-
&:after {
60+
&::after {
6161
border-radius: $border-radius;
6262
}
6363
}

resources/assets/scss/helpers/animation-scaleout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@keyframes scaleout {
66

7-
0% {
7+
0% {
88
transform: scale(0);
99
}
1010

resources/assets/scss/mixins/button.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
// [1] Gutenberg adds their own !important declaration.
4646
@mixin button--color( $color ) {
4747

48-
background-color: theme-color( $color );
48+
background-color: theme-color($color);
4949
}
5050

5151
@mixin button--gray( $gray ) {
5252

5353
@include button();
54-
background-color: gray( $gray );
54+
background-color: gray($gray);
5555
}
5656

5757
// [1] Gutenberg adds their own !important declaration.

resources/assets/scss/modules/blog-post.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
.blog-post__title {
1919
font-size: $font-size-xl;
2020
margin: 0;
21-
21+
2222
a {
2323
text-decoration: none;
2424
}

resources/assets/scss/modules/comment.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323

2424
.comment-author {
25-
25+
2626
.fn {
2727
font-style: normal;
2828
margin: 0 0 0 $spacer;

resources/assets/scss/modules/gutenberg.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
.wp-block-separator {
5555

56-
&:before {
56+
&::before {
5757
display: none;
5858
}
5959

resources/assets/scss/modules/page-title.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
border-bottom: 2px solid gray("200");
66

77
@include vertical-spacing("margin", "down", (
8-
sm: 1,
8+
sm: 1,
99
) );
1010

1111
&:first-child {

resources/assets/scss/modules/price.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
display: flex;
33
align-items: center;
44

5-
@include media-breakpoint-up(xl) {
5+
@include media-breakpoint-up(xl) {
66
font-size: $font-size-lg;
77
}
88

0 commit comments

Comments
 (0)