File tree 5 files changed +12
-7
lines changed
5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @clerk/themes ' : patch
3
+ ---
4
+
5
+ Rename ` unstable_createTheme ` to ` experimental_createTheme `
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ interface CreateClerkThemeParams extends DeepPartial<Theme> {
11
11
elements ?: Elements | ( ( params : { theme : InternalTheme } ) => Elements ) ;
12
12
}
13
13
14
- export const unstable_createTheme = ( appearance : Appearance < CreateClerkThemeParams > ) : BaseTheme => {
14
+ export const experimental_createTheme = ( appearance : Appearance < CreateClerkThemeParams > ) : BaseTheme => {
15
15
// Placeholder method that might hande more transformations in the future
16
16
return { ...appearance , __type : 'prebuilt_appearance' } ;
17
17
} ;
Original file line number Diff line number Diff line change 1
- import { unstable_createTheme } from '../createTheme' ;
1
+ import { experimental_createTheme } from '../createTheme' ;
2
2
3
- export const dark = unstable_createTheme ( {
3
+ export const dark = experimental_createTheme ( {
4
4
variables : {
5
5
colorBackground : '#19191A' ,
6
6
colorInputBackground : '#19191A' ,
Original file line number Diff line number Diff line change 1
- import { unstable_createTheme } from '../createTheme' ;
1
+ import { experimental_createTheme } from '../createTheme' ;
2
2
3
3
const buttonStyle = {
4
4
boxShadow : '3px 3px 0px #000' ,
@@ -14,7 +14,7 @@ const buttonStyle = {
14
14
} ,
15
15
} ;
16
16
17
- export const neobrutalism = unstable_createTheme ( {
17
+ export const neobrutalism = experimental_createTheme ( {
18
18
variables : {
19
19
colorPrimary : '#DF1B1B' ,
20
20
colorTextSecondary : '#000' ,
Original file line number Diff line number Diff line change 1
- import { unstable_createTheme } from '../createTheme' ;
1
+ import { experimental_createTheme } from '../createTheme' ;
2
2
import { dark } from './dark' ;
3
3
4
- export const shadesOfPurple = unstable_createTheme ( {
4
+ export const shadesOfPurple = experimental_createTheme ( {
5
5
baseTheme : dark ,
6
6
variables : {
7
7
colorBackground : '#3f3c77' ,
You can’t perform that action at this time.
0 commit comments