Skip to content

Commit fa67189

Browse files
fix(themes): Add dark invert style to provider icons in shadcn theme (#6375)
1 parent 43ea069 commit fa67189

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/stupid-roses-call.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/themes': patch
3+
---
4+
5+
Fix shadcn theme provider icon rendering in dark mode for Apple, GitHub, and OKX Wallet.

packages/themes/src/themes/shadcn.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@ export const shadcn = experimental_createTheme({
3131
display: 'none',
3232
},
3333
},
34+
providerIcon__apple: 'dark:invert',
35+
providerIcon__github: 'dark:invert',
36+
providerIcon__okx_wallet: 'dark:invert',
3437
},
3538
});

0 commit comments

Comments
 (0)