fix: change frozen icon (#379)

This commit is contained in:
Daniel 2022-07-07 13:11:20 +02:00 committed by GitHub
parent 0f7d590e35
commit b4590c9be1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -288,4 +288,7 @@
<path fill-rule="evenodd" d="M20.854 10.308c.6 2.411-.923 4.867-3.403 5.486-.31.077-.621.122-.928.137l-2.666 4.298a2 2 0 01-1.216.887l-1.236.308a1 1 0 01-1.212-.729l-.28-1.12a2 2 0 01.241-1.538l2.445-3.943a4.38 4.38 0 01-.728-1.547c-.6-2.411.922-4.867 3.403-5.486 2.48-.618 4.978.835 5.58 3.247zm-3.872 1.48c.552-.137.89-.683.756-1.219-.133-.536-.688-.859-1.24-.721-.55.137-.89.683-.756 1.219s.69.859 1.24.721z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M11.251 12.187c2.48-.619 4.004-3.075 3.403-5.486-.601-2.412-3.1-3.865-5.58-3.247-2.48.618-4.004 3.075-3.402 5.486.143.575.394 1.096.728 1.547l-2.445 3.942a2 2 0 00-.241 1.538l.28 1.121a1 1 0 001.211.728l1.236-.308a2 2 0 001.216-.886l2.666-4.298c.307-.015.618-.06.928-.137zm.288-5.225c.133.536-.205 1.082-.756 1.219s-1.106-.186-1.24-.721c-.134-.536.205-1.082.756-1.22.551-.137 1.106.186 1.24.722z" clip-rule="evenodd"></path>
</symbol >
<svg id="snowflake" viewBox="0 0 24 24" fill="currentColor">
<path fill-rule="evenodd" d="M12 3.25a.75.75 0 01.75.75v3.175l2.22-2.22a.75.75 0 111.06 1.06l-3.28 3.281v1.954h1.925l3.295-3.295a.75.75 0 111.06 1.06l-2.234 2.235H20a.75.75 0 010 1.5h-3.175l2.205 2.205a.75.75 0 11-1.06 1.06l-3.266-3.265H12.75v1.925l3.28 3.28a.75.75 0 11-1.06 1.06l-2.22-2.219V20a.75.75 0 01-1.5 0v-3.204l-2.22 2.22a.75.75 0 01-1.06-1.06l3.28-3.281V12.75H9.296L6.03 16.016a.75.75 0 01-1.06-1.06l2.205-2.206H4a.75.75 0 010-1.5h3.204L4.97 9.016a.75.75 0 011.06-1.06l3.295 3.294h1.925V9.296l-3.28-3.28a.75.75 0 111.06-1.06l2.22 2.219V4a.75.75 0 01.75-.75z" clip-rule="evenodd"></path>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Before After
Before After

View file

@ -126,7 +126,6 @@
.utxoCard > .utxoLabel.utxoFrozen > svg {
color: #2d9cdb;
margin-bottom: 0.1rem;
}
.utxoCard > .utxoLabel.utxoFidelityBond > svg {

View file

@ -134,7 +134,7 @@ const UtxoCard = ({
)}
{!isLoading && utxo.frozen && !utxoIsLocked && (
<div className={cx('utxoLabel', 'utxoFrozen')}>
<Sprite symbol="lock" width="18" height="18" />
<Sprite symbol="snowflake" width="18" height="18" />
<div>frozen</div>
</div>
)}