Skip to content

Commit

Permalink
chore(themes): Rename __unstable_simple to experimental__simple (#2860)
Browse files Browse the repository at this point in the history
  • Loading branch information
anagstef authored Feb 26, 2024
1 parent be283b8 commit a4775bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .changeset/serious-rivers-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion packages/themes/src/themes/simple.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { experimental_createTheme } from '../createTheme';

export const __unstable_simple = experimental_createTheme({
export const experimental__simple = experimental_createTheme({
//@ts-expect-error not public api
simpleStyles: true,
});
4 changes: 2 additions & 2 deletions playground/nextjs/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
SignOutButton,
UserButton,
} from '@clerk/nextjs';
import { __unstable_simple, dark, neobrutalism, shadesOfPurple } from '@clerk/themes';
import { dark, experimental__simple, neobrutalism, shadesOfPurple } from '@clerk/themes';
import Link from 'next/link';
import React, { FunctionComponent, useEffect, useState } from 'react';

Expand Down Expand Up @@ -56,7 +56,7 @@ function MyApp({ Component, pageProps }: AppProps) {
return (
<ClerkProvider
appearance={{
baseTheme: styleReset ? [__unstable_simple, themes[selectedTheme]] : themes[selectedTheme],
baseTheme: styleReset ? [experimental__simple, themes[selectedTheme]] : themes[selectedTheme],
variables: {
colorPrimary: primaryColor,
},
Expand Down

0 comments on commit a4775bf

Please sign in to comment.