Sfoglia il codice sorgente

setup vimperator colorscheme

Basic scheme is nice, but way too much white. Hurts when you look at mostly
white pages all day long. Have now mostly solved poor current URL visibility in
default statusline arrangement. Other colorschemes mostly suck, but added for
reference.
Weiyi Lou 12 anni fa
parent
commit
ad9aef8454

+ 46 - 0
vimperator/colors/cinaeco.vimp

@@ -0,0 +1,46 @@
+""""""""""""""""""""""""""""""""
+" Main background color is an off-black: #222
+" Main text color is an off-white: #ddd
+" Some theme-wide settings can be done in `Normal`
+"
+" Colors used from Solarized:
+" red       #dc322f  1/1 red      160 #d70000 50  65  45 220  50  47   1  79  86
+" green     #859900  2/2 green     64 #5f8700 60 -20  65 133 153   0  68 100  60
+""""""""""""""""""""""""""""""""
+
+
+" avoid contamination from other colorschemes, setup basic theme
+hi clear
+hi Normal                background: #222; color: #ddd; font-size: 14px;
+
+
+""""""""""""""""""""""""""""""""
+" dark command/status line
+" with current URL more visible
+""""""""""""""""""""""""""""""""
+
+hi CmdLine               background: #222;
+" status Needs `color` set, otherwise `ErrorMsg` overrides when it appears
+hi StatusLine            color: #ddd; text-align: left;
+
+
+""""""""""""""""""""""""""""""""
+" completion lists
+" i.e. section that appears when using `:open` etc.
+""""""""""""""""""""""""""""""""
+
+hi CompTitle             background: #444; " headers
+hi CompTitle>*           background: #444; " header decorations
+hi CompItem[selected]    background: #555; " current item
+hi NonText               color: #dc322f;   " ~'s indicating empty lines
+" match highlighting in completion list
+hi Filter                background: darkgreen; border-radius: 2px; border: 1px solid green;
+
+
+""""""""""""""""""""""""""""""""
+" misc
+""""""""""""""""""""""""""""""""
+
+hi ErrorMsg              color: #dc322f;
+" mouse-click in completion list to see `MoreMsg`
+hi MoreMsg               background: #222; color: green;

+ 67 - 0
vimperator/colors/darkness2.vimp

