Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Updating uphold logo to solid color
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanml committed Sep 16, 2019
1 parent 0ca5339 commit 49060a7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 199 deletions.
64 changes: 7 additions & 57 deletions src/components/icons/fc-logo-uphold.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,64 +5,14 @@
import * as React from 'react'
import GenerateComponentForGraphic from './template'

// Direct access to SVG
// TODO(petemill): generate unique IDs to not polute global DOM id scope, this could cause issues.
export const Graphic = (
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'>
<defs>
<linearGradient
id='a'
x1='-378.78'
y1='583.86'
x2='-378.78'
y2='582.86'
gradientTransform='matrix(18 0 0 -22 6834 12848)'
gradientUnits='userSpaceOnUse'
>
<stop offset='0' stopColor='#78be06' />
<stop offset='1' stopColor='#ff523c' />
</linearGradient>
<linearGradient
id='b'
x1='-372.29'
y1='587.63'
x2='-372.29'
y2='586.66'
gradientTransform='matrix(14 0 0 -19 5226 11171)'
gradientUnits='userSpaceOnUse'
>
<stop offset='0' stopColor='#fab406' />
<stop offset='1' stopColor='#fa5235' />
</linearGradient>
<linearGradient
id='c'
x1='-430.71'
y1='587.63'
x2='-430.71'
y2='586.66'
gradientTransform='matrix(-14 0 0 -19 -6012 11171)'
gradientUnits='userSpaceOnUse'
>
<stop offset='0' stopColor='#3d58d0' />
<stop offset='1' stopColor='#78b81b' />
</linearGradient>
</defs>
<path
d='M13.21 28.51a1 1 0 0 1 .67-1.89 6.1 6.1 0 0 0 4.24 0 1 1 0 0 1 .67 1.89 8.19 8.19 0 0 1-5.58 0z'
fill='#ff523c'
/>
<path
d='M16 25c-5 0-9-5-9-11s4-11 9-11 9 5 9 11-4 11-9 11zm0-2c3.81 0 7-4 7-9s-3.19-9-7-9-7 4-7 9 3.19 9 7 9z'
fill='url(#a)'
/>
<path
d='M16 25c-5 0-9-5-9-11 0-.25 0-.66.07-1.19a13.81 13.81 0 0 1 .47-2.58C8.27 7.66 9.69 6 12 6c4.74 0 9 5.14 9 11 0 5.13-2.2 8-5 8zm0-2c1.56 0 3-1.88 3-6 0-4.83-3.45-9-7-9-1.19 0-2 1-2.54 2.77a12.53 12.53 0 0 0-.4 2.23A9.51 9.51 0 0 0 9 14c0 5 3.19 9 7 9z'
fill='url(#b)'
/> <path
d='M16 25c5 0 9-5 9-11 0-.25 0-.66-.07-1.19a13.81 13.81 0 0 0-.47-2.58C23.73 7.66 22.31 6 20 6c-4.74 0-9 5.14-9 11 0 5.13 2.2 8 5 8zm0-2c-1.56 0-3-1.88-3-6 0-4.83 3.45-9 7-9 1.19 0 2 1 2.54 2.77a12.53 12.53 0 0 1 .4 2.23 9.51 9.51 0 0 1 .06 1c0 5-3.19 9-7 9z'
fill='url(#c)'
/>
</svg>
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'>
<path
fill='#49cc68'
d='M16.12,31a10.28,10.28,0,0,1-3,.45H13A10.43,10.43,0,0,1,10,31a.89.89,0,0,0-.51,1.71,12.17,12.17,0,0,0,3.49.53h.14a12.43,12.43,0,0,0,3.47-.52A.89.89,0,1,0,16.12,31ZM23.9,9.12h0v0a11.37,11.37,0,0,0-21.62,0v0c-1,2.95-.64,6.9,1,10.59,2.21,5,6.23,8.53,9.79,8.53h.1c3.56,0,7.58-3.5,9.79-8.53C24.54,16,24.91,12.07,23.9,9.12ZM18.67,4.81A8.42,8.42,0,0,0,13.08,7,8.42,8.42,0,0,0,7.49,4.81a9.67,9.67,0,0,1,11.18,0ZM14.55,26.14a3.44,3.44,0,0,1-2.94,0c-3-1.4-3.65-7-1.34-12.27A15.7,15.7,0,0,1,13.08,9.5a15.93,15.93,0,0,1,2.81,4.37C18.2,19.12,17.59,24.74,14.55,26.14ZM4.87,19C3.41,15.7,3.07,12.21,4,9.67A4.54,4.54,0,0,1,6.21,6.91c1.57-.73,3.61-.21,5.57,1.37a17.73,17.73,0,0,0-3.14,4.87,15.87,15.87,0,0,0-1.19,10A16.84,16.84,0,0,1,4.87,19Zm16.42,0a16.58,16.58,0,0,1-2.59,4.16,15.86,15.86,0,0,0-1.18-10,17.73,17.73,0,0,0-3.14-4.87c1.95-1.58,4-2.1,5.57-1.37a4.54,4.54,0,0,1,2.26,2.76C23.08,12.21,22.74,15.7,21.29,19Z'
transform='translate(-1.7 -1.25)'
/>
</svg>
)

