Skip to content

Commit

Permalink
Update stylelint settings, Fix messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Tepper committed Jul 6, 2023
1 parent 37374d9 commit bb31807
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/Resources/.stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
"except": ["empty"]
}
],
"order/properties-alphabetical-order": null,
"order/properties-order": ["position", "top", "right", "bottom", "left", "z-index", "display", "visibility", "overflow", "overflow-x", "overflow-y", "float", "clear", "table-layout", "border-collapse", "empty-cells", "box-sizing", "width", "min-width", "max-width", "height", "min-height", "max-height", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "border", "border-width", "border-style", "border-color", "border-radius", "border-top", "border-top-width", "border-top-style", "border-top-color", "border-right", "border-right-width", "border-right-style", "border-right-color", "border-bottom", "border-bottom-width", "border-bottom-style", "border-bottom-color", "border-left", "border-left-width", "border-left-style", "border-left-color", "border-top-left-radius", "border-top-right-radius", "border-bottom-right-radius", "border-bottom-left-radius", "white-space", "content", "color", "background", "background-color", "background-image", "background-repeat", "background-attachment", "background-position", "background-size", "opacity", "font", "font-weight", "font-style", "font-variant", "font-size", "font-family", "letter-spacing", "line-height", "list-style", "list-style-type", "list-style-position", "list-style-image", "outline", "outline-width", "outline-style", "outline-color", "text-align", "text-decoration", "text-indent", "text-transform", "text-shadow", "animation", "transform", "transition", "box-shadow"],
"max-nesting-depth": 4,
"string-quotes": "double",
"selector-no-qualifying-type": null,
"selector-max-compound-selectors": 5,
"selector-pseudo-element-no-unknown": [
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/sass/mealz.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "sass:color";

//**************************************
// Defaults
//**************************************
Expand Down
6 changes: 3 additions & 3 deletions src/Resources/sass/modules/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ header {
float: none;
margin-bottom: 20px;
padding: 20px 0;
border-top: 1px solid lighten($header-background, 10%);
border-bottom: 1px solid lighten($header-background, 10%);
border-top: 1px solid color.adjust($header-background, $lightness: 10%);
border-bottom: 1px solid color.adjust($header-background, $lightness: 10%);
}

li {
Expand Down Expand Up @@ -278,7 +278,7 @@ header {
font-family: $font-medium;

&:hover {
background: darken($header-login-button-background, 5%);
background: color.adjust($header-login-button-background, $lightness: -5%);
}
}
}
Expand Down

0 comments on commit bb31807

Please sign in to comment.