Skip to content

Commit badfbf2

Browse files
authored
chore: lint CSS in nested folders, fix Stylelint warnings (#9259)
1 parent db467b5 commit badfbf2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"docs": "yarn analyze && web-dev-server --node-resolve --open",
1313
"icons": "lerna run icons",
1414
"lint": "npm-run-all --parallel lint:*",
15-
"lint:css": "stylelint --ignore-path .gitignore packages/**/src/*.js packages/**/theme/**/*-styles.js packages/**/*.css",
15+
"lint:css": "stylelint --ignore-path .gitignore packages/**/src/**/*.js packages/**/theme/**/*-styles.js packages/**/*.css",
1616
"lint:js": "eslint --ext .js,.ts *.js scripts packages test",
1717
"lint:types": "tsc",
1818
"postinstall": "patch-package",

packages/a11y-base/src/styles/sr-only-styles.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export const screenReaderOnly = css`
1515
.sr-only {
1616
border: 0 !important;
1717
clip: rect(1px, 1px, 1px, 1px) !important;
18-
-webkit-clip-path: inset(50%) !important;
1918
clip-path: inset(50%) !important;
2019
height: 1px !important;
2120
margin: -1px !important;

packages/field-base/src/styles/field-core-styles.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ export const field = css`
3232
outline: 1px solid;
3333
outline-offset: -1px;
3434
}
35+
3536
:host([focused]) [part='input-field'] {
3637
outline-width: 2px;
3738
}
39+
3840
:host([disabled]) [part='input-field'] {
3941
outline-color: GrayText;
4042
}

0 commit comments

Comments
 (0)