diff --git a/packages/extension/src/ui/action/styles/color.less b/packages/extension/src/ui/action/styles/color.less index d500b42fd..6284ca38f 100644 --- a/packages/extension/src/ui/action/styles/color.less +++ b/packages/extension/src/ui/action/styles/color.less @@ -5,10 +5,12 @@ @secondaryLabel: #5f6368; @tertiaryLabel: rgba(0, 0, 0, 0.38); @black: #000000; +@black06: rgba(0, 0, 0, 0.6); @black07: rgba(0, 0, 0, 0.7); @black007: rgba(0, 0, 0, 0.07); @black004: rgba(0, 0, 0, 0.04); @white: #ffffff; +@grayPrimary: rgba(95, 99, 104, 1); @gray01: rgba(95, 99, 104, 0.1); @gray02: rgba(95, 99, 104, 0.2); @white07: rgba(255, 255, 255, 0.7); diff --git a/packages/extension/src/ui/action/views/asset-detail-view/index.vue b/packages/extension/src/ui/action/views/asset-detail-view/index.vue index 1e484a44b..20353f0f7 100644 --- a/packages/extension/src/ui/action/views/asset-detail-view/index.vue +++ b/packages/extension/src/ui/action/views/asset-detail-view/index.vue @@ -39,6 +39,7 @@ {{ token.priceChangePercentage.toFixed(2) }}% + Last 24h

@@ -156,6 +157,14 @@ const close = () => { height: auto; box-sizing: border-box; + &__last-24 { + font-weight: 400; + font-size: 12px; + line-height: 16px; + letter-spacing: 0.5px; + color: @grayPrimary; + } + &__wrap { background: @white; box-shadow: diff --git a/packages/extension/src/ui/action/views/network-assets/index.vue b/packages/extension/src/ui/action/views/network-assets/index.vue index 87811e70c..4822a67cf 100644 --- a/packages/extension/src/ui/action/views/network-assets/index.vue +++ b/packages/extension/src/ui/action/views/network-assets/index.vue @@ -14,6 +14,11 @@ /> +
+
TOKEN
+
LAST 24HR
+
VALUE
+
{ height: 100%; box-sizing: border-box; + &__headers { + display: flex; + align-items: center; + justify-content: space-between; + width: 350px; + height: 21px; + padding: 0 20px 0 65px; + margin: 12px 12px 0; + font-size: 10px; + color: @black06; + font-weight: 500; + line-height: 11px; + + div { + text-align: left; + } + + div:nth-child(2) { + width: 65px; + } + } + &__scroll-area { position: relative; margin: auto;