mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-12 09:27:01 +00:00
added desktop menu icons
This commit is contained in:
parent
f25fc0696a
commit
40f6acda2e
9 changed files with 43 additions and 10 deletions
4
assets/svg/address-book2.svg
Normal file
4
assets/svg/address-book2.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M11.25 12C12.907 12 14.25 10.657 14.25 9C14.25 7.34297 12.907 6 11.25 6C9.59344 6 8.25 7.34297 8.25 9C8.25 10.657 9.59531 12 11.25 12ZM12.75 13.5H9.75C7.67812 13.5 6 15.1781 6 17.25C6 17.6625 6.3375 18 6.75 18H15.75C16.1642 18 16.5 17.6642 16.5 17.25C16.5 15.1781 14.8219 13.5 12.75 13.5ZM23.25 3H21V7.5H23.25C23.6625 7.5 24 7.1625 24 6.75V3.75C24 3.33562 23.6625 3 23.25 3ZM23.25 15H21V19.5H23.25C23.6642 19.5 24 19.1642 24 18.75V15.75C24 15.3375 23.6625 15 23.25 15ZM23.25 9H21V13.5H23.25C23.6625 13.5 24 13.1625 24 12.75V9.75C24 9.3375 23.6625 9 23.25 9Z" fill="#232323"/>
|
||||
<path opacity="0.4" d="M18.75 0H3.75C2.50734 0 1.5 1.00734 1.5 2.25V21.75C1.5 22.9922 2.50734 24 3.75 24H18.75C19.9927 24 21 22.9927 21 21.75V2.25C21 1.00734 19.9922 0 18.75 0ZM11.25 6C12.907 6 14.25 7.34297 14.25 9C14.25 10.657 12.907 12 11.25 12C9.59344 12 8.25 10.657 8.25 9C8.25 7.34297 9.59531 6 11.25 6ZM15.75 18H6.75C6.3375 18 6 17.6625 6 17.25C6 15.1781 7.67812 13.5 9.75 13.5H12.75C14.8209 13.5 16.5 15.1791 16.5 17.25C16.5 17.6625 16.1625 18 15.75 18Z" fill="#232323"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
3
assets/svg/chevron-right.svg
Normal file
3
assets/svg/chevron-right.svg
Normal file
|
@ -0,0 +1,3 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M9 18L15 12L9 6" stroke="#8E9192" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
After Width: | Height: | Size: 212 B |
4
assets/svg/exchange-3.svg
Normal file
4
assets/svg/exchange-3.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="24" height="24" rx="4" fill="#999999"/>
|
||||
<path d="M4.11878 12.405C3.62916 12.8917 3.62678 13.6832 4.11346 14.1728C4.60014 14.6624 5.3916 14.6648 5.88122 14.1781L4.11878 12.405ZM13.2994 5.04199L14.5492 5.06674C14.5558 4.7329 14.4285 4.41028 14.1958 4.17083C13.9631 3.93137 13.6443 3.79497 13.3104 3.79204L13.2994 5.04199ZM8.52393 3.75005C7.8336 3.74399 7.26907 4.2987 7.26301 4.98903C7.25696 5.67936 7.81167 6.2439 8.502 6.24995L8.52393 3.75005ZM11.9581 9.64191C11.9444 10.3321 12.4928 10.9028 13.1831 10.9164C13.8733 10.9301 14.4439 10.3816 14.4576 9.69141L11.9581 9.64191ZM19.8812 11.595C20.3708 11.1083 20.3732 10.3168 19.8865 9.82721C19.3999 9.33759 18.6084 9.3352 18.1188 9.82189L19.8812 11.595ZM10.7006 18.958L9.45135 18.9148C9.4397 19.2518 9.56465 19.5791 9.79784 19.8226C10.031 20.0661 10.3527 20.205 10.6898 20.208L10.7006 18.958ZM15.5444 20.25C16.2348 20.2559 16.7992 19.7011 16.8052 19.0108C16.8112 18.3205 16.2564 17.756 15.5661 17.75L15.5444 20.25ZM12.1096 14.3765C12.1335 13.6866 11.5935 13.1079 10.9036 13.0841C10.2136 13.0602 9.63497 13.6002 9.61114 14.2902L12.1096 14.3765ZM5.88122 14.1781L14.1806 5.92853L12.4182 4.15545L4.11878 12.405L5.88122 14.1781ZM8.502 6.24995L13.2884 6.29194L13.3104 3.79204L8.52393 3.75005L8.502 6.24995ZM12.0496 5.01724L11.9581 9.64191L14.4576 9.69141L14.5492 5.06674L12.0496 5.01724ZM18.1188 9.82189L9.81938 18.0715L11.5818 19.8445L19.8812 11.595L18.1188 9.82189ZM15.5661 17.75L10.7114 17.708L10.6898 20.208L15.5444 20.25L15.5661 17.75ZM11.9499 19.0012L12.1096 14.3765L9.61114 14.2902L9.45135 18.9148L11.9499 19.0012Z" fill="#232323"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.7 KiB |
10
assets/svg/message-question-1.svg
Normal file
10
assets/svg/message-question-1.svg
Normal file
|
@ -0,0 +1,10 @@
|
|||
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_5241_16732)">
|
||||
<path d="M19.25 0H2.75C1.2302 0 0 1.22977 0 2.71133V15.0477C0 16.6461 1.2302 17.8363 2.75 17.8363H6.875V21.407C6.875 21.8313 7.3584 22.0739 7.69656 21.8216L13.0625 17.8363H19.25C20.7702 17.8363 22 16.6061 22 15.125V2.71133C22 1.22977 20.7711 0 19.25 0ZM10.7035 13.75C10.1148 13.75 9.625 13.2602 9.625 12.6328C9.625 12.0055 10.1148 11.5156 10.7035 11.5156C11.3695 11.5156 11.8594 12.0055 11.8594 12.6328C11.8594 13.2602 11.3695 13.75 10.7035 13.75ZM13.2215 8.73984L11.5745 9.73371V9.8047C11.5745 10.2662 11.1806 10.6568 10.7151 10.6568C10.2498 10.6568 9.85574 10.2663 9.85574 9.8047V9.19961C9.85574 8.91563 9.99891 8.63156 10.2854 8.4541L12.3264 7.24711C12.577 7.14141 12.7188 6.89219 12.7188 6.60859C12.7188 6.1826 12.3606 5.82785 11.9311 5.82785H10.0676C9.63789 5.82785 9.27996 6.18277 9.27996 6.60859C9.27996 7.07008 8.88611 7.46066 8.42059 7.46066C7.95506 7.46066 7.5625 7.07266 7.5625 6.60859C7.5625 5.225 8.67109 4.125 10.0676 4.125H11.9294C13.3289 4.125 14.4375 5.225 14.4375 6.60859C14.4375 7.46367 13.9734 8.28008 13.2215 8.73984Z" fill="#232323"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_5241_16732">
|
||||
<rect width="22" height="22" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
4
assets/svg/wallet-fa.svg
Normal file
4
assets/svg/wallet-fa.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2.25 5.95781L21 6C21.0187 6 21.0422 6 21.0609 6C21.5859 6.01406 22.0734 6.16875 22.5 6.41719V6.40313C23.3953 6.91875 24 7.88906 24 9V19.5C24 21.1547 22.6547 22.5 21 22.5H3C1.34297 22.5 0 21.1547 0 19.5V3.75C0 4.99219 1.00734 6 2.25 6V5.95781ZM19.5 15.75C20.3297 15.75 21 15.0797 21 14.25C21 13.4203 20.3297 12.75 19.5 12.75C18.6703 12.75 18 13.4203 18 14.25C18 15.0797 18.6703 15.75 19.5 15.75Z" fill="#232323"/>
|
||||
<path opacity="0.4" d="M0 3.75C0 2.50734 1.00734 1.5 2.25 1.5H20.25C21.4922 1.5 22.5 2.50734 22.5 3.75V6.40313C22.0594 6.14531 21.5484 6 21 6H2.25C1.00734 6 0 4.99219 0 3.75Z" fill="#232323"/>
|
||||
</svg>
|
After Width: | Height: | Size: 719 B |
|
@ -79,7 +79,7 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
|
|||
children: [
|
||||
DesktopMenuItem(
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.bell,
|
||||
Assets.svg.walletFa,
|
||||
width: 20,
|
||||
height: 20,
|
||||
),
|
||||
|
@ -94,7 +94,7 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
|
|||
),
|
||||
DesktopMenuItem(
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.bell,
|
||||
Assets.svg.exchange3,
|
||||
width: 20,
|
||||
height: 20,
|
||||
),
|
||||
|
@ -124,7 +124,7 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
|
|||
),
|
||||
DesktopMenuItem(
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.bell,
|
||||
Assets.svg.addressBook2,
|
||||
width: 20,
|
||||
height: 20,
|
||||
),
|
||||
|
@ -139,7 +139,7 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
|
|||
),
|
||||
DesktopMenuItem(
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.bell,
|
||||
Assets.svg.gear,
|
||||
width: 20,
|
||||
height: 20,
|
||||
),
|
||||
|
@ -154,7 +154,7 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
|
|||
),
|
||||
DesktopMenuItem(
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.bell,
|
||||
Assets.svg.messageQuestion,
|
||||
width: 20,
|
||||
height: 20,
|
||||
),
|
||||
|
@ -169,7 +169,7 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
|
|||
),
|
||||
DesktopMenuItem(
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.bell,
|
||||
Assets.svg.messageQuestion,
|
||||
width: 20,
|
||||
height: 20,
|
||||
),
|
||||
|
@ -184,7 +184,7 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
|
|||
),
|
||||
DesktopMenuItem(
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.bell,
|
||||
Assets.svg.messageQuestion,
|
||||
width: 20,
|
||||
height: 20,
|
||||
),
|
||||
|
|
|
@ -51,6 +51,7 @@ class _SVG {
|
|||
String get lock => "assets/svg/lock-keyhole.svg";
|
||||
String get network => "assets/svg/network-wired.svg";
|
||||
String get addressBook => "assets/svg/address-book.svg";
|
||||
String get addressBook2 => "assets/svg/address-book2.svg";
|
||||
String get arrowRotate3 => "assets/svg/rotate-exclamation.svg";
|
||||
String get delete => "assets/svg/delete.svg";
|
||||
String get arrowRight => "assets/svg/arrow-right.svg";
|
||||
|
@ -110,8 +111,11 @@ class _SVG {
|
|||
String get firo => "assets/svg/coin_icons/Firo.svg";
|
||||
String get monero => "assets/svg/coin_icons/Monero.svg";
|
||||
|
||||
// desktop specific
|
||||
String get chevronRight => "assets/svg/chevron-right.svg";
|
||||
String get minimize => "assets/svg/minimize.svg";
|
||||
String get walletFa => "assets/svg/wallet-fa.svg";
|
||||
String get exchange3 => "assets/svg/exchange-3.svg";
|
||||
String get messageQuestion => "assets/svg/message-question-1.svg";
|
||||
|
||||
// TODO provide proper assets
|
||||
String get bitcoinTestnet => "assets/svg/coin_icons/Bitcoin.svg";
|
||||
|
|
|
@ -57,7 +57,7 @@ class WalletInfoRow extends ConsumerWidget {
|
|||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
SvgPicture.asset(
|
||||
Assets.svg.chevronDown,
|
||||
Assets.svg.chevronRight,
|
||||
width: 6,
|
||||
height: 12,
|
||||
color: CFColors.textSubtitle1,
|
||||
|
|
|
@ -219,6 +219,7 @@ flutter:
|
|||
- assets/svg/folder-down.svg
|
||||
- assets/svg/network-wired.svg
|
||||
- assets/svg/address-book.svg
|
||||
- assets/svg/address-book2.svg
|
||||
- assets/svg/arrow-right.svg
|
||||
- assets/svg/delete.svg
|
||||
- assets/svg/dollar-sign.svg
|
||||
|
@ -278,8 +279,11 @@ flutter:
|
|||
- assets/svg/socials/reddit-alien-brands.svg
|
||||
- assets/svg/socials/twitter-brands.svg
|
||||
- assets/svg/socials/telegram-brands.svg
|
||||
# desktop specific
|
||||
- assets/svg/chevron-right.svg
|
||||
- assets/svg/minimize.svg
|
||||
- assets/svg/wallet-fa.svg
|
||||
- assets/svg/exchange-3.svg
|
||||
- assets/svg/message-question-1.svg
|
||||
|
||||
# An image asset can refer to one or more resolution-specific "variants", see
|
||||
# https://flutter.dev/assets-and-images/#resolution-aware.
|
||||
|
|
Loading…
Reference in a new issue