aboutsummaryrefslogtreecommitdiff
path: root/src/console/colorscheme/contexts.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/colorscheme/contexts.tsx')
-rw-r--r--src/console/colorscheme/contexts.tsx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/console/colorscheme/contexts.tsx b/src/console/colorscheme/contexts.tsx
new file mode 100644
index 0000000..e94454b
--- /dev/null
+++ b/src/console/colorscheme/contexts.tsx
@@ -0,0 +1,10 @@
+import React from "react";
+import ColorScheme from "../../shared/ColorScheme";
+
+export const ColorSchemeContext = React.createContext<ColorScheme>(
+ ColorScheme.System
+);
+
+export const ColorSchemeUpdateContext = React.createContext<
+ (colorscheme: ColorScheme) => void
+>(() => {});