aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-08-16 15:38:54 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-08-16 15:38:54 +0900
commita70122acd6595ba26f084d22185c40f6da65b5ac (patch)
tree67195ce73b6aa9628357ea066a519136053661b2 /src/console
parent5fd1ff9fda83c852349430f472387ef5d73d3700 (diff)
Remove unused styles
Diffstat (limited to 'src/console')
-rw-r--r--src/console/components/console.scss32
-rw-r--r--src/console/components/console/Completion.tsx2
2 files changed, 1 insertions, 33 deletions
diff --git a/src/console/components/console.scss b/src/console/components/console.scss
index c9ffae7..2d548df 100644
--- a/src/console/components/console.scss
+++ b/src/console/components/console.scss
@@ -1,35 +1,3 @@
-[data-theme="light"] {
- --completion-title-background: lightgray;
- --completion-title-foreground: #000000;
- --completion-item-background: #ffffff;
- --completion-item-foreground: #000000;
- --completion-item-description-foreground: #008000;
- --completion-selected-background: #ffff00;
- --completion-selected-foreground: #000000;
- --command-background: #ffffff;
- --command-foreground: #000000;
- --console-error-background: #ff0000;
- --console-error-foreground: #ffffff;
- --console-info-background: #ffffff;
- --console-info-foreground: #018786;
-}
-
-[data-theme="dark"] {
- --completion-title-background: #052027;
- --completion-title-foreground: white;
- --completion-item-background: #2f474f;
- --completion-item-foreground: white;
- --completion-item-description-foreground: #86fab0;
- --completion-selected-background: #eeff41;
- --completion-selected-foreground: #000000;
- --command-background: #052027;
- --command-foreground: white;
- --console-error-background: red;
- --console-error-foreground: white;
- --console-info-background: #052027;
- --console-info-foreground: #ffffff;
-}
-
html, body, * {
margin: 0;
padding: 0;
diff --git a/src/console/components/console/Completion.tsx b/src/console/components/console/Completion.tsx
index 9b4cf15..aefee32 100644
--- a/src/console/components/console/Completion.tsx
+++ b/src/console/components/console/Completion.tsx
@@ -85,7 +85,7 @@ class Completion extends React.Component<Props, State> {
const viewOffset = this.state.viewOffset;
eles = eles.slice(viewOffset, viewOffset + this.props.size);
- return <ul className="vimvixen-console-completion">{eles}</ul>;
+ return <ul>{eles}</ul>;
}
}