Skip to content

Commit

Permalink
fix: near button
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoCSolari committed Aug 29, 2022
1 parent 9e5c428 commit 59a3d81
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.vercel
File renamed without changes
9 changes: 5 additions & 4 deletions src/contexts/WalletSelectorContext.css
Original file line number Diff line number Diff line change
Expand Up @@ -451,24 +451,25 @@
}
}

.nws-modal-wrapper.dark-theme .modal #near-wallet img,
/*.nws-modal-wrapper.dark-theme .modal #near-wallet img,
.nws-modal-wrapper.dark-theme .modal #math-wallet img,
.nws-modal-wrapper.dark-theme .modal #ledger img,
.nws-modal-wrapper.dark-theme .modal .wallet-not-installed-wrapper .math-wallet img {
filter: invert(1);
}

*/
.nws-modal-wrapper.dark-theme .spinner .icon {
box-shadow: 0 10px 20px 0 rgb(255 255 255 / 5%)
}

@media (prefers-color-scheme: dark) {
.nws-modal-wrapper .modal #near-wallet img,

/*.nws-modal-wrapper .modal #near-wallet img,
.nws-modal-wrapper .modal #math-wallet img,
.nws-modal-wrapper .modal #ledger img,
.nws-modal-wrapper .modal .wallet-not-installed-wrapper .math-wallet img {
filter: invert(1);
}
}*/

.nws-modal-wrapper .spinner .icon {
box-shadow: 0 10px 20px 0 rgb(255 255 255 / 5%)
Expand Down
2 changes: 1 addition & 1 deletion src/contexts/WalletSelectorContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { TicTacToeContract } from "../near/contracts/TicTacToe";
import { SelectorWallet } from "../near/wallet/wallet-selector";
import { ENV, getEnv } from "../near/config";
import { TicTacToeLogic } from "../near/logics/TicTacToeLogic";
import nearIcon from "../assets/near_icon.png";
import nearIcon from "../assets/near-icon.png";
import senderIcon from "../assets/sender-icon.png";

declare global {
Expand Down

1 comment on commit 59a3d81

@vercel
Copy link

@vercel vercel bot commented on 59a3d81 Aug 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.