From 281409fb00edc3c8192b513bd96a548bcf24b793 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 14 Feb 2015 08:35:10 -0500 Subject: [PATCH] [vimperator] add some color themes --- vimperator/.vimperator/colors/indigo.vimp | 102 +++++++++++++++++++++ vimperator/.vimperator/colors/seaweed.vimp | 53 +++++++++++ vimperator/.vimperator/colors/zenburn.vimp | 85 +++++++++++++++++ vimperator/.vimperatorrc | 2 + 4 files changed, 242 insertions(+) create mode 100644 vimperator/.vimperator/colors/indigo.vimp create mode 100644 vimperator/.vimperator/colors/seaweed.vimp create mode 100644 vimperator/.vimperator/colors/zenburn.vimp diff --git a/vimperator/.vimperator/colors/indigo.vimp b/vimperator/.vimperator/colors/indigo.vimp new file mode 100644 index 0000000..5673179 --- /dev/null +++ b/vimperator/.vimperator/colors/indigo.vimp @@ -0,0 +1,102 @@ +" ==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://* <* padding: 0 .5ex; +hi ErrorMsg color: green; background: #2f2f2f; font-weight: bold; +hi Filter font-weight: bold; +hi FrameIndicator background-color: #2f2f2f; opacity: 0.5; z-index: 999; position: fixed; top: 0; bottom: 0; left: 0; right: 0; +hi Function color: navy; +" hi Gradient height: 1px; margin-bottom: -1px; margin-top: -1px; +" hi GradientLeft background-color: #2f2f2f; +" hi GradientRight background-color: #2f2f2f; +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::after content: attr(number); +hi HintActive background: #2f2f2f; color: #f6e9e9; +hi HintElem background-color: #2f2f2f; color: #f6e9e9; +hi HintImage opacity: .5; +hi Indicator color: blue; +hi InfoMsg color: green; background: #2f2f2f; +hi LineNr color: green; background: #2f2f2f; +hi Message white-space: normal; min-width: 100%; padding-left: 2em; text-indent: -2em; display: block; +hi ModeMsg color: #8ade8e; background: #2f2f2f; +hi MoreMsg color: #8ade8e; background: #2f2f2f; +hi NonText color: blue; min-height: 16px; padding-left: 2px; +hi Normal color: #8ade8e; background: #2f2f2f; +hi Null color: blue; +hi Number color: blue; +hi Object color: maroon; +hi Preview color: gray; +hi Question color: #8ade8e; background: green; font-weight: bold; +" hi Search font-size: inherit; padding: 0; color: #2f2f2f; background-color: yellow; padding: 0; +hi StatusLine color: #9acd32; background: #2f2f2f; +" hi StatusLineBroken color: red; background: #2f2f2f; +" hi StatusLineSecure color: #77a8c1; background: #2f2f2f; +hi String color: green; +hi Tag color: blue; +hi Title color: green; background: #2f2f2f; font-weight: bold; +hi URL text-decoration: none; color: green; background: inherit; +hi URL:hover text-decoration: underline; cursor: pointer; +hi WarningMsg color: red; background: #2f2f2f; diff --git a/vimperator/.vimperator/colors/zenburn.vimp b/vimperator/.vimperator/colors/zenburn.vimp new file mode 100644 index 0000000..369236c --- /dev/null +++ b/vimperator/.vimperator/colors/zenburn.vimp @@ -0,0 +1,85 @@ +" ==Vimperator_Color_Scheme== +" name: zenburn +" url: https://github.com/livibetter/dotfiles/tree/master/vimperator/colors +" original name: vimPgray +" +" Created for matching this GTK+ theme: +" http://www.gnome-look.org/content/show.php/Clearlooks+Zenburn?content=103035 +" +" Last edited: +" Edited by Yu-Jie Lin +" +" Original vimp: 2010-11-01T10:04:00+0800 +" http://github.com/VoQn/vimperator-colorscheme/blob/master/colors/default.vimp +" +" Reference: +" chrome://liberator/locale/styling.html +" ==VimPGray_Colorscheme_Settings== + +" Reset all styles first +hi clear + +hi CompDesc color: #999; width: 50%; +hi CompItem[selected] background: #666; + +" Used in Command Line +" Entire bottom line +hi CmdLine color: #aaa; background: #333; font-family: Inconsolata; font-size: 12px; padding: 0px; vertical-align: middle; border: none; + +" Used in the URL column of `bmarks` +hi CompResult color: #aaa; width: 45%; overflow: hidden; +hi CompTitle color: #ddc; background: #333; font-weight: bold; +hi CompTitle>* color: #aaa; font-weight: bold; border-top: 1px solid gray; border-bottom: 1px solid #BBB; padding: 1px 0.5ex; + +" Hints! +hi Hint color: white; background-color: #800; border-color: ButtonShadow; font-family: Inconsolata; font-size: 12px; border-width: 0px; border-style: solid; padding 0 1px; +hi Hint::after content: attr(number); +hi HintActive color: black; background: #480; +hi HintElem color: black; background-color: #880; +hi HintImage opacity: .5; + +" Used also in wrapping error messages as the background, simple speaking +hi InfoMsg color: #ddc; background: #333; + +" Used when error on syntax error in vimperatorrc, etc. +hi LineNr color: orange; background-color: #333; + +hi ErrorMsg color: #c22; background-color: #333; font-weight: bold; + +" Used in CARET or COMMAND modes +hi ModeMsg color: #ddc; background: #333; + +hi MoreMsg color: #080; background: #222; font-weight: bold; -moz-border-radius: 5px; padding-left: 5px; + +hi Normal color: #ddc; background: #333; + +" Used in :`js tr` +hi Boolean color: #f00; +hi Function color: #04c; +hi Null color: #00c; +hi Number color: #00c; +hi Object color: #c40; +hi String color: #0c0; + +" Used in "Press ENTER..." of `jumps` or `bmarks`, or "Follow Hint..." or `f` +hi Question color: #080; background: #222; font-weight: bold; -moz-border-radius: 5px; padding-left: 5px; + +" hi Search color: #333; background-color: #cc0; font-size: inherit; padding: 0; padding: 0; + +hi StatusLine color: #ddc; background: #333; font-family: Inconsolata; font-size: 14px; margin-top: 1px; + +" Firefox's tabs +hi TabNumber color: #ddc; font-weight: bold; margin: 0; padding-right: .3ex; text-shadow: #000 -1px 0 0, #000 0 1px 0, #000 1px 0 0, #000 0 -1px 0; + +" Used in `pageinfo` or `jumps` +hi Title color: #ddc; background: #333; font-weight: bold; + +" Used in items of Info field of `bmarks` +hi Keyword color: #CC0; +hi Tag color: #0CC; +hi URL color: #080; text-decoration: none; padding: 0 2px; +hi URL:hover color: #880; background-color: #222; -moz-border-radius: 5px; cursor: pointer; + +hi ContentSeparator border:none; + +" vim:set filetype=vim: diff --git a/vimperator/.vimperatorrc b/vimperator/.vimperatorrc index 26cbebf..d523fe2 100644 --- a/vimperator/.vimperatorrc +++ b/vimperator/.vimperatorrc @@ -27,3 +27,5 @@ noremap X u " d and u (down and up) " noremap d " noremap u + +colorscheme seaweed -- 2.20.1