Skip to content

Commit

Permalink
dev: add the Utrecht property-disallowed-list to .stylelintrc (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdhamAH authored and Mees Work committed Sep 17, 2024
1 parent 90630da commit 400958d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
42 changes: 41 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,56 @@
"order/properties-alphabetical-order": true,
"property-disallowed-list": [
[
"border-bottom",
"border-bottom-color",
"border-bottom-left-radius",
"border-bottom-right-radius",
"border-bottom-style",
"border-bottom-width",
"border-left",
"border-left-color",
"border-left-style",
"border-left-width",
"border-right",
"border-right-color",
"border-right-style",
"border-right-width",
"border-top",
"border-top-color",
"border-top-left-radius",
"border-top-right-radius",
"border-top-style",
"border-top-width",
"bottom",
"contain-intrinsic-height",
"contain-intrinsic-width",
"height",
"left",
"margin",
"margin-bottom",
"margin-left",
"margin-right",
"margin-top",
"max-height",
"max-width",
"min-height",
"min-width",
"padding",
"padding-bottom",
"padding-left",
"padding-right",
"padding-top"
"padding-top",
"right",
"scroll-margin-bottom",
"scroll-margin-left",
"scroll-margin-right",
"scroll-margin-top",
"scroll-padding-bottom",
"scroll-padding-left",
"scroll-padding-right",
"scroll-padding-top",
"top",
"width"
]
],
"property-no-unknown": [true],
Expand Down
2 changes: 1 addition & 1 deletion packages/components-css/figure/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

.utrecht-figure__caption {
border-left: var(--utrecht-figure-caption-border-width) solid var(--utrecht-figure-caption-border-color);
border-inline-start: var(--utrecht-figure-caption-border-width) solid var(--utrecht-figure-caption-border-color);
padding-block-end: var(--utrecht-figure-caption-padding-block-end);
padding-block-start: var(--utrecht-figure-caption-padding-block-start);
padding-inline-start: var(--utrecht-figure-caption-padding-inline-start);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
--utrecht-icon-size: var(--utrecht-form-field-error-message-icon-size, 24px);

margin-inline-end: var(--utrecht-form-field-error-message-icon-margin-inline-end, 0.5rem);
min-width: var(--utrecht-form-field-error-message-icon-min-width, 24px);
min-inline-size: var(--utrecht-form-field-error-message-icon-min-width, 24px);
}
}
}

0 comments on commit 400958d

Please sign in to comment.