-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨feat(lld/ui): add sat icons to lib (#7734)
- Loading branch information
1 parent
5f88c36
commit 255f035
Showing
32 changed files
with
272 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"ledger-live-desktop": patch | ||
"@ledgerhq/ui": patch | ||
--- | ||
|
||
Add rare satoshis icons to ui package and a mapping inside LLD to use them |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
apps/ledger-live-desktop/src/newArch/features/Collectibles/Ordinals/components/Icons.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React from "react"; | ||
import { Icons } from "@ledgerhq/react-ui"; | ||
|
||
export const mappingKeysWithIconAndName = { | ||
alpha: { icon: <Icons.OrdinalsAlpha />, name: "Alpha" }, | ||
black_epic: { icon: <Icons.OrdinalsBlackEpic />, name: "Black Epic" }, | ||
black_legendary: { icon: <Icons.OrdinalsBlackLegendary />, name: "Black Legendary" }, | ||
black_mythic: { icon: <Icons.OrdinalsBlackMythic />, name: "Black Mythic" }, | ||
black_rare: { icon: <Icons.OrdinalsBlackRare />, name: "Black Rare" }, | ||
black_uncommon: { icon: <Icons.OrdinalsBlackUncommon />, name: "Black Uncommon" }, | ||
block_9: { icon: <Icons.OrdinalsBlock9 />, name: "Block 9" }, | ||
block_9_450x: { icon: <Icons.OrdinalsBlock9450X />, name: "Block 9 450x" }, | ||
block_78: { icon: <Icons.OrdinalsBlock78 />, name: "Block 78" }, | ||
block_286: { icon: <Icons.OrdinalsBlock286 />, name: "Block 286" }, | ||
block_666: { icon: <Icons.OrdinalsBlock666 />, name: "Block 666" }, | ||
common: { icon: <Icons.OrdinalsCommon />, name: "Common" }, | ||
epic: { icon: <Icons.OrdinalsEpic />, name: "Epic" }, | ||
first_tx: { icon: <Icons.OrdinalsFirstTx />, name: "First Transaction" }, | ||
hitman: { icon: <Icons.OrdinalsHitman />, name: "Hitman" }, | ||
jpeg: { icon: <Icons.OrdinalsJpeg />, name: "JPEG" }, | ||
legacy: { icon: <Icons.OrdinalsLegacy />, name: "Legacy" }, | ||
legendary: { icon: <Icons.OrdinalsLegendary />, name: "Legendary" }, | ||
mythic: { icon: <Icons.OrdinalsMythic />, name: "Mythic" }, | ||
nakamoto: { icon: <Icons.OrdinalsNakamoto />, name: "Nakamoto" }, | ||
omega: { icon: <Icons.OrdinalsOmega />, name: "Omega" }, | ||
paliblock: { icon: <Icons.OrdinalsPaliblockPalindrome />, name: "PaliBlock Palindrome" }, | ||
palindrome: { icon: <Icons.OrdinalsPalindrome />, name: "Palindrome" }, | ||
palinception: { icon: <Icons.OrdinalsPalinception />, name: "Palinception" }, | ||
pizza: { icon: <Icons.OrdinalsPizza />, name: "Pizza" }, | ||
rare: { icon: <Icons.OrdinalsRare />, name: "Rare" }, | ||
uncommon: { icon: <Icons.OrdinalsUncommon />, name: "Uncommon" }, | ||
vintage: { icon: <Icons.OrdinalsVintage />, name: "Vintage" }, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
libs/ui/packages/icons/src/svg/ordinals-black-legendary.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.