Skip to content

Commit fe356ee

Browse files
authoredFeb 29, 2024··
fix(types): Fix the appearance.baseTheme type to accept array of BaseTheme (#2887)
1 parent cdb9f3d commit fe356ee

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.changeset/curvy-kids-sip.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/types': patch
3+
---
4+
5+
Fix the appearance.baseTheme type to accept array of BaseTheme

‎packages/types/src/appearance.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ export type Theme = {
519519
* import { dark } from "@clerk/themes";
520520
* appearance={{ baseTheme: dark }}
521521
*/
522-
baseTheme?: BaseTheme;
522+
baseTheme?: BaseTheme | BaseTheme[];
523523
/**
524524
* Configuration options that affect the layout of the components, allowing
525525
* customizations that hard to implement with just CSS.

0 commit comments

Comments
 (0)
Please sign in to comment.