Skip to content

Commit

Permalink
wallet-ext: add font icons for home screen
Browse files Browse the repository at this point in the history
* coins
* hand-coins
* percentage-polygon
  • Loading branch information
pchrysochoidis committed Jul 19, 2022
1 parent 3aae3fd commit 7739e10
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 30 deletions.
3 changes: 3 additions & 0 deletions wallet/font-icons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ It will be useful to also document here the source of each icon.
- [clipboard.svg](./svgs/clipboard.svg) - exported from [figma](https://www.figma.com/file/OzLaRFzevjxdQAbybWEZk0/Sui-Visualize?node-id=1609%3A19253)
- [logout.svg](./svgs/logout.svg) - exported from [figma](https://www.figma.com/file/OzLaRFzevjxdQAbybWEZk0/Sui-Visualize?node-id=1609%3A19253)
- [sui-chevron-right.svg](./svgs/sui-chevron-right.svg) - exported from [figma](https://www.figma.com/file/OzLaRFzevjxdQAbybWEZk0/Sui-Visualize?node-id=1607%3A18842)
- [coins.svg](./svgs/coins.svg) - exported from [figma](https://www.figma.com/file/OzLaRFzevjxdQAbybWEZk0/Sui-Visualize?node-id=2251%3A47447)
- [hand-coins.svg](./svgs/hand-coins.svg) - exported from [figma](https://www.figma.com/file/OzLaRFzevjxdQAbybWEZk0/Sui-Visualize?node-id=2251%3A47447)
- [percentage-polygon.svg](./svgs/percentage-polygon.svg) - exported from [figma](https://www.figma.com/file/OzLaRFzevjxdQAbybWEZk0/Sui-Visualize?node-id=2251%3A47447)

# Troubleshooting

Expand Down
Binary file modified wallet/font-icons/output/sui-icons.eot
Binary file not shown.
42 changes: 24 additions & 18 deletions wallet/font-icons/output/sui-icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,32 @@ url('./sui-icons.svg#sui-icons') format('svg');
.sui-icons-apps:before { content: "\ea01"; }
.sui-icons-arrow-left:before { content: "\ea02"; }
.sui-icons-clipboard:before { content: "\ea03"; }
.sui-icons-globe:before { content: "\ea04"; }
.sui-icons-history:before { content: "\ea05"; }
.sui-icons-logout:before { content: "\ea06"; }
.sui-icons-nfts:before { content: "\ea07"; }
.sui-icons-person:before { content: "\ea08"; }
.sui-icons-sui-chevron-right:before { content: "\ea09"; }
.sui-icons-sui-logo-icon:before { content: "\ea0a"; }
.sui-icons-sui-logo-txt:before { content: "\ea0b"; }
.sui-icons-tokens:before { content: "\ea0c"; }
.sui-icons-coins:before { content: "\ea04"; }
.sui-icons-globe:before { content: "\ea05"; }
.sui-icons-hand-coins:before { content: "\ea06"; }
.sui-icons-history:before { content: "\ea07"; }
.sui-icons-logout:before { content: "\ea08"; }
.sui-icons-nfts:before { content: "\ea09"; }
.sui-icons-percentage-polygon:before { content: "\ea0a"; }
.sui-icons-person:before { content: "\ea0b"; }
.sui-icons-sui-chevron-right:before { content: "\ea0c"; }
.sui-icons-sui-logo-icon:before { content: "\ea0d"; }
.sui-icons-sui-logo-txt:before { content: "\ea0e"; }
.sui-icons-tokens:before { content: "\ea0f"; }

$sui-icons-apps: "\ea01";
$sui-icons-arrow-left: "\ea02";
$sui-icons-clipboard: "\ea03";
$sui-icons-globe: "\ea04";
$sui-icons-history: "\ea05";
$sui-icons-logout: "\ea06";
$sui-icons-nfts: "\ea07";
$sui-icons-person: "\ea08";
$sui-icons-sui-chevron-right: "\ea09";
$sui-icons-sui-logo-icon: "\ea0a";
$sui-icons-sui-logo-txt: "\ea0b";
$sui-icons-tokens: "\ea0c";
$sui-icons-coins: "\ea04";
$sui-icons-globe: "\ea05";
$sui-icons-hand-coins: "\ea06";
$sui-icons-history: "\ea07";
$sui-icons-logout: "\ea08";
$sui-icons-nfts: "\ea09";
$sui-icons-percentage-polygon: "\ea0a";
$sui-icons-person: "\ea0b";
$sui-icons-sui-chevron-right: "\ea0c";
$sui-icons-sui-logo-icon: "\ea0d";
$sui-icons-sui-logo-txt: "\ea0e";
$sui-icons-tokens: "\ea0f";

29 changes: 19 additions & 10 deletions wallet/font-icons/output/sui-icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions wallet/font-icons/output/sui-icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@ export enum SuiIcons {
Apps = "sui-icons-apps",
ArrowLeft = "sui-icons-arrow-left",
Clipboard = "sui-icons-clipboard",
Coins = "sui-icons-coins",
Globe = "sui-icons-globe",
HandCoins = "sui-icons-hand-coins",
History = "sui-icons-history",
Logout = "sui-icons-logout",
Nfts = "sui-icons-nfts",
PercentagePolygon = "sui-icons-percentage-polygon",
Person = "sui-icons-person",
SuiChevronRight = "sui-icons-sui-chevron-right",
SuiLogoIcon = "sui-icons-sui-logo-icon",
SuiLogoTxt = "sui-icons-sui-logo-txt",
Tokens = "sui-icons-tokens"
}

export type SuiIconsClassname = "sui-icons-apps" | "sui-icons-arrow-left" | "sui-icons-clipboard" | "sui-icons-globe" | "sui-icons-history" | "sui-icons-logout" | "sui-icons-nfts" | "sui-icons-person" | "sui-icons-sui-chevron-right" | "sui-icons-sui-logo-icon" | "sui-icons-sui-logo-txt" | "sui-icons-tokens"
export type SuiIconsIcon = "apps" | "arrow-left" | "clipboard" | "globe" | "history" | "logout" | "nfts" | "person" | "sui-chevron-right" | "sui-logo-icon" | "sui-logo-txt" | "tokens"
export type SuiIconsClassname = "sui-icons-apps" | "sui-icons-arrow-left" | "sui-icons-clipboard" | "sui-icons-coins" | "sui-icons-globe" | "sui-icons-hand-coins" | "sui-icons-history" | "sui-icons-logout" | "sui-icons-nfts" | "sui-icons-percentage-polygon" | "sui-icons-person" | "sui-icons-sui-chevron-right" | "sui-icons-sui-logo-icon" | "sui-icons-sui-logo-txt" | "sui-icons-tokens"
export type SuiIconsIcon = "apps" | "arrow-left" | "clipboard" | "coins" | "globe" | "hand-coins" | "history" | "logout" | "nfts" | "percentage-polygon" | "person" | "sui-chevron-right" | "sui-logo-icon" | "sui-logo-txt" | "tokens"
export const SuiIconsPrefix = "sui-icons-"
Binary file modified wallet/font-icons/output/sui-icons.ttf
Binary file not shown.
Binary file modified wallet/font-icons/output/sui-icons.woff
Binary file not shown.
Binary file modified wallet/font-icons/output/sui-icons.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions wallet/font-icons/svgs/coins.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions wallet/font-icons/svgs/hand-coins.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7739e10

Please sign in to comment.