Skip to content

Commit

Permalink
feat: add creditcoin evm icons (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyifeng authored Sep 14, 2024
1 parent 0bf22dc commit a8ad425
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions lib/Chain/ChainIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ import {
ChainStafiDark,
ChainCreditcoinLight,
ChainCreditcoinDark,
ChainCreditcoinEvmLight,
ChainCreditcoinEvmDark,
} from "@osn/icons/opensquare";
import { capitalize } from "../utils";

Expand Down Expand Up @@ -214,6 +216,10 @@ const icons = {
light: ChainCreditcoinLight,
dark: ChainCreditcoinDark,
},
CreditcoinEvm: {
light: ChainCreditcoinEvmLight,
dark: ChainCreditcoinEvmDark,
},
};

function ChainIcon({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
],
"dependencies": {
"@floating-ui/react": "^0.26.6",
"@osn/icons": "^1.131.0",
"@osn/icons": "^1.132.0",
"@osn/polkadot-react-identicon": "^1.0.10",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-tooltip": "^1.0.7",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4762,7 +4762,7 @@ __metadata:
"@osn/common": ^1.3.7
"@osn/constants": ^1.1.2
"@osn/eslint-config": ^1.0.2
"@osn/icons": ^1.131.0
"@osn/icons": ^1.132.0
"@osn/polkadot-react-identicon": ^1.0.10
"@osn/previewer": ^0.12.8
"@osn/rich-text-editor": ^0.6.6
Expand Down Expand Up @@ -4872,10 +4872,10 @@ __metadata:
languageName: node
linkType: hard

"@osn/icons@npm:^1.131.0":
version: 1.131.0
resolution: "@osn/icons@npm:1.131.0"
checksum: efde477fe4692d300b1c169d3bf039eb0cb0b1039e10ff360c902b4ab49b69767ea63b1cb5786ee5fda425781090b543ccc9475e32c92b06e3422c5a20074d75
"@osn/icons@npm:^1.132.0":
version: 1.132.0
resolution: "@osn/icons@npm:1.132.0"
checksum: 2b53b3d87b79599d8f0e93232fb4bf8e60b80dd9a0622e8452d3ba5e13ffac6209b7647cb64e083a90d2f81370b63eed9f857d3bac727c23ee74ef8add255a4d
languageName: node
linkType: hard

Expand Down

0 comments on commit a8ad425

Please sign in to comment.