mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-18 19:30:27 +08:00
Color "safe" badge differently
This commit is contained in:
@@ -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
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user