// Styled Component for SVG
Expand Down
74 changes: 3 additions & 71 deletions src/features/rewards/modalVerify/__snapshots__/spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -538,78 +538,10 @@ exports[`PanelVerify tests basic tests matches the snapshot 1`] = `
focusable="false"
viewBox="0 0 32 32"
>
<defs>
<linearGradient
gradientTransform="matrix(18 0 0 -22 6834 12848)"
gradientUnits="userSpaceOnUse"
id="a"
x1="-378.78"
x2="-378.78"
y1="583.86"
y2="582.86"
>
<stop
offset="0"
stopColor="#78be06"
/>
<stop
offset="1"
stopColor="#ff523c"
/>
</linearGradient>
<linearGradient
gradientTransform="matrix(14 0 0 -19 5226 11171)"
gradientUnits="userSpaceOnUse"
id="b"
x1="-372.29"
x2="-372.29"
y1="587.63"
y2="586.66"
>
<stop
offset="0"
stopColor="#fab406"
/>
<stop
offset="1"
stopColor="#fa5235"
/>
</linearGradient>
<linearGradient
gradientTransform="matrix(-14 0 0 -19 -6012 11171)"
gradientUnits="userSpaceOnUse"
id="c"
x1="-430.71"
x2="-430.71"
y1="587.63"
y2="586.66"
>
<stop
offset="0"
stopColor="#3d58d0"
/>
<stop
offset="1"
stopColor="#78b81b"
/>
</linearGradient>
</defs>
<path
d="M13.21 28.51a1 1 0 0 1 .67-1.89 6.1 6.1 0 0 0 4.24 0 1 1 0 0 1 .67 1.89 8.19 8.19 0 0 1-5.58 0z"
fill="#ff523c"
/>
<path
d="M16 25c-5 0-9-5-9-11s4-11 9-11 9 5 9 11-4 11-9 11zm0-2c3.81 0 7-4 7-9s-3.19-9-7-9-7 4-7 9 3.19 9 7 9z"
fill="url(#a)"
/>
<path
d="M16 25c-5 0-9-5-9-11 0-.25 0-.66.07-1.19a13.81 13.81 0 0 1 .47-2.58C8.27 7.66 9.69 6 12 6c4.74 0 9 5.14 9 11 0 5.13-2.2 8-5 8zm0-2c1.56 0 3-1.88 3-6 0-4.83-3.45-9-7-9-1.19 0-2 1-2.54 2.77a12.53 12.53 0 0 0-.4 2.23A9.51 9.51 0 0 0 9 14c0 5 3.19 9 7 9z"
fill="url(#b)"
/>
<path
d="M16 25c5 0 9-5 9-11 0-.25 0-.66-.07-1.19a13.81 13.81 0 0 0-.47-2.58C23.73 7.66 22.31 6 20 6c-4.74 0-9 5.14-9 11 0 5.13 2.2 8 5 8zm0-2c-1.56 0-3-1.88-3-6 0-4.83 3.45-9 7-9 1.19 0 2 1 2.54 2.77a12.53 12.53 0 0 1 .4 2.23 9.51 9.51 0 0 1 .06 1c0 5-3.19 9-7 9z"
fill="url(#c)"
d="M16.12,31a10.28,10.28,0,0,1-3,.45H13A10.43,10.43,0,0,1,10,31a.89.89,0,0,0-.51,1.71,12.17,12.17,0,0,0,3.49.53h.14a12.43,12.43,0,0,0,3.47-.52A.89.89,0,1,0,16.12,31ZM23.9,9.12h0v0a11.37,11.37,0,0,0-21.62,0v0c-1,2.95-.64,6.9,1,10.59,2.21,5,6.23,8.53,9.79,8.53h.1c3.56,0,7.58-3.5,9.79-8.53C24.54,16,24.91,12.07,23.9,9.12ZM18.67,4.81A8.42,8.42,0,0,0,13.08,7,8.42,8.42,0,0,0,7.49,4.81a9.67,9.67,0,0,1,11.18,0ZM14.55,26.14a3.44,3.44,0,0,1-2.94,0c-3-1.4-3.65-7-1.34-12.27A15.7,15.7,0,0,1,13.08,9.5a15.93,15.93,0,0,1,2.81,4.37C18.2,19.12,17.59,24.74,14.55,26.14ZM4.87,19C3.41,15.7,3.07,12.21,4,9.67A4.54,4.54,0,0,1,6.21,6.91c1.57-.73,3.61-.21,5.57,1.37a17.73,17.73,0,0,0-3.14,4.87,15.87,15.87,0,0,0-1.19,10A16.84,16.84,0,0,1,4.87,19Zm16.42,0a16.58,16.58,0,0,1-2.59,4.16,15.86,15.86,0,0,0-1.18-10,17.73,17.73,0,0,0-3.14-4.87c1.95-1.58,4-2.1,5.57-1.37a4.54,4.54,0,0,1,2.26,2.76C23.08,12.21,22.74,15.7,21.29,19Z"
fill="#49cc68"
transform="translate(-1.7 -1.25)"
/>
</svg>
</div>
Expand Down
74 changes: 3 additions & 71 deletions src/features/rewards/walletPopup/__snapshots__/spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -71,78 +71,10 @@ exports[`WalletSummary tests basic tests matches the snapshot 1`] = `
focusable="false"
viewBox="0 0 32 32"
>
<defs>
<linearGradient
gradientTransform="matrix(18 0 0 -22 6834 12848)"
gradientUnits="userSpaceOnUse"
id="a"
x1="-378.78"
x2="-378.78"
y1="583.86"
y2="582.86"
>
<stop
offset="0"
stopColor="#78be06"
/>
<stop
offset="1"
stopColor="#ff523c"
/>
</linearGradient>
<linearGradient
gradientTransform="matrix(14 0 0 -19 5226 11171)"
gradientUnits="userSpaceOnUse"
id="b"
x1="-372.29"
x2="-372.29"
y1="587.63"
y2="586.66"
>
<stop
offset="0"
stopColor="#fab406"
/>
<stop
offset="1"
stopColor="#fa5235"
/>
</linearGradient>
<linearGradient
gradientTransform="matrix(-14 0 0 -19 -6012 11171)"
gradientUnits="userSpaceOnUse"
id="c"
x1="-430.71"
x2="-430.71"
y1="587.63"
y2="586.66"
>
<stop
offset="0"
stopColor="#3d58d0"
/>
<stop
offset="1"
stopColor="#78b81b"
/>
</linearGradient>
</defs>
<path
d="M13.21 28.51a1 1 0 0 1 .67-1.89 6.1 6.1 0 0 0 4.24 0 1 1 0 0 1 .67 1.89 8.19 8.19 0 0 1-5.58 0z"
fill="#ff523c"
/>
<path
d="M16 25c-5 0-9-5-9-11s4-11 9-11 9 5 9 11-4 11-9 11zm0-2c3.81 0 7-4 7-9s-3.19-9-7-9-7 4-7 9 3.19 9 7 9z"
fill="url(#a)"
/>
<path
d="M16 25c-5 0-9-5-9-11 0-.25 0-.66.07-1.19a13.81 13.81 0 0 1 .47-2.58C8.27 7.66 9.69 6 12 6c4.74 0 9 5.14 9 11 0 5.13-2.2 8-5 8zm0-2c1.56 0 3-1.88 3-6 0-4.83-3.45-9-7-9-1.19 0-2 1-2.54 2.77a12.53 12.53 0 0 0-.4 2.23A9.51 9.51 0 0 0 9 14c0 5 3.19 9 7 9z"
fill="url(#b)"
/>
<path
d="M16 25c5 0 9-5 9-11 0-.25 0-.66-.07-1.19a13.81 13.81 0 0 0-.47-2.58C23.73 7.66 22.31 6 20 6c-4.74 0-9 5.14-9 11 0 5.13 2.2 8 5 8zm0-2c-1.56 0-3-1.88-3-6 0-4.83 3.45-9 7-9 1.19 0 2 1 2.54 2.77a12.53 12.53 0 0 1 .4 2.23 9.51 9.51 0 0 1 .06 1c0 5-3.19 9-7 9z"
fill="url(#c)"
d="M16.12,31a10.28,10.28,0,0,1-3,.45H13A10.43,10.43,0,0,1,10,31a.89.89,0,0,0-.51,1.71,12.17,12.17,0,0,0,3.49.53h.14a12.43,12.43,0,0,0,3.47-.52A.89.89,0,1,0,16.12,31ZM23.9,9.12h0v0a11.37,11.37,0,0,0-21.62,0v0c-1,2.95-.64,6.9,1,10.59,2.21,5,6.23,8.53,9.79,8.53h.1c3.56,0,7.58-3.5,9.79-8.53C24.54,16,24.91,12.07,23.9,9.12ZM18.67,4.81A8.42,8.42,0,0,0,13.08,7,8.42,8.42,0,0,0,7.49,4.81a9.67,9.67,0,0,1,11.18,0ZM14.55,26.14a3.44,3.44,0,0,1-2.94,0c-3-1.4-3.65-7-1.34-12.27A15.7,15.7,0,0,1,13.08,9.5a15.93,15.93,0,0,1,2.81,4.37C18.2,19.12,17.59,24.74,14.55,26.14ZM4.87,19C3.41,15.7,3.07,12.21,4,9.67A4.54,4.54,0,0,1,6.21,6.91c1.57-.73,3.61-.21,5.57,1.37a17.73,17.73,0,0,0-3.14,4.87,15.87,15.87,0,0,0-1.19,10A16.84,16.84,0,0,1,4.87,19Zm16.42,0a16.58,16.58,0,0,1-2.59,4.16,15.86,15.86,0,0,0-1.18-10,17.73,17.73,0,0,0-3.14-4.87c1.95-1.58,4-2.1,5.57-1.37a4.54,4.54,0,0,1,2.26,2.76C23.08,12.21,22.74,15.7,21.29,19Z"
fill="#49cc68"
transform="translate(-1.7 -1.25)"
/>
</svg>
</span>
Expand Down

0 comments on commit 49060a7

Please sign in to comment.