Skip to content

Commit b82286d

Browse files
langermankjonrohan
andauthored
Bump stylelint + fixes (#4987)
* bump + fixes * Create weak-hats-type.md * fix mixin --------- Co-authored-by: Jon Rohan <yes@jonrohan.codes>
1 parent d6471aa commit b82286d

File tree

10 files changed

+93
-627
lines changed

10 files changed

+93
-627
lines changed

.changeset/weak-hats-type.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
Bump stylelint + fixes

.vscode/settings.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
"source.fixAll.stylelint": "explicit"
1818
}
1919
},
20+
"stylelint.validate": [
21+
"css",
22+
"postcss"
23+
],
2024
"json.schemas": [
2125
{
2226
"fileMatch": ["*.docs.json"],
@@ -26,5 +30,17 @@
2630
"fileMatch": ["generated/components.json"],
2731
"url": "./packages/react/script/components-json/output.schema.json"
2832
}
29-
]
33+
],
34+
"cssvar.ignore": [
35+
// exclude all but light theme, to avoid stacking suggestions
36+
"node_modules/@primer/primitives/dist/css/functional/themes/dark-colorblind.css",
37+
"node_modules/@primer/primitives/dist/css/functional/themes/dark-dimmed.css",
38+
"node_modules/@primer/primitives/dist/css/functional/themes/dark-high-contrast.css",
39+
"node_modules/@primer/primitives/dist/css/functional/themes/dark-tritanopia.css",
40+
"node_modules/@primer/primitives/dist/css/functional/themes/dark.css",
41+
"node_modules/@primer/primitives/dist/css/functional/themes/light-colorblind.css",
42+
"node_modules/@primer/primitives/dist/css/functional/themes/light-high-contrast.css",
43+
"node_modules/@primer/primitives/dist/css/functional/themes/light-tritanopia.css"
44+
],
45+
"cssvar.files": ["node_modules/@primer/primitives/dist/css/**/*.css"]
3046
}

0 commit comments

Comments
 (0)