Skip to content

Commit

Permalink
Add note on selectedTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Aug 25, 2024
1 parent 939fc89 commit 458ee87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thallium-frontend/src/themes.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* eslint-disable react-refresh/only-export-components */

interface Theme {
// We expose the selected theme here in case that in addition to using colours
// component users want to apply different styles entirely based on the theme. (e.g. borders)
selectedTheme: "light" | "dark";
backgroundColor: string;
textColor: string;
Expand Down

0 comments on commit 458ee87

Please sign in to comment.