Skip to content

Commit 331aae4

Browse files
committed
Replace deprecated sass-lint with stylelint
1 parent 977bb20 commit 331aae4

13 files changed

+1630
-45
lines changed

.sass-lint.yml

-29
This file was deleted.

.vscode/extensions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"recommendations": [
66
"dbaeumer.vscode-eslint",
77
"editorConfig.editorConfig",
8-
"esbenp.prettier-vscode"
8+
"esbenp.prettier-vscode",
9+
"stylelint.vscode-stylelint"
910
],
1011
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
1112
"unwantedRecommendations": []

app/src/components/clock.scss

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
.clock {
44
@include base.stretch;
5+
56
text-align: right;
67

78
&__time {

app/src/components/date.scss

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
.date {
44
@include base.stretch;
5+
56
text-align: right;
67
}

app/src/components/expandable.scss

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
.expandable {
44
@include animations.delayed-animation;
5+
56
display: grid;
67
overflow: hidden;
78

app/src/components/header.scss

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
&__title {
2525
@include base.stretch;
26+
2627
display: inline;
2728
margin: 0;
2829
font-size: 1.6rem;

app/src/components/info-panel/stats-panel/stats.scss

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
.stats {
55
@include animations.delayed-animation;
6+
67
display: flex;
78
flex-direction: column;
89
width: 100%;

app/src/styles/animations.scss

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ $hover-timing-function: ease-out;
5959
&--#{$i} {
6060
// easeOutCubic for delay
6161
$delay: 50ms + cubic-bezier-to-func-of-t(0.215, 0.61, 0.355, 1, math.div($i, 15)) * 500ms;
62+
6263
animation:
6364
$delay hidden,
6465
$expand-duration $expand-timing-function expand $delay,
@@ -75,6 +76,7 @@ $hover-timing-function: ease-out;
7576

7677
.expand--last {
7778
$delay: 1000ms;
79+
7880
animation:
7981
$delay hidden,
8082
$expand-duration $expand-timing-function expand $delay,

app/src/styles/colors.scss

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Color values
2-
$blue-dark: hsl(227, 77%, 25%);
3-
$blue-dark-semi-transparent: hsla(227, 77%, 25%, 0.5);
4-
$blue-light: hsl(226, 47%, 49%);
5-
$blue-medium: hsl(227, 51%, 38%);
6-
$gray: hsl(198, 16%, 84%);
2+
$blue-dark: hsl(227deg, 77%, 25%);
3+
$blue-dark-semi-transparent: hsla(227deg, 77%, 25%, 0.5);
4+
$blue-light: hsl(226deg, 47%, 49%);
5+
$blue-medium: hsl(227deg, 51%, 38%);
6+
$gray: hsl(198deg, 16%, 84%);
77
$gray-semi-transparent: rgba(0, 0, 0, 0.5);
8-
$white: hsl(0, 0%, 97%);
9-
$yellow-dark: hsl(43, 96%, 58%);
10-
$yellow-medium: hsl(54, 100%, 67%);
8+
$white: hsl(0deg, 0%, 97%);
9+
$yellow-dark: hsl(43deg, 96%, 58%);
10+
$yellow-medium: hsl(54deg, 100%, 67%);
1111

1212
// Background colors
1313
$background-body: $blue-light;

gallery/src/main.scss

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
.gallery-heading {
3232
&__description {
3333
@include gallery-description;
34+
3435
color: colors.$color-accent-light;
3536
}
3637

@@ -44,6 +45,7 @@
4445

4546
&__description {
4647
@include gallery-description;
48+
4749
font-size: 1.2rem;
4850
text-align: left;
4951
}

0 commit comments

Comments
 (0)