Skip to content

Commit fe356ee

Browse files
authored
fix(types): Fix the appearance.baseTheme type to accept array of BaseTheme (clerk#2887)
1 parent cdb9f3d commit fe356ee

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/curvy-kids-sip.md

Lines changed: 5 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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)