aboutsummaryrefslogtreecommitdiff
path: root/src/console/components/Theme.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-04-12 13:09:09 +0000
committerGitHub <noreply@github.com>2021-04-12 13:09:09 +0000
commitd80d0f87b82ba4bd74ed9b2bb7354421a28a11b3 (patch)
tree691185ad88418d0f44c236d0913cf5c425b29b23 /src/console/components/Theme.ts
parentea73c900f66107fd4a5b2f3b05080bcf643c94ea (diff)
parent8a5bba1da639355a25da8c279a9f1cf0a7300a9f (diff)
Merge pull request #1098 from ueokande/replace-redux-with-react-hooks
Refactor state management with React Hooks on Console
Diffstat (limited to 'src/console/components/Theme.ts')
-rw-r--r--src/console/components/Theme.ts53
1 files changed, 0 insertions, 53 deletions
diff --git a/src/console/components/Theme.ts b/src/console/components/Theme.ts
deleted file mode 100644
index dd7baa5..0000000
--- a/src/console/components/Theme.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-import baseStyled, { ThemedStyledInterface } from "styled-components";
-
-type Theme = {
- completionTitleBackground: string;
- completionTitleForeground: string;
- completionItemBackground: string;
- completionItemForeground: string;
- completionItemDescriptionForeground: string;
- completionSelectedBackground: string;
- completionSelectedForeground: string;
- commandBackground: string;
- commandForeground: string;
- consoleErrorBackground: string;
- consoleErrorForeground: string;
- consoleInfoBackground: string;
- consoleInfoForeground: string;
-};
-
-export const LightTheme: Theme = {
- completionTitleBackground: "lightgray",
- completionTitleForeground: "#000000",
- completionItemBackground: "#ffffff",
- completionItemForeground: "#000000",
- completionItemDescriptionForeground: "#008000",
- completionSelectedBackground: "#ffff00",
- completionSelectedForeground: "#000000",
- commandBackground: "#ffffff",
- commandForeground: "#000000",
- consoleErrorBackground: "#ff0000",
- consoleErrorForeground: "#ffffff",
- consoleInfoBackground: "#ffffff",
- consoleInfoForeground: "#018786",
-};
-
-export const DarkTheme: Theme = {
- completionTitleBackground: "#052027",
- completionTitleForeground: "white",
- completionItemBackground: "#2f474f",
- completionItemForeground: "white",
- completionItemDescriptionForeground: "#86fab0",
- completionSelectedBackground: "#eeff41",
- completionSelectedForeground: "#000000",
- commandBackground: "#052027",
- commandForeground: "white",
- consoleErrorBackground: "red",
- consoleErrorForeground: "white",
- consoleInfoBackground: "#052027",
- consoleInfoForeground: "#ffffff",
-};
-
-const styled = baseStyled as ThemedStyledInterface<Theme>;
-
-export default styled;