@@ -0,0 +1,67 @@
+" ==Vimperator_Color_Scheme==
+" name: Darkness
+" ==Darkness_Colorscheme_Settings==
+
+"StatusLine settings
+hi StatusLine           color: #ffffff; background: #222222; text-align: left;
+hi StatusLineBroken     color: #000000; background: #afafff; "font-size: 8pt;
+hi StatusLineSecure     color: #000000; background: #afffaf; "font-size: 8pt;
+
+"CmdLine settings excluding Gradient
+hi Normal               color: #afafaf; background: #222222;
+hi CmdLine              background: #222222; color: #afafaf; font-size: 9pt;
+hi CompDesc             color: #c6c6c6; width: 50%; font-size: 9pt;
+hi CompIcon             width: 16px; min-width: 16px; display: inline-block; margin-right: .5ex;
+hi CompItem[selected]   background: #666666; color: #afafaf;
+hi CompLess             text-align: center; height: 0; line-height: .5ex; padding-top: 1ex;
+hi CompMore             text-align: center; height: .5ex; line-height: .5ex; margin-bottom: -.5ex;
+hi CompMsg              font-style: italic; margin-left: 16px;
+hi CompResult           width: 45%; overflow: hidden;font-size: 10pt; font-family: monospace; font-weight: normal;
+hi CompTitle            color: #afafaf; background: #222222; font-weight: bold;
+hi CompTitle>*          padding: 0 .5ex;
+hi Filter               font-weight: bold;color: #afafaf;
+
+"When using tab complete in CmdLine, line separating Title from function and description
+hi Gradient             height: 1px; margin-bottom: -1px; margin-top: -1px;
+hi GradientLeft         background-color: #00bbff;
+hi GradientRight        background-color: #222222;
+
+"Used with ]f and [f
+hi FrameIndicator       background-color: #222222; opacity: 0.5; z-index: 999; position: fixed; top: 0; bottom: 0; left: 0; right: 0;
+
+hi Bell                 border: 0 none; background-color: #222222;
+hi ErrorMsg             color: #ffffff; background: red; font-weight: bold;
+
+
+"Hint section
+"hi Hint                 font-family: Sans; font-size: 10px; font-weight: bold; color: #f6e9e9; background-color: red; border-color: ButtonShadow; border-width: 0px; border-style: solid; padding 0px 1px 0px 1px;
+hi Hint                 font-family: Sans; font-size: 10px; font-weight: bold; color: white; background-color: rgba(0, 0, 0, 0.5); border: solid 1px LightGray;
+hi Hint::after          content: attr(number);
+hi HintActive           background: blue; color: #f6e9e9;
+hi HintElem             background-color: #222222; color: #f6e9e9;
+hi HintImage            opacity: .5;
+
+"Other important stuff
+hi InfoMsg              color: #afafaf; background: #222222;
+hi Message              white-space: normal; min-width: 100%; padding-left: 2em; text-indent: -2em; display: block;
+hi WarningMsg           color: red; background: #222222;
+hi ModeMsg              color: #afafaf; background: #222222; "CmdLine when Not in Use
+hi MoreMsg              color: #afafaf; background: #222222;
+hi NonText              color: lightblue; min-height: 16px; padding-left: 2px;
+hi Question             color: #ffffff; background: #222222; font-weight: bold;
+hi Search               font-size: inherit; padding: 0; color: #222222; background-color: yellow; padding: 0;
+hi Function             color: lightgreen; background: #222222;
+hi Number               color: tan; background: #222222
+hi String               color: #222222; background: #afafaf;
+hi Tag                  color: #222222; background: #afafaf;
+hi Title                color: #222222; background: #afafaf; font-weight: bold;
+hi URL                  text-decoration: none; color: lightblue; background: inherit;
+hi URL:hover            text-decoration: underline; cursor: pointer;
+hi LineNr               color: #afafaf; background: #222222;
+
+"style -name statusbar chrome://* <<EOM
+"#status-bar statusbarpanel { padding: 0 1px !important; }
+"statusbarpanel > * { margin: 0 !important; padding: 0 2px 0 0 !important; }
+"EOM
+
+"For other descriptions of each item, please see ``Styling'' section included with Vimperator

+ 121 - 0
vimperator/colors/indigo.vimp

