From 75a62d3eff7b8b440e1a3f8808a08fc4fc9f8ba4 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Tue, 5 Sep 2023 00:56:51 +0000 Subject: [PATCH] Add kakao to Solid and Svelte (#216) --- .changeset/curvy-spoons-dream.md | 6 ++++++ packages/solid/src/components/Auth/Icons.tsx | 21 ++++++++++++++++++++ packages/svelte/src/lib/Auth/Icons.svelte | 14 +++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 .changeset/curvy-spoons-dream.md diff --git a/.changeset/curvy-spoons-dream.md b/.changeset/curvy-spoons-dream.md new file mode 100644 index 00000000..2a3526b4 --- /dev/null +++ b/.changeset/curvy-spoons-dream.md @@ -0,0 +1,6 @@ +--- +'@supabase/auth-ui-solid': patch +'@supabase/auth-ui-svelte': patch +--- + +Add Kakao icon diff --git a/packages/solid/src/components/Auth/Icons.tsx b/packages/solid/src/components/Auth/Icons.tsx index 37028ba8..684e263f 100644 --- a/packages/solid/src/components/Auth/Icons.tsx +++ b/packages/solid/src/components/Auth/Icons.tsx @@ -26,6 +26,7 @@ export const Icons = ({ provider }: IconsProps) => { if (provider == 'spotify') return spotify() if (provider == 'twitch') return twitch() if (provider == 'workos') return workos() + if (provider == 'kakao') return kakao() return null } @@ -414,3 +415,23 @@ const workos = () => ( /> ) + +const kakao = () => ( + + + + + +) diff --git a/packages/svelte/src/lib/Auth/Icons.svelte b/packages/svelte/src/lib/Auth/Icons.svelte index fc444169..7cd8eb0e 100644 --- a/packages/svelte/src/lib/Auth/Icons.svelte +++ b/packages/svelte/src/lib/Auth/Icons.svelte @@ -301,6 +301,20 @@ fill="#6363F1" /> +{:else if provider === 'kakao'} + + + + + {/if}