From 16607ff4ebff1ba83f02dc432904993dd2d7f675 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 21 Dec 2019 23:42:04 +0000 Subject: [PATCH] Changes colours of the command popup --- src/console/components/console.scss | 91 ++++++++++++++++++++++++++--- 1 file changed, 84 insertions(+), 7 deletions(-) diff --git a/src/console/components/console.scss b/src/console/components/console.scss index c0b9b12..8f7a810 100644 --- a/src/console/components/console.scss +++ b/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, * { margin: 0; padding: 0; @@ -15,25 +84,27 @@ body { bottom: 0; margin: 0; padding: 0; + background-color: blue; @mixin consoole-font { font-style: normal; font-family: monospace; font-size: 12px; line-height: 16px; + color: $gb-dm-fg0; } &-command-wrapper { - border-top: 1px solid gray; + border-top: 1px solid green; } &-completion { - background-color: white; + background-color: $gb-dm-bg0; @include consoole-font; &-title { - background-color: lightgray; + background-color: $gb-dm-bg1; font-weight: bold; margin: 0; padding: 0; @@ -47,7 +118,10 @@ body { white-space: pre; &.vimvixen-completion-selected { - background-color: yellow; + background-color: $gb-dm-dark-aqua; + .vimvixen-console-completion-item-url{ + color: $gb-dm-fg2; + } } &-caption { @@ -59,7 +133,7 @@ body { &-url { display: inline-block; - color: green; + color: $gb-dm-dark-green; width: 60%; text-overflow: ellipsis; overflow: hidden; @@ -69,6 +143,7 @@ body { &-message { @include consoole-font; + background-color: red; border-top: 1px solid gray; } @@ -80,22 +155,24 @@ body { } &-info { - background-color: white; + background-color: red; font-weight: normal; color: green; } &-command { - background-color: white; + background-color: $gb-dm-bg2; display: flex; &-prompt { @include consoole-font; + background-color: $gb-dm-bg2; } &-input { border: none; flex-grow: 1; + background-color: $gb-dm-bg2; @include consoole-font; }