@@ -0,0 +1,121 @@
+" ==VimperatorColorSchema==
+" name: indigo
+" author: mashiro
+" ==/VimperatorColorSchema==
+
+" Highlights {{{1
+hi Boolean              color: orchid;
+hi Function             color: skyblue;
+hi Null                 color: cornflowerblue;
+hi Number               color: cornflowerblue;
+hi Object               color: khaki;
+hi String               color: orchid;
+hi Mapping              color: orchid;
+
+hi Key                  font-weight: bold;
+
+hi Enabled              color: #d0ffd0;
+hi Disabled             color: red;
+
+hi Normal               color: #d0d0d0; background: #1c1c1c; font-size: 12px;
+hi ErrorMsg             color: #ffffff; background: #440000; font-size: 12px;
+hi InfoMsg              color: #d0d0d0; background: #1c1c1c; font-size: 12px;
+hi ModeMsg              color: #d0d0d0; background: #1c1c1c; font-size: 12px;
+hi MoreMsg              color: #d0ffd0; background: #1c1c1c; font-size: 12px;
+hi WarningMsg           color: #ff0000; background: #1c1c1c; font-size: 12px;
+hi Message              white-space: normal; min-width: 100%; padding-left: 2em;
+text-indent: -2em; display: block; font-size: 12px;
+hi NonText              color: #a0a0d0; min-height: 16px; padding-left: 2px;
+font-size: 12px;
+hi Preview              color: #a0a0d0; font-size: 12px;
+hi Prompt               background: url("chrome://liberator/skin/prompt.png");
+width: 10px; background-position: center; background-repeat: no-repeat;
+hi PromptText           color: #1c1c1c; background: #d0d0f0; font-size: 12px;
+
+hi CmdOutput            white-space: pre;
+hi CmdLine              font-size: 14px; background: black; color: #d0d0d0;
+-moz-transition: all 0.25s;
+hi CmdLine>*            font-family: monospace;
+
+hi ContentSeparator     border: none; display: -moz-box;
+
+"hi CompGroup
+hi CompGroup:not(:first-of-type) margin-top: 1ex;
+hi CompTitle            font-size: 12px; font-weight: bold; background:
+-moz-linear-gradient(19% 75% 90deg, #2c2c2f, #2a2a2f, #2f2f2f 100%);
+hi CompTitle>*          color: #a0a0d0; border-bottom: 1px solid #3c3c3f;
+padding: 1px 0.5ex; text-shadow: 1px 1px 0px #0c0c0c;
+hi CompMsg              font-style: italic; margin-left: 16px;
+hi CompItem             font-size: 12px;
+hi CompItem[selected]   color: #dddddd; background: #3c3c3f;
+hi CompItem>*           height: 18px; min-height: 18px; padding: 0 0.5ex;
+hi CompIcon             width: 16px; min-width: 16px; display: inline-block;
+margin-right: .5ex;
+hi CompIcon>img         max-width: 16px; max-height: 16px; vertical-align:
+middle;
+hi CompResult           width: 500px; max-width: 500px; overflow: hidden;
+hi CompDesc             width: 500px; max-width: 500px; color: #a0a0d0;
+
+hi Indicator            color: #a0a0d0;
+hi Filter               color: #7090d0;
+
+hi Keyword              color: khaki;
+hi Tag                  color: #a0a0d0;
+
+hi LineNr               color: #ffd0d0; background: #1c1c1c;
+hi Question             color: #a0a0d0; background: #1c1c1c; font-weight: bold;
+
+hi StatusLine           color: #7090d0; background: transparent; font-weight:
+normal; font-size: 12px;
+
+hi TabNumber            font-weight: bold; margin: 0px; padding-right: .3ex;
+
+hi Title                color: orchid; background: #1c1c1c; font-weight: bold;
+hi URL                  text-decoration: none; color: #d0ffd0;
+hi URL:hover            text-decoration: underline; cursor: pointer;
+
+hi FrameIndicator       background-color: red; opacity: 0.5; z-index: 999;
+position: fixed; top: 0; bottom: 0; left: 0; right: 0;
+
+hi Bell                 border: none; background-color: #d0d0d0;
+hi Hint                 font-family: monospace; font-size: 14px; font-weight:
+normal; color: #dddddd; background-color: #1c1c1c; border: none; margin: -0.7em
+0 0 -0.7em; padding: 0px 5px;
+hi Hint::after          content: attr(number);
+hi HintElem             background-color: rgba(208, 208, 240, 0.8); color:
+#1c1c1c;
+hi HintActive           background-color: rgba( 85, 102, 187, 0.8); color:
+#dddded;
+hi HintImage            opacity: .5;
+
+" 影(重かったらコメントアウト) {{{2
+hi -append Hint         background-color: rgba(28, 28, 28, 0.8); border: 1px
+solid #1c1c1c; -moz-border-radius: 4px; -moz-box-shadow: 0px 0px 1px black;
+text-shadow: 1px 1px 2px black;
+hi -append HintElem     text-decoration: none; -moz-border-radius: 4px;
+-moz-box-shadow: 0 0 2px #0c0c0c;
+hi -append HintActive   text-decoration: none; -moz-border-radius: 4px;
+-moz-box-shadow: 0 0 2px #0c0c0c;
+" }}}2
+" }}}1
+
+" Styles {{{1
+style -name indigo-feed-button chrome://* <<EOM
+    #feed-button {
+        list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png")
+!important;
+        -moz-image-region: auto !important;
+        border: none !important;
+        min-width: 0 !important;
+    }
+EOM
+
+style -name indigo-sbmcommentsviewer chrome://* <<EOM
+    .liberator-sbmcommentsviewer-content {
+        padding: 0 !important;
+        border: none !important;
+    }
+EOM
+" }}}1
+
+" vim: ft=vimperator

+ 64 - 0
vimperator/colors/solarized.vimp

