Skip to content

Commit

Permalink
fix: relax RealTheme type for compatibility (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
resure authored Sep 7, 2022
1 parent 19a3463 commit a716448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
/src/components/Text @IsaevAlexandr
#/src/components/TextInput @dustyo-O
/src/components/Toaster @korvin89
/src/components/theme @resure
# Allow everyone to publish releases
/package.json
/package-lock.json
Expand Down
2 changes: 1 addition & 1 deletion src/components/theme/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type RealTheme = 'light' | 'light-hc' | 'dark' | 'dark-hc';
export type RealTheme = 'light' | 'light-hc' | 'dark' | 'dark-hc' | string;
export type ThemeType = 'light' | 'dark';

export type Theme = 'system' | RealTheme;

0 comments on commit a716448

Please sign in to comment.