Skip to content

Commit

Permalink
chore: fix selection highlight and update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Jul 17, 2023
1 parent 395c3b6 commit 0f1c6d8
Show file tree
Hide file tree
Showing 6 changed files with 234 additions and 278 deletions.
10 changes: 5 additions & 5 deletions examples/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@
"@preact/signals": "^1.1.5",
"filsnap-adapter": "workspace:^",
"iso-filecoin": "^1.0.0",
"metamask-testing-tools": "^1.1.1",
"metamask-testing-tools": "^1.1.2",
"preact": "^10.16.0",
"react-hook-form": "^7.45.1",
"water.css": "^2.1.1"
},
"devDependencies": {
"@babel/core": "^7.22.8",
"@playwright/test": "^1.36.0",
"@babel/core": "^7.22.9",
"@playwright/test": "^1.36.1",
"@preact/preset-vite": "^2.5.0",
"@types/node": "^20.4.1",
"vite": "^4.4.3"
"@types/node": "^20.4.2",
"vite": "^4.4.4"
},
"eslintConfig": {
"extends": [
Expand Down
7 changes: 5 additions & 2 deletions examples/demo/src/styles/index.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
@import '@acab/reset.css';
@import 'water.css';

:where(html) {
color-scheme: normal;
@media (prefers-color-scheme: dark) {
::selection {
/* chrome for some reason doesnt inherit the custom variable here */
background-color: #1c76c5;
}
}

:where(:root) body {
Expand Down
6 changes: 3 additions & 3 deletions packages/adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
"filsnap": "workspace:^"
},
"devDependencies": {
"@playwright/test": "^1.36.0",
"@types/node": "^20.4.1",
"metamask-testing-tools": "^1.1.1",
"@playwright/test": "^1.36.1",
"@types/node": "^20.4.2",
"metamask-testing-tools": "^1.1.2",
"typescript": "5.1.6"
},
"eslintConfig": {
Expand Down
10 changes: 5 additions & 5 deletions packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
"@metamask/snaps-cli": "^0.32.2",
"@metamask/snaps-rollup-plugin": "^0.32.2",
"@metamask/snaps-types": "^0.32.2",
"@playwright/test": "^1.36.0",
"@rollup/plugin-commonjs": "^25.0.2",
"@playwright/test": "^1.36.1",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-sucrase": "^5.0.1",
"@rollup/plugin-terser": "^0.4.3",
Expand All @@ -83,10 +83,10 @@
"chai-as-promised": "^7.1.1",
"chai-parentheses": "^0.0.2",
"chai-subset": "^1.6.0",
"metamask-testing-tools": "^1.1.1",
"metamask-testing-tools": "^1.1.2",
"mocha": "^10.2.0",
"playwright-test": "^11.0.3",
"rollup": "^3.26.2",
"playwright-test": "^12.1.1",
"rollup": "^3.26.3",
"sinon": "^15.2.0",
"sinon-chai": "^3.7.0",
"typescript": "5.1.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/filecoin-project/filsnap.git"
},
"source": {
"shasum": "yg/RkF6tdMsz0DjWCbkk61No3aupdJVAuMYsvsB9pBU=",
"shasum": "I97a3gV9O2xYu0GO/tJKuCrSQxAN/G3lQL8M7LBCaVw=",
"location": {
"npm": {
"filePath": "dist/snap.js",
Expand Down

0 comments on commit 0f1c6d8

Please sign in to comment.