@@ -0,0 +1,64 @@
+" ==VimperatorColorSchema==
+" name: Solarlized enhanced by Kenta Suzuki. (Based on 'Solarized')
+" ==/VimperatorColorSchema==
+"
+" Solarized - Ethan Schoonover
+" http://ethanschoonover.com/solarized
+"
+" Tweaked and hacked by Thibault Duplessis https://github.com/ornicar
+"
+" SOLARIZED HEX     16/8 TERMCOL  XTERM/HEX   L*A*B      RGB         HSB
+" --------- ------- ---- -------  ----------- ---------- ----------- -----------
+" base03    #002630  8/4 brblack  234 #1c1c1c 15 -12 -12   0  43  54 193 100  21
+" base02    #073642  0/4 black    235 #262626 20 -12 -12   7  54  66 192  90  26
+" base01    #586e75 10/7 brgreen  240 #585858 45 -07 -07  88 110 117 194  25  46
+" base00    #657b83 11/7 bryellow 241 #626262 50 -07 -07 101 123 131 195  23  51
+" base0     #839496 12/6 brblue   244 #808080 60 -06 -03 131 148 150 186  13  59
+" base1     #93a1a1 14/4 brcyan   245 #8a8a8a 65 -05 -02 147 161 161 180   9  63
+" base2     #eee8d5  7/7 white    254 #e4e4e4 92 -00  10 238 232 213  44  11  93
+" base3     #fdf6e3 15/7 brwhite  230 #ffffd7 97  00  10 253 246 227  44  10  99
+" yellow    #b58900  3/3 yellow   136 #af8700 60  10  65 181 137   0  45 100  71
+" orange    #cb4b16  9/3 brred    166 #d75f00 50  50  55 203  75  22  18  89  80
+" red       #dc322f  1/1 red      160 #d70000 50  65  45 220  50  47   1  79  86
+" magenta   #d33682  5/5 magenta  125 #af005f 50  65 -05 211  54 130 331  74  83
+" violet    #6c71c4 13/5 brmagenta 61 #5f5faf 50  15 -45 108 113 196 237  45  77
+" blue      #268bd2  4/4 blue      33 #0087ff 55 -10 -45  38 139 210 205  82  82
+" cyan      #2aa198  6/6 cyan      37 #00afaf 60 -35 -05  42 161 152 175  74  63
+" green     #859900  2/2 green     64 #5f8700 60 -20  65 133 153   0  68 100  60
+
+
+hi Hint font-family: monospace; font-size: 8pt; font-weight: normal; color: #fdf6e3; background-color: #002630; border: none; padding: 0px 3px 0px 3px;
+hi HintElem background-color: #073642; color: #b58900;
+hi HintActive background-color: #dc322f; color: #073642;
+
+hi StatusLine     color: #93a1a1; background: #002630; font-weight: normal; font-size: 10pt;
+
+hi Normal     color:  #93a1a1;  background: #002630; font-size: 10pt;
+hi CmdLine    color:  #93a1a1;  background: #002630; font-size: 12pt;
+hi InfoMsg    color:  #93a1a1;  background: #002630; font-size: 10pt;
+hi ModeMsg    color:  #93a1a1;  background: #002630; font-size: 10pt;
+hi MoreMsg    color:  #859900; background: #002630;
+hi LineNr   color:  #dc322f; background: #002630; font-size: 10pt;
+hi Question   color: #b58900;  background: #002630;  font-size: 10pt;
+hi WarningMsg   color: #dc322f;  background: #002630;  font-size: 10pt;
+hi ErrorMsg   color: #002630;  background: red;  font-size: 10pt;
+hi NonText    background: #000;
+hi Null     color: CornflowerBlue;
+hi Tag      color: CornflowerBlue;
+hi Number   color: CornflowerBlue;
+
+hi CompTitle    background: #1c1c1c;
+hi CompTitle>*  color: #cb4b16; border-bottom: 1px solid #3c3c3f; padding: 1px 0.5ex; text-shadow: none;
+hi CompItem[selected] color: cyan;  background: #333; box-shadow: none;
+hi CompDesc     color: #d33682;
+hi Filter      background: #073642; color: #fdf6e3; border: none;
+
+hi Title    color:  #002630;
+hi Indicator    color:  #b58900;
+hi String   color:  #002630;
+hi Number   color:  #002630;
+hi Object   color: #2aa198;
+hi Function   color:  #268bd2;
+hi URL    color:  #859900;
+
+hi TabNumber  color: #002630; font-weight: bold; font-size:8pt;

+ 72 - 0
vimperator/colors/wombat.vimp

@@ -0,0 +1,72 @@
+" ==Vimperator_Color_Scheme==
+" name: Wombat
+" ==Wombat_Color_Scheme==
+hi Hint     font-family: monospace; font-size: 14pt; font-weight: normal; color: lightyellow; background-color: black; border-color: ButtonShadow; border-width: 0px; border-style: solid; padding: 0px 5px;
+
+hi HintElem   background-color: #f6f3e8;  color: #444444;
+hi HintActive   background-color: #646464;  color: white;
+
+hi StatusLine     color: white; background: #000; font-weight: normal; font-size: 14pt;
+
+hi Normal     color: LightYellow; background: #333; font-size: 14pt;
+hi InfoMsg    color: LightYellow; background: #333; font-size: 14pt;
+hi ModeMsg    color: LightYellow; background: #333; font-size: 14pt;
+hi MoreMsg    color: LimeGreen; background: #333;
+hi LineNr   color: White; background: #333; font-size: 10pt;
+hi Question   color: Yellow;    background: #333; font-size: 10pt;
+hi WarningMsg   color: White; background: #333; font-size: 10pt;
+hi NonText    background: #333;
+hi Null     color: CornflowerBlue;
+hi Tag      color: CornflowerBlue;
+
+hi CompTitle    color: #8ac6f2;   background: #242424;  font-weight: bold;
+hi CompItem[selected] color: #cae682; background: #242424;
+hi CompDesc   color: #f6f3e8;
+hi GradientRight  background-color: Black;
+
+hi Title    color: white;
+hi Indicator    color: DodgerBlue;
+hi String   color: Orchid;
+hi Number   color: Orchid;
+hi Object   color: Khaki;
+hi Function   color: SkyBlue;
+hi URL      color: LightGreen;
+
+hi TabNumber    color: black; font-weight: bold; font-size: 14pt;
+
+style -name tab chrome://* <<EOM
+#content { background-color: #ccc; } /* tabbar */
+.tabs-alltabs-button { padding: 0 !important; }
+.tabs-container > stack { display: none; } /* remove tab selection menu */
+/*.tabs-container .box-inherit.scrollbox-innerbox { border-bottom: 1px solid #404040; } /* tab bar position: top */
+.tabs-container scrollbox {
+    background-color: #adadad;
+    border-bottom: 1px solid #000;
+}
+.tabbrowser-tab {
+    -moz-apperance: none !important;
+margin: 0 !important;
+padding: 0 !important;
+         -moz-border-radius-topleft: 0 !important;
+         -moz-border-radius-topright: 0 !important;
+         -moz-border-radius-bottomright: 0 !important;
+         -moz-border-radius-bottomleft: 0 !important;
+         border-bottom: 1px solid #000 !important;
+         background-image: none !important;
+         background-color: #ff69b4 !important;
+         text-align: left !important;
+}
+.tabbrowser-tab[selected=false] { background: #999 !important; }
+.tabbrowser-tab[selected=true] .tab-text { color: #ddd !important; }
+.tab-icon-image { margin-bottom: -4px; }
+.tab-image-left,
+    .tab-image-middle,
+    .tab-image-right {
+        background-image: none !important;
+    }
+EOM
+
+style -name statusbar chrome://* <<EOM
+#status-bar statusbarpanel { padding: 0 1px !important; }
+statusbarpanel > * { margin: 0 !important; padding: 0 !important; }
+EOM

+ 1 - 0
vimperator/vimperatorrc

@@ -4,6 +4,7 @@
 
 " gui options
 set gui=nonavigation,tabs,bookmarks,addons
+" set status=location
 
 " don't focus on inputs/textfields when we navigate to a page
 set focuscontent