Skip to content

Commit

Permalink
Upgrade stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
iddan committed Dec 30, 2024
1 parent c20c408 commit 0269ac6
Show file tree
Hide file tree
Showing 5 changed files with 331 additions and 927 deletions.
6 changes: 3 additions & 3 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const config: StorybookConfig = {
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-webpack5-compiler-swc",
"@chromatic-com/storybook"
"@chromatic-com/storybook",
],

framework: {
Expand All @@ -18,7 +18,7 @@ const config: StorybookConfig = {
docs: {},

typescript: {
reactDocgen: "react-docgen-typescript"
}
reactDocgen: "react-docgen-typescript",
},
};
export default config;
5 changes: 4 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "stylelint-config-standard"
"extends": "stylelint-config-standard",
"rules": {
"selector-class-pattern": null
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
"rollup-plugin-typescript2": "^0.35.0",
"scheduler": "^0.20.0",
"storybook": "^8.4.7",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"stylelint": "^16.12.0",
"stylelint-config-standard": "36.0.1",
"ts-jest": "^29.1.0",
"tslib": "^2.3.1",
"typedoc": "^0.23.28",
Expand Down
16 changes: 8 additions & 8 deletions src/Spreadsheet.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.Spreadsheet {
--background-color: white;
--text-color: black;
--readonly-text-color: rgba(0, 0, 0, 0.4);
--readonly-text-color: rgb(0 0 0 / 40%);
--outline-color: #4285f4;
--outline-background-color: rgba(160, 195, 255, 0.2);
--border-color: hsl(2deg, 0%, 91%);
--header-background-color: rgba(0, 0, 0, 0.04);
--elevation: 0 2px 5px rgba(0, 0, 0, 0.4);
--outline-background-color: rgb(160 195 255 / 20%);
--border-color: hsl(2deg 0% 91%);
--header-background-color: rgb(0 0 0 / 4%);
--elevation: 0 2px 5px rgb(0 0 0 / 40%);

position: relative;
overflow: visible;
Expand All @@ -18,9 +18,9 @@
.Spreadsheet--dark-mode {
--background-color: black;
--text-color: white;
--readonly-text-color: rgba(255, 255, 255, 0.4);
--header-background-color: rgba(255, 255, 255, 0.04);
--border-color: hsl(2deg, 0%, 19%);
--readonly-text-color: rgb(255 255 255 / 40%);
--header-background-color: rgb(255 255 255 / 4%);
--border-color: hsl(2deg 0% 19%);
}

.Spreadsheet__active-cell {
Expand Down
Loading

0 comments on commit 0269ac6

Please sign in to comment.