Changes colours of the command popup

jh-changes
Jonathan Hodgson 5 years ago
parent 3c7230c303
commit 16607ff4eb
  1. 91
      src/console/components/console.scss

@ -1,3 +1,72 @@
// Dark Background
$gb-dm-bg0: #282828;
$gb-dm-bg0-hard: #1d2021;
$gb-dm-bg0-soft: #32302f;
$gb-dm-bg1: #3c3836;
$gb-dm-bg2: #504945;
$gb-dm-bg3: #665c54;
$gb-dm-bg4: #7c6f64;
// Dark Foreground
$gb-dm-fg0: #fbf1c7;
$gb-dm-fg1: #ebdbb2;
$gb-dm-fg2: #d5c4a1;
$gb-dm-fg3: #bdae93;
$gb-dm-fg4: #a89984;
// Dark Colors
$gb-dm-dark-red: #cc241d;
$gb-dm-dark-green: #98971a;
$gb-dm-dark-yellow: #d79921;
$gb-dm-dark-blue: #458588;
$gb-dm-dark-purple: #b16286;
$gb-dm-dark-aqua: #689d6a;
$gb-dm-dark-orange: #d65d0e;
$gb-dm-dark-gray: #928374;
$gb-dm-light-red: #fb4934;
$gb-dm-light-green: #b8bb26;
$gb-dm-light-yellow: #fabd2f;
$gb-dm-light-blue: #83a598;
$gb-dm-light-purple: #d3869b;
$gb-dm-light-aqua: #8ec07c;
$gb-dm-light-orange: #f38019;
$gb-dm-light-gray: #a89984;
// Light Background
$gb-lm-bg0: #fbf1c7;
$gb-lm-bg0-hard: #f9f5d7;
$gb-lm-bg0-soft: #f2e5bc;
$gb-lm-bg1: #ebdbb2;
$gb-lm-bg2: #d5c4a1;
$gb-lm-bg3: #bdae93;
$gb-lm-bg4: #a89984;
// Light Foreground
$gb-lm-fg0: #282828;
$gb-lm-fg1: #3c3836;
$gb-lm-fg2: #504945;
$gb-lm-fg3: #665c54;
$gb-lm-fg4: #7c6f64;
// Light Colors
$gb-lm-dark-red: #cc241d;
$gb-lm-dark-green: #98971a;
$gb-lm-dark-yellow: #d79921;
$gb-lm-dark-blue: #458588;
$gb-lm-dark-purple: #b16286;
$gb-lm-dark-aqua: #689d6a;
$gb-lm-dark-orange: #d65d0e;
$gb-lm-dark-gray: #928374;
$gb-lm-light-red: #9d0006;
$gb-lm-light-green: #79740e;
$gb-lm-light-yellow: #b57614;
$gb-lm-light-blue: #076678;
$gb-lm-light-purple: #8f3f71;
$gb-lm-light-aqua: #427b58;
$gb-lm-light-orange: #af3a03;
$gb-lm-light-gray: #7c6f64;
html, body, * { html, body, * {
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -15,25 +84,27 @@ body {
bottom: 0; bottom: 0;
margin: 0; margin: 0;
padding: 0; padding: 0;
background-color: blue;
@mixin consoole-font { @mixin consoole-font {
font-style: normal; font-style: normal;
font-family: monospace; font-family: monospace;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
color: $gb-dm-fg0;
} }
&-command-wrapper { &-command-wrapper {
border-top: 1px solid gray; border-top: 1px solid green;
} }
&-completion { &-completion {
background-color: white; background-color: $gb-dm-bg0;
@include consoole-font; @include consoole-font;
&-title { &-title {
background-color: lightgray; background-color: $gb-dm-bg1;
font-weight: bold; font-weight: bold;
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -47,7 +118,10 @@ body {
white-space: pre; white-space: pre;
&.vimvixen-completion-selected { &.vimvixen-completion-selected {
background-color: yellow; background-color: $gb-dm-dark-aqua;
.vimvixen-console-completion-item-url{
color: $gb-dm-fg2;
}
} }
&-caption { &-caption {
@ -59,7 +133,7 @@ body {
&-url { &-url {
display: inline-block; display: inline-block;
color: green; color: $gb-dm-dark-green;
width: 60%; width: 60%;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
@ -69,6 +143,7 @@ body {
&-message { &-message {
@include consoole-font; @include consoole-font;
background-color: red;
border-top: 1px solid gray; border-top: 1px solid gray;
} }
@ -80,22 +155,24 @@ body {
} }
&-info { &-info {
background-color: white; background-color: red;
font-weight: normal; font-weight: normal;
color: green; color: green;
} }
&-command { &-command {
background-color: white; background-color: $gb-dm-bg2;
display: flex; display: flex;
&-prompt { &-prompt {
@include consoole-font; @include consoole-font;
background-color: $gb-dm-bg2;
} }
&-input { &-input {
border: none; border: none;
flex-grow: 1; flex-grow: 1;
background-color: $gb-dm-bg2;
@include consoole-font; @include consoole-font;
} }