Color "safe" badge differently

This commit is contained in:
Alexis Sellier
2021-06-03 16:07:02 +02:00
parent 8f9efa51be
commit 36196ed7fc
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -22,6 +22,8 @@
--color-tertiary-1: #214047;
--color-tertiary-2: #2c326d;
--color-tertiary-6: #e3e3ff;
--color-yellow: #ffff99;
--color-yellow-background: #ffff9911;
--color-positive: #53db53;
--color-positive-1: #21402f;
--color-positive-2: #2c6837;
@@ -262,6 +264,10 @@ input.wide {
color: var(--color-tertiary);
background: var(--color-tertiary-background);
}
.badge.safe {
color: var(--color-yellow);
background: var(--color-yellow-background);
}
span.small {
font-size: 0.75rem;
+1 -1
View File
@@ -55,7 +55,7 @@
<span class="badge">org</span>
{:else if addressType === AddressType.Safe}
<a href={safeLink(address, config)} target="_blank">{addressLabel}</a>
<span class="badge">safe</span>
<span class="badge safe">safe</span>
{:else}
<a href={explorerLink(address, config)} target="_blank">{addressLabel}</a>
{#if addressType === AddressType.Contract}