Skip to content

Commit

Permalink
#113 lint css background rule
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-serb committed Apr 30, 2024
1 parent cfe2c53 commit e30fe70
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/assets/css/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ body {
flex-direction: column;
justify-content: space-between;
min-height: 100vh;
background: var(--color-background);
background-color: var(--color-background);
}

::selection {
background: var(--color-selection);
background-color: var(--color-selection);
}

:focus {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/css/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
margin-bottom: 16px;
padding: 16px;
border-radius: var(--number-border-radius);
background: var(--color-content-item-background);
background-color: var(--color-content-item-background);

@media only screen and (min-width: 540px) {
padding: 32px;
Expand Down
22 changes: 11 additions & 11 deletions src/assets/css/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ input {
padding: 4px 8px;
border: var(--number-form-border-size) solid var(--color-link);
border-radius: var(--number-form-border-radius);
background: var(--color-milk);
background-color: var(--color-milk);
color: var(--color-text);
font-size: 16px;
line-height: 1.382em;
Expand All @@ -39,7 +39,7 @@ select:hover {
}

option {
background: var(--color-background);
background-color: var(--color-background);
color: var(--color-text);
font-size: 16px;
line-height: 1.382em;
Expand All @@ -66,7 +66,7 @@ input {
&::-webkit-slider-runnable-track,
&::-ms-fill-lower,
&::-ms-fill-upper {
background: var(--color-b);
background-color: var(--color-b);
}
}

Expand All @@ -81,7 +81,7 @@ input {
box-shadow:
0px 0px 0px #000000,
0px 0px 0px #0d0d0d;
background: var(--color-b);
background-color: var(--color-b);
border: 0px solid #000101;
border-radius: var(--number-form-border-radius);
}
Expand All @@ -93,7 +93,7 @@ input {
margin-top: -4px;
border: 0px solid #000000;
border-radius: var(--number-form-border-radius);
background: var(--color-a);
background-color: var(--color-a);
box-shadow:
0px 0px 0px #000000,
0px 0px 0px #0d0d0d;
Expand All @@ -105,7 +105,7 @@ input {
height: 8px;
border: 0px solid #000101;
border-radius: var(--number-form-border-radius);
background: var(--color-b);
background-color: var(--color-b);
box-shadow:
0px 0px 0px #000000,
0px 0px 0px #0d0d0d;
Expand All @@ -118,7 +118,7 @@ input {
height: 16px;
border: 0px solid #000000;
border-radius: var(--number-form-border-radius);
background: var(--color-a);
background-color: var(--color-a);
box-shadow:
0px 0px 0px #000000,
0px 0px 0px #0d0d0d;
Expand All @@ -130,7 +130,7 @@ input {
height: 8px;
border-width: 8px 0;
border-color: transparent;
background: transparent;
background-color: transparent;
color: transparent;
cursor: pointer;
animate: 0.2s;
Expand All @@ -142,7 +142,7 @@ input {
box-shadow:
0px 0px 0px #000000,
0px 0px 0px #0d0d0d;
background: var(--color-b);
background-color: var(--color-b);
}

&::-ms-fill-upper {
Expand All @@ -151,15 +151,15 @@ input {
box-shadow:
0px 0px 0px #000000,
0px 0px 0px #0d0d0d;
background: var(--color-b);
background-color: var(--color-b);
}

&::-ms-thumb {
width: 16px;
height: 16px;
border: 0px solid #000000;
border-radius: var(--number-form-border-radius);
background: var(--color-a);
background-color: var(--color-a);
box-shadow:
0px 0px 0px #000000,
0px 0px 0px #0d0d0d;
Expand Down
4 changes: 2 additions & 2 deletions src/components/molecules/MHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ defineProps({
<style lang="scss">
.header {
border-bottom: 8px solid var(--color-header-borderline);
background: var(--color-header-background);
background-color: var(--color-header-background);
@media only screen and (min-width: 540px) {
border-bottom: 32px solid var(--color-header-borderline);
background: var(--color-header-background);
background-color: var(--color-header-background);
}
.header-wrapper {
Expand Down
2 changes: 1 addition & 1 deletion src/components/molecules/MHeaderMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ defineProps({
}
&::selection {
background: var(--color-header-selection);
background-color: var(--color-header-selection);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/molecules/MPattern.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function onClick(index: number): void {
height: 50px;
padding: 8px;
border-radius: var(--number-border-radius);
background: var(--color-pattern-button);
background-color: var(--color-pattern-button);
display: flex;
flex-direction: row;
justify-content: flex-start;
Expand Down

0 comments on commit e30fe70

Please sign in to comment.