Transaction summary design followup fixes (#17360)

This commit is contained in:
Volodymyr Kozieiev 2023-09-27 11:54:41 +01:00 committed by GitHub
parent db787f9d4b
commit 79f7b6c6ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 725 B

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1007 B

After

Width:  |  Height:  |  Size: 1001 B

View File

@ -50,7 +50,8 @@
(defn divider
[theme]
{:height 1
:margin-vertical 4
:margin-top 4
:margin-bottom 3
:background-color (colors/theme-colors colors/neutral-10 colors/neutral-80 theme)})
(defn extra-info-header

View File

@ -12,6 +12,13 @@
:amount 1500
:token-logo (quo.resources/get-token :snt)})
(def asset-eth
{:size 24
:type :token
:token-name "ETH"
:amount 75
:token-logo (quo.resources/get-token :eth)})
(def asset-dai
{:size 24
:type :token
@ -38,6 +45,13 @@
:account-name "Piggy bank"
:emoji "🐷"})
(def collectibles-vault
{:size 24
:type :account
:account-name "Collectibles vault"
:customization-color :orange
:emoji "🎮"})
(def aretha-gosling
{:size 24
:type :default
@ -50,6 +64,12 @@
:full-name "James Bond"
:profile-picture (resources/mock-images :user-picture-male4)})
(def mark-libot
{:size 24
:type :default
:full-name "Mark Libot"
:profile-picture (resources/mock-images :user-picture-male4)})
(def mainnet
{:size 24
:type :network
@ -90,6 +110,8 @@
(def context-tags
[{:key asset-snt
:value "SNT"}
{:key asset-eth
:value "ETH"}
{:key asset-dai
:value "UNK"}
{:key asset-collectible
@ -98,8 +120,12 @@
:value "Account: Trip to Vegas"}
{:key piggy-bank
:value "Account: Piggy bank"}
{:key collectibles-vault
:value "Account: Collectibles vault"}
{:key aretha-gosling
:value "Person: Aretha Gosling"}
{:key mark-libot
:value "Person: Mark Libot"}
{:key james-bond
:value "Person: James Bond"}
{:key mainnet