Skip to content

Commit

Permalink
Replace icon (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanasa authored Oct 23, 2023
1 parent 0ae47e7 commit 9ab2733
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
15 changes: 1 addition & 14 deletions tools/ui/src/auth/icons.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
export const dfinityLogo = `
<svg width="14.5833" height="14" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_3323_81170)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.7256 6.51327C21.5297 6.49415 21.3336 6.49629 21.1399 6.52028C19.5323 6.71938 18.7738 8.11313 19.0586 10.4029C19.3187 12.4935 20.3789 14.71 22.4408 14.4846C22.5719 14.4702 22.6979 14.4492 22.8186 14.4219C21.6881 19.406 17.262 23.1245 11.9742 23.1245C5.83052 23.1245 0.850098 18.1049 0.850098 11.9129C0.850098 5.72081 5.83052 0.701172 11.9742 0.701172C16.1756 0.701172 19.833 3.04867 21.7256 6.51327ZM9.43409 19.6209C14.1749 19.6209 18.7188 15.2522 18.7188 10.5114C18.7188 5.77062 16.1019 1.92746 11.3611 1.92746C6.2808 1.92746 1.55088 6.47135 1.55088 11.2121C1.55088 17.3435 5.40489 19.6209 9.43409 19.6209Z" fill="#fff"/>
<path d="M24.2914 10.0266C24.6652 11.8691 24.1709 13.4144 22.6371 13.6832C21.1032 13.9521 20.2092 12.1981 19.92 10.513C19.6033 8.66733 20.1084 7.50503 21.3033 7.2765C22.4982 7.04796 23.887 8.03333 24.2914 10.0266Z" fill="#fff"/>
<path d="M12.3303 5.75576C11.5669 5.86286 10.7972 6.42532 10.0407 7.42662C9.6818 7.90116 9.38393 8.39743 9.16371 8.79191C9.16371 8.79191 9.16371 8.79191 9.16646 8.79428L9.16609 8.79158C9.16609 8.79158 9.66708 9.26117 10.2185 9.76225C10.4241 9.3836 10.7236 8.86506 11.0841 8.38479C11.7571 7.49436 12.2437 7.25808 12.5353 7.21716C13.6331 7.06316 14.6636 7.92948 14.8345 9.14776C15.0043 10.3579 14.2495 11.4747 13.1552 11.6365C13.1055 11.6435 13.0403 11.6443 12.957 11.6367C13.2991 11.7485 13.6588 11.8137 13.986 11.7678C15.9965 11.4858 16.1806 9.93676 16.1915 9.82505C16.2125 9.54391 16.2031 9.25325 16.1618 8.95881C15.8784 6.93824 14.1583 5.49933 12.3303 5.75576Z" fill="#fff"/>
<path d="M6.33848 14.089C7.10192 13.9819 7.87159 13.4194 8.62805 12.4181C8.98698 11.9436 9.28485 11.4473 9.50506 11.0528C9.50506 11.0528 9.50506 11.0528 9.50231 11.0504L9.50269 11.0531C9.50269 11.0531 9.0017 10.5835 8.45028 10.0825C8.24472 10.4611 7.94516 10.9797 7.58462 11.4599C6.91173 12.3504 6.42509 12.5866 6.13347 12.6276C5.03535 12.7789 4.00481 11.9125 3.83391 10.6943C3.66414 9.48407 4.41891 8.36731 5.51314 8.20555C5.56293 8.19856 5.62808 8.19769 5.71135 8.20529C5.36929 8.09351 5.00959 8.02828 4.6824 8.07418C2.67186 8.35623 2.49021 9.90492 2.47654 10.0143C2.45592 10.2981 2.46489 10.5861 2.50619 10.8805C2.7904 12.9065 4.5105 14.3454 6.33848 14.089Z" fill="#fff"/>
<path d="M13.9765 11.7378C12.9433 11.8524 11.7444 11.0786 11.4941 10.8796C10.8465 10.3645 9.31933 8.9398 9.19963 8.82713C8.07558 7.74256 6.59244 6.56238 5.3074 6.74264L5.30503 6.74298L5.30266 6.74331C3.74372 6.97026 2.60161 8.35897 2.47618 10.0155C2.48748 9.90645 2.78825 8.31075 4.68309 8.10003C5.71624 7.98539 6.92176 8.77207 7.17447 8.97075C7.82212 9.48587 9.34925 10.9105 9.46901 11.0232C10.5926 12.1051 12.0758 13.2853 13.3608 13.105L13.3632 13.1047L13.3655 13.1043C14.9245 12.8774 16.069 11.4883 16.192 9.83218C16.1783 9.94152 15.8733 11.5241 13.9765 11.7378Z" fill="#fff"/>
</g>
<defs>
<clipPath id="clip0_3323_81170">
<rect width="24" height="24" fill="white" transform="translate(0.5)"/>
</clipPath>
</defs>
</svg>
<svg role="img" width="28" height="14" viewBox="0 6 24 12" xmlns="http://www.w3.org/2000/svg"><title>Internet Computer</title><path d="M18.264 6.24c-2.52 0-5.376 3.024-6.264 3.984-.72-.792-3.696-3.984-6.264-3.984C2.568 6.24 0 8.832 0 12c0 3.168 2.568 5.76 5.736 5.76 2.52 0 5.376-3.024 6.264-3.984.72.792 3.696 3.984 6.264 3.984C21.432 17.76 24 15.168 24 12c0-3.168-2.568-5.76-5.736-5.76ZM5.736 15.384A3.38 3.38 0 0 1 2.352 12a3.395 3.395 0 0 1 3.384-3.384c1.176 0 3.24 1.8 4.68 3.384-.408.456-3.144 3.384-4.68 3.384zm12.528 0c-1.176 0-3.24-1.8-4.68-3.384.408-.456 3.168-3.384 4.68-3.384A3.38 3.38 0 0 1 21.648 12c-.024 1.872-1.536 3.384-3.384 3.384z" fill="#fff"/></svg>
`

export const copyIcon = `
Expand Down
7 changes: 7 additions & 0 deletions tools/ui/src/candid.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,13 @@ input[type='checkbox'] ~ .popup-form {
gap: 8px;
padding: 10px;
}
.btn-auth svg {
transition: transform ease-out .05s;
}
.btn-auth:not(:hover) svg {
transition: transform ease-out .1s;
transform: scale(.8);
}
button {
padding: 0;
border: none;
Expand Down

0 comments on commit 9ab2733

Please sign in to comment.