aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-25 18:34:19 +0100
committerGravatar Joe Banks <[email protected]>2024-08-25 18:34:19 +0100
commit458ee8798e832915dd8571aa56f6659f3d67d432 (patch)
tree51fa62cbc9cff4e36d7afcbefb5347a303e9711a
parentLink Header to homepage (diff)
Add note on selectedTheme
-rw-r--r--thallium-frontend/src/themes.tsx2
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;