Skip to content

Commit

Permalink
fix: fixed bad svg prop names
Browse files Browse the repository at this point in the history
  • Loading branch information
RobChangCA committed Sep 17, 2024
1 parent 533a73e commit ef340a5
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 37 deletions.
8 changes: 4 additions & 4 deletions account-kit/react/src/icons/EOAConnectionFailed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export const EOAConnectionFailed = () => {
width="196"
height="292"
filterUnits="userSpaceOnUse"
color-interpolation-filters="sRGB"
colorInterpolationFilters="sRGB"
>
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feFlood floodOpacity="0" result="BackgroundImageFix" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
Expand Down Expand Up @@ -128,8 +128,8 @@ export const EOAConnectionFailed = () => {
y2="70"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FAE0D1" />
<stop offset="1" stop-color="#FDF2CE" />
<stop stopColor="#FAE0D1" />
<stop offset="1" stopColor="#FDF2CE" />
</linearGradient>
<clipPath id="clip0_49_9053">
<rect width="140" height="140" rx="70" fill="white" />
Expand Down
28 changes: 14 additions & 14 deletions account-kit/react/src/icons/connectionFailed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ export const ConnectionFailed = () => {
height="32"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M70 57.75L53.5 86.25H86.5L70 57.75Z"
fill="white"
stroke="white"
stroke-width="3"
stroke-linejoin="round"
strokeWidth="3"
strokeLinejoin="round"
/>
<path
d="M70 80.25V81M70 68.25L70.006 75.75"
stroke="black"
stroke-width="3"
stroke-linecap="round"
strokeWidth="3"
strokeLinecap="round"
/>
</mask>
<g mask="url(#mask1_49_8939)">
Expand Down Expand Up @@ -83,9 +83,9 @@ export const ConnectionFailed = () => {
width="215.231"
height="314.308"
filterUnits="userSpaceOnUse"
color-interpolation-filters="sRGB"
colorInterpolationFilters="sRGB"
>
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feFlood floodOpacity="0" result="BackgroundImageFix" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
Expand Down Expand Up @@ -185,8 +185,8 @@ export const ConnectionFailed = () => {
y2="70"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FAE0D1" />
<stop offset="1" stop-color="#FDF2CE" />
<stop stopColor="#FAE0D1" />
<stop offset="1" stopColor="#FDF2CE" />
</linearGradient>
<linearGradient
id="paint1_linear_49_8939"
Expand All @@ -196,8 +196,8 @@ export const ConnectionFailed = () => {
y2="108"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#F5F5F5" />
<stop offset="1" stop-color="#EBEBEB" stop-opacity="0.06" />
<stop stopColor="#F5F5F5" />
<stop offset="1" stopColor="#EBEBEB" stopOpacity="0.06" />
</linearGradient>
<linearGradient
id="paint2_linear_49_8939"
Expand All @@ -207,8 +207,8 @@ export const ConnectionFailed = () => {
y2="120"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#F5F5F5" />
<stop offset="1" stop-color="#EBEBEB" stop-opacity="0.06" />
<stop stopColor="#F5F5F5" />
<stop offset="1" stopColor="#EBEBEB" stopOpacity="0.06" />
</linearGradient>
</defs>
</svg>
Expand Down
8 changes: 4 additions & 4 deletions account-kit/react/src/icons/illustrations/added-passkey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const AddedPasskeyOutlineLight = ({
r="10"
fill="white"
stroke="currentColor"
stroke-width="2"
strokeWidth="2"
/>
<path
fillRule="evenodd"
Expand Down Expand Up @@ -137,7 +137,7 @@ const AddedPasskeyLinearLight = ({
r="10"
fill="currentColor"
stroke="#020617"
stroke-width="2"
strokeWidth="2"
/>
<path
fillRule="evenodd"
Expand Down Expand Up @@ -246,7 +246,7 @@ const AddedPasskeyOutlineDark = ({
r="10"
fill="black"
stroke="currentColor"
stroke-width="2"
strokeWidth="2"
/>
<path
fillRule="evenodd"
Expand Down Expand Up @@ -290,7 +290,7 @@ const AddedPasskeyLinearDark = ({
r="10"
fill="currentColor"
stroke="white"
stroke-width="2"
strokeWidth="2"
/>
<path
fillRule="evenodd"
Expand Down
4 changes: 2 additions & 2 deletions account-kit/react/src/icons/illustrations/success.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const SuccessFlatLight = ({
opacity="0.3"
d="M53.8977 21.0612C53.917 21.1182 53.9129 21.1728 53.8796 21.2318C53.8436 21.2957 53.776 21.3556 53.6778 21.3819C53.515 21.4255 53.2471 21.3375 53.1434 21.0427C52.1066 18.0937 50.5403 15.3523 48.5163 12.9557C46.0683 10.057 43.0109 7.73407 39.5621 6.15252C36.1134 4.57097 32.3582 3.76973 28.5642 3.80594C25.4275 3.83587 22.3281 4.43765 19.4167 5.57611C19.1257 5.6899 18.8842 5.54434 18.811 5.39245C18.7669 5.30092 18.7681 5.21061 18.7931 5.1416C18.8161 5.07786 18.8548 5.03911 18.9106 5.01664C21.9736 3.78304 25.2453 3.13083 28.5575 3.09923C32.4554 3.06204 36.3135 3.88523 39.8567 5.51011C43.4 7.135 46.5411 9.52156 49.0562 12.4997C51.1935 15.0303 52.8339 17.9352 53.8977 21.0612ZM11.3525 49.5347C11.3073 49.4951 11.2836 49.4458 11.2829 49.378C11.2821 49.3046 11.3107 49.2189 11.3826 49.1471C11.5018 49.0279 11.7778 48.9702 12.015 49.1737C14.8374 51.5952 18.1565 53.3831 21.7482 54.4056C25.3399 55.4281 29.103 55.6563 32.7776 55.0843C33.0864 55.0363 33.2906 55.2307 33.3292 55.3948C33.3524 55.4937 33.3317 55.5816 33.2924 55.6436C33.2561 55.7008 33.2099 55.7303 33.1506 55.7402C29.2916 56.3808 25.3309 56.1603 21.5547 55.0853C17.7785 54.0103 14.2955 52.1118 11.3525 49.5347ZM49.41 46.2685C49.3722 46.3153 49.3238 46.3409 49.2561 46.3442C49.1828 46.3479 49.0961 46.3226 49.0215 46.2536C48.8978 46.1391 48.8294 45.8655 49.0235 45.6206C50.9677 43.168 52.4494 40.3817 53.3959 37.3985C53.4904 37.1006 53.7554 37.0043 53.9195 37.0429C54.0184 37.0662 54.0879 37.1239 54.1259 37.1867C54.161 37.2447 54.1668 37.2992 54.1492 37.3567C53.1551 40.6034 51.5461 43.6291 49.41 46.2685ZM11.1381 9.85112C11.1829 9.81101 11.2348 9.79344 11.3021 9.80097C11.3751 9.80912 11.4566 9.84794 11.5192 9.92796C11.6231 10.0608 11.6469 10.3417 11.4162 10.5525C9.14829 12.6237 7.26843 15.0836 5.86546 17.8158C5.72273 18.0937 5.44535 18.1446 5.28994 18.0792C5.19629 18.0398 5.13742 17.9713 5.11041 17.9031C5.08545 17.8401 5.08878 17.7854 5.11571 17.7316C6.60926 14.7493 8.65263 12.0755 11.1381 9.85112Z"
stroke="currentColor"
stroke-width="3"
strokeWidth="3"
/>
<path
fillRule="evenodd"
Expand Down Expand Up @@ -253,7 +253,7 @@ const SuccessFlatDark = ({
opacity="0.3"
d="M53.8977 21.0612C53.917 21.1182 53.9129 21.1728 53.8796 21.2318C53.8436 21.2957 53.776 21.3556 53.6778 21.3819C53.515 21.4255 53.2471 21.3375 53.1434 21.0427C52.1066 18.0937 50.5403 15.3523 48.5163 12.9557C46.0683 10.057 43.0109 7.73407 39.5621 6.15252C36.1134 4.57097 32.3582 3.76973 28.5642 3.80594C25.4275 3.83587 22.3281 4.43765 19.4167 5.57611C19.1257 5.6899 18.8842 5.54434 18.811 5.39245C18.7669 5.30092 18.7681 5.21061 18.7931 5.1416C18.8161 5.07786 18.8548 5.03911 18.9106 5.01664C21.9736 3.78304 25.2453 3.13083 28.5575 3.09923C32.4554 3.06204 36.3135 3.88523 39.8567 5.51011C43.4 7.135 46.5411 9.52156 49.0562 12.4997C51.1935 15.0303 52.8339 17.9352 53.8977 21.0612ZM11.3525 49.5347C11.3073 49.4951 11.2836 49.4458 11.2829 49.378C11.2821 49.3046 11.3107 49.2189 11.3826 49.1471C11.5018 49.0279 11.7778 48.9702 12.015 49.1737C14.8374 51.5952 18.1565 53.3831 21.7482 54.4056C25.3399 55.4281 29.103 55.6563 32.7776 55.0843C33.0864 55.0363 33.2906 55.2307 33.3292 55.3948C33.3524 55.4937 33.3317 55.5816 33.2924 55.6436C33.2561 55.7008 33.2099 55.7303 33.1506 55.7402C29.2916 56.3808 25.3309 56.1603 21.5547 55.0853C17.7785 54.0103 14.2955 52.1118 11.3525 49.5347ZM49.41 46.2685C49.3722 46.3153 49.3238 46.3409 49.2561 46.3442C49.1828 46.3479 49.0961 46.3226 49.0215 46.2536C48.8978 46.1391 48.8294 45.8655 49.0235 45.6206C50.9677 43.168 52.4494 40.3817 53.3959 37.3985C53.4904 37.1006 53.7554 37.0043 53.9195 37.0429C54.0184 37.0662 54.0879 37.1239 54.1259 37.1867C54.161 37.2447 54.1668 37.2992 54.1492 37.3567C53.1551 40.6034 51.5461 43.6291 49.41 46.2685ZM11.1381 9.85112C11.1829 9.81101 11.2348 9.79344 11.3021 9.80097C11.3751 9.80912 11.4566 9.84794 11.5192 9.92796C11.6231 10.0608 11.6469 10.3417 11.4162 10.5525C9.14829 12.6237 7.26843 15.0836 5.86546 17.8158C5.72273 18.0937 5.44535 18.1446 5.28994 18.0792C5.19629 18.0398 5.13742 17.9713 5.11041 17.9031C5.08545 17.8401 5.08878 17.7854 5.11571 17.7316C6.60926 14.7493 8.65263 12.0755 11.1381 9.85112Z"
stroke="currentColor"
stroke-width="3"
strokeWidth="3"
/>
<path
fillRule="evenodd"
Expand Down
22 changes: 11 additions & 11 deletions account-kit/react/src/icons/timeout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export const Timeout = () => {
<path
d="M70 62V72L75.5 76.5"
stroke="white"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="3"
strokeLinecap="round"
strokeLinejoin="round"
/>
<rect
x="48.6155"
Expand All @@ -52,9 +52,9 @@ export const Timeout = () => {
width="215.231"
height="314.308"
filterUnits="userSpaceOnUse"
color-interpolation-filters="sRGB"
colorInterpolationFilters="sRGB"
>
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feFlood floodOpacity="0" result="BackgroundImageFix" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
Expand Down Expand Up @@ -154,8 +154,8 @@ export const Timeout = () => {
y2="70"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FAE0D1" />
<stop offset="1" stop-color="#FDF2CE" />
<stop stopColor="#FAE0D1" />
<stop offset="1" stopColor="#FDF2CE" />
</linearGradient>
<linearGradient
id="paint1_linear_55_11236"
Expand All @@ -165,8 +165,8 @@ export const Timeout = () => {
y2="108.308"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#F5F5F5" />
<stop offset="1" stop-color="#EBEBEB" stop-opacity="0.06" />
<stop stopColor="#F5F5F5" />
<stop offset="1" stopColor="#EBEBEB" stopOpacity="0.06" />
</linearGradient>
<linearGradient
id="paint2_linear_55_11236"
Expand All @@ -176,8 +176,8 @@ export const Timeout = () => {
y2="120.308"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#F5F5F5" />
<stop offset="1" stop-color="#EBEBEB" stop-opacity="0.06" />
<stop stopColor="#F5F5F5" />
<stop offset="1" stopColor="#EBEBEB" stopOpacity="0.06" />
</linearGradient>
<clipPath id="clip0_55_11236">
<rect width="140" height="140.308" rx="70" fill="white" />
Expand Down
4 changes: 2 additions & 2 deletions account-kit/react/src/icons/warning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const Warning = () => {
<path
d="M7.0001 7.64722V4.42166M7.0001 10.038V10.0664M11.032 12.7528H2.96815C1.86666 12.7528 0.93711 12.0167 0.644651 11.0095C0.519807 10.5796 0.673206 10.1318 0.907837 9.75048L4.93979 2.39852C5.88443 0.863457 8.11576 0.863459 9.06041 2.39852L13.0924 9.75048C13.327 10.1318 13.4804 10.5796 13.3555 11.0095C13.0631 12.0167 12.1335 12.7528 11.032 12.7528Z"
stroke="#B91C1C"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
Expand Down

0 comments on commit ef340a5

Please sign in to comment.