Skip to content

Commit

Permalink
Merge pull request #442 from AlexanderVishnevsky/main
Browse files Browse the repository at this point in the history
Fix createTheme Typings in docs
  • Loading branch information
jrgarciadev committed Apr 30, 2022
2 parents 15c0061 + df8fff7 commit 1a6c18a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions apps/docs/content/docs/theme/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,11 @@ const sharedTheme: Theme = {

export const lightTheme = createTheme({
...sharedTheme,
theme: {
type: 'light'
}
type: 'light'
});

export const darkTheme = createTheme({
...sharedTheme,
theme: {
type: 'dark'
}
type: 'dark'
});
```

1 comment on commit 1a6c18a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for nextui-docs ready!

✅ Preview
https://nextui-docs-387ublxd3-nextui-org.vercel.app

Built with commit 1a6c18a.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.