diff options
author | 2024-08-25 18:34:19 +0100 | |
---|---|---|
committer | 2024-08-25 18:34:19 +0100 | |
commit | 458ee8798e832915dd8571aa56f6659f3d67d432 (patch) | |
tree | 51fa62cbc9cff4e36d7afcbefb5347a303e9711a | |
parent | Link Header to homepage (diff) |
Add note on selectedTheme
-rw-r--r-- | thallium-frontend/src/themes.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thallium-frontend/src/themes.tsx b/thallium-frontend/src/themes.tsx index a763716..789c93f 100644 --- a/thallium-frontend/src/themes.tsx +++ b/thallium-frontend/src/themes.tsx @@ -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; |