Skip to content

Commit

Permalink
Fix type error when only specifying some colors/fonts on ThemeProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminJohnson2204 committed Feb 2, 2025
1 parent d12bc45 commit bcb930e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/assets/ThemeProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export type Theme = {
fonts: ThemeFonts;
};
export type ThemeProviderProps = {
colors?: ThemeColors;
fonts?: ThemeFonts;
colors?: Partial<ThemeColors>;
fonts?: Partial<ThemeFonts>;
fontInject?: string;
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tritonse/tse-constellation",
"private": false,
"version": "0.0.8",
"version": "0.0.10",
"type": "module",
"main": "dist/tse-constellation.js",
"types": "dist/main.d.ts",
Expand Down

0 comments on commit bcb930e

Please sign in to comment.