From 20faca581a3b832301c9dca3074b0f61ba163d62 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 4 Apr 2021 14:07:13 +0900 Subject: Extract ttheme as a ColorSchemeProvider --- src/console/components/Theme.ts | 53 ----------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 src/console/components/Theme.ts (limited to 'src/console/components/Theme.ts') 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; - -export default styled; -- cgit v1.2.3