mirror of
https://github.com/altercation/solarized
synced 2024-11-25 05:00:19 +00:00
Merge branch 'master' of git://github.com/altercation/solarized
This commit is contained in:
commit
5a0499c0d4
43 changed files with 2544 additions and 540 deletions
0
.gitmodules
vendored
Normal file
0
.gitmodules
vendored
Normal file
|
@ -68,13 +68,14 @@ These changes may require you to change your configuration.
|
|||
|
||||
* **VIM : IMPROVEMENT : New Toggle Background Plugin**
|
||||
Added new Toggle Background plugin. Will load automatically and show up as
|
||||
a menu item in the `Window` menu in gui vim. Automatically maps to <F5> if
|
||||
available (won't clobber that mapping if you're using it). Also available
|
||||
as a command `:ToggleBG`. To manually map to something other than <F5>:
|
||||
a menu item in the `Window` menu in gui vim. Automatically maps to
|
||||
`<F5>` if available (won't clobber that mapping if you're using it).
|
||||
Also available as a command `:ToggleBG`. To manually map to
|
||||
something other than `<F5>`:
|
||||
|
||||
To set your own mapping in your .vimrc file, simply add the following line
|
||||
to support normal, insert and visual mode usage, changing the "<F5>" value
|
||||
to the key or key combination you wish to use:
|
||||
to support normal, insert and visual mode usage, changing the
|
||||
"`<F5>`" value to the key or key combination you wish to use:
|
||||
|
||||
call togglebg#map("<F5>")
|
||||
|
||||
|
@ -86,13 +87,13 @@ These changes may require you to change your configuration.
|
|||
displayed using ":set list" can be set to one of three levels depending on
|
||||
your needs.
|
||||
|
||||
g:solarized_visibility = "normal"| "high" or "low"
|
||||
let g:solarized_visibility = "normal"| "high" or "low"
|
||||
|
||||
I'll be honest: I still prefer low visibility. I like them barely there.
|
||||
They show up in lines that are highlighted as by the cursor line, which
|
||||
works for me. If you are with me on this, put the following in your .vimrc:
|
||||
|
||||
g:solarized_visibility = "low"
|
||||
let g:solarized_visibility = "low"
|
||||
|
||||
### Non Critical Changes
|
||||
|
||||
|
|
148
README.md
148
README.md
|
@ -14,31 +14,31 @@ Solarized
|
|||
|
||||
## Precision colors for machines and people
|
||||
|
||||
[![solarized dualmode](https://github.com/altercation/solarized/raw/master/img/solarized-yinyang.png)](#features)\
|
||||
[![solarized dualmode](https://github.com/altercation/solarized/raw/master/img/solarized-yinyang.png)](#features)
|
||||
|
||||
|
||||
Solarized is a sixteen color palette (eight monotones, eight accent colors)
|
||||
designed for use with terminal and gui applications. It has several [unique
|
||||
properties](#features). I designed this colorscheme with both precise
|
||||
[CIELAB](http://en.wikipedia.org/wiki/Lab_color_space) lightness relationships
|
||||
and a refined set of hues based on fixed color wheel relationships. It has been
|
||||
tested extensively in real world use on color calibrated displays (as well as
|
||||
uncalibrated/intentionally miscalibrated displays) and in a variety of lighting
|
||||
Solarized is a sixteen color palette (eight monotones, eight accent colors)
|
||||
designed for use with terminal and gui applications. It has several [unique
|
||||
properties](#features). I designed this colorscheme with both precise
|
||||
[CIELAB](http://en.wikipedia.org/wiki/Lab_color_space) lightness relationships
|
||||
and a refined set of hues based on fixed color wheel relationships. It has been
|
||||
tested extensively in real world use on color calibrated displays (as well as
|
||||
uncalibrated/intentionally miscalibrated displays) and in a variety of lighting
|
||||
conditions.
|
||||
|
||||
***See the [changelog] for what's new in the most recent release.***
|
||||
|
||||
![solarized palette](https://github.com/altercation/solarized/raw/master/img/solarized-palette.png)\
|
||||
![solarized vim](https://github.com/altercation/solarized/raw/master/img/solarized-vim.png)\
|
||||
![solarized palette](https://github.com/altercation/solarized/raw/master/img/solarized-palette.png)
|
||||
|
||||
![solarized vim](https://github.com/altercation/solarized/raw/master/img/solarized-vim.png)
|
||||
|
||||
Currently available in formats for (cf [screenshots](#screenshots) below):
|
||||
|
||||
### Editors & IDEs
|
||||
|
||||
* **Vim** by [me] (the Vim-only portion of Solarized is
|
||||
[available here][Vim Repository], for use with Pathogen, etc.).
|
||||
See also the [Vim README].
|
||||
* **Emacs** courtesy of [Greg Pfeil](http://blog.technomadic.org)
|
||||
* **Vim** by [me](https://github.com/altercation) (the Vim-only portion of Solarized is
|
||||
[available here](https://github.com/altercation/vim-colors-solarized), for use with
|
||||
Pathogen, etc.). See also the [Vim README](http://ethanschoonover.com/solarized/vim-colors-solarized).
|
||||
* **Emacs** courtesy of [Greg Pfeil](http://blog.technomadic.org)
|
||||
([@sellout](http://twitter.com/sellout))
|
||||
in the main repo and in a [standalone repository][Emacs Repository]
|
||||
* **IntelliJ IDEA**
|
||||
|
@ -48,24 +48,24 @@ Currently available in formats for (cf [screenshots](#screenshots) below):
|
|||
* **NetBeans** courtesy of [Brian Fenton](https://github.com/fentie) and
|
||||
in the main repo and in a [standalone repository][NetBeans Repository]
|
||||
* **SeeStyle theme for Coda & SubEthaEdit** courtesy of
|
||||
[Justin Hileman](http://justinhileman.com/)
|
||||
[Justin Hileman](http://justinhileman.com/)
|
||||
([@bobthecow](http://twitter.com/bobthecow)),
|
||||
in the main repo and in a
|
||||
[standalone repository][SeeStyle-Coda-SubEthaEdit Repository]
|
||||
* **TextMate** --- ***NOTE:*** Dark Theme is work in progress\
|
||||
courtesy of [Tom Martin](http://thedeplorableword.net/)
|
||||
courtesy of [Tom Martin](http://thedeplorableword.net/)
|
||||
([@deplorableword](http://twitter.com/deplorableword))
|
||||
in the main repo and in a [standalone repository][TextMate Repository]
|
||||
(with key work from [Mark Story](http://mark-story.com)
|
||||
(with key work from [Mark Story](http://mark-story.com)
|
||||
and [Brian Mathiyakom](http://brian.rarevisions.net))
|
||||
* **TextWrangler & BBEdit** courtesy of [Rui Carmo](http://the.taoofmac.com)
|
||||
([@taoofmac](http://twitter.com/taoofmac))
|
||||
in the main repo and in a [standalone repository][TextWrangler-BBEdit Repository]
|
||||
* **Visual Studio** courtesy of [David Thibault](http://www.leddt.com)
|
||||
* **Visual Studio** courtesy of [David Thibault](http://www.leddt.com)
|
||||
([@leddt](http://twitter.com/leddt))
|
||||
in the main repo and in a [standalone repository][Visual Studio Repository]
|
||||
|
||||
* **Xcode** work in progress ports are available for [Xcode 3] and [Xcode 4]
|
||||
* **Xcode** work in progress ports are available for [Xcode 3] and [Xcode 4]
|
||||
and will be pulled into the main Solarized project soon.
|
||||
|
||||
### Terminal Emulators
|
||||
|
@ -75,6 +75,8 @@ Currently available in formats for (cf [screenshots](#screenshots) below):
|
|||
* **OS X Terminal.app**
|
||||
* **Putty** courtesy [Brant Bobby](http://www.control-v.net)
|
||||
and on [GitHub](https://github.com/brantb)
|
||||
* **Xfce terminal** courtesy [Sasha Gerrand](http://sgerrand.com)
|
||||
and on [GitHub](https://github.com/sgerrand)
|
||||
|
||||
### Other Applications
|
||||
|
||||
|
@ -87,10 +89,10 @@ Currently available in formats for (cf [screenshots](#screenshots) below):
|
|||
* **Apple Color Picker** Palettes
|
||||
* **GIMP** Palette
|
||||
|
||||
Don't see the application you want to use it in? Download the palettes (or pull
|
||||
the values from the table below) and create your own. Submit it back and I'll
|
||||
happily note the contribution and include it on this page. See also the
|
||||
[Usage & Development](#usage-development) section below for details on the
|
||||
Don't see the application you want to use it in? Download the palettes (or pull
|
||||
the values from the table below) and create your own. Submit it back and I'll
|
||||
happily note the contribution and include it on this page. See also the
|
||||
[Usage & Development](#usage-development) section below for details on the
|
||||
specific values to be used in different contexts.
|
||||
|
||||
Download
|
||||
|
@ -98,12 +100,12 @@ Download
|
|||
|
||||
### [Click here to download latest version](http://ethanschoonover.com/solarized/files/solarized.zip)
|
||||
|
||||
Current release is **v1.0.0beta2**. See the [changelog] for details on what's
|
||||
Current release is **v1.0.0beta2**. See the [changelog] for details on what's
|
||||
new in this release.
|
||||
|
||||
### Fresh Code on GitHub
|
||||
|
||||
You can also use the following links to access application specific downloads
|
||||
You can also use the following links to access application specific downloads
|
||||
and git repositories:
|
||||
|
||||
* **Canonical Project Page:**
|
||||
|
@ -120,7 +122,7 @@ and git repositories:
|
|||
|
||||
* **Application Specific Repositories:**
|
||||
|
||||
You can clone repositories specific to many of the application specific
|
||||
You can clone repositories specific to many of the application specific
|
||||
color themes. See links in the list above or select from this list:
|
||||
|
||||
* [Vim Repository]
|
||||
|
@ -144,57 +146,57 @@ Features
|
|||
|
||||
1. **Selective contrast**
|
||||
|
||||
On a sunny summer day I love to read a book outside. Not right in the sun;
|
||||
that's too bright. I'll hunt for a shady spot under a tree. The shaded
|
||||
paper contrasts with the crisp text nicely. If you were to actually measure
|
||||
the contrast between the two, you'd find it is much lower than black text
|
||||
On a sunny summer day I love to read a book outside. Not right in the sun;
|
||||
that's too bright. I'll hunt for a shady spot under a tree. The shaded
|
||||
paper contrasts with the crisp text nicely. If you were to actually measure
|
||||
the contrast between the two, you'd find it is much lower than black text
|
||||
on a white background (or white on black) on your display device of choice.
|
||||
Black text on white from a computer display is akin to reading a book in
|
||||
Black text on white from a computer display is akin to reading a book in
|
||||
direct sunlight and tires the eye.
|
||||
|
||||
![solarized selective contrast](https://github.com/altercation/solarized/raw/master/img/solarized-selcon.png)\
|
||||
![solarized selective contrast](https://github.com/altercation/solarized/raw/master/img/solarized-selcon.png)
|
||||
|
||||
Solarized reduces *brightness contrast* but, unlike many low contrast
|
||||
colorschemes, retains *contrasting hues* (based on colorwheel relations)
|
||||
Solarized reduces *brightness contrast* but, unlike many low contrast
|
||||
colorschemes, retains *contrasting hues* (based on colorwheel relations)
|
||||
for syntax highlighting readability.
|
||||
|
||||
2. **Both sides of the force**
|
||||
|
||||
![solarized dualmode](https://github.com/altercation/solarized/raw/master/img/solarized-dualmode.png)\
|
||||
![solarized dualmode](https://github.com/altercation/solarized/raw/master/img/solarized-dualmode.png)
|
||||
|
||||
I often switch between dark and light modes when editing text and code.
|
||||
Solarized retains the same selective contrast relationships and overall
|
||||
feel when switching between the light and dark background modes. A *lot* of
|
||||
thought, planning and testing has gone into making both modes feel like
|
||||
Solarized retains the same selective contrast relationships and overall
|
||||
feel when switching between the light and dark background modes. A *lot* of
|
||||
thought, planning and testing has gone into making both modes feel like
|
||||
part of a unified colorscheme.
|
||||
|
||||
3. **16/5 palette modes**
|
||||
|
||||
![solarized palettes](https://github.com/altercation/solarized/raw/master/img/solarized-165.png)\
|
||||
![solarized palettes](https://github.com/altercation/solarized/raw/master/img/solarized-165.png)
|
||||
|
||||
Solarized works as a sixteen color palette for compatibility with common
|
||||
terminal based applications / emulators. In addition, it has been carefully
|
||||
designed to scale down to a variety of five color palettes (four base
|
||||
terminal based applications / emulators. In addition, it has been carefully
|
||||
designed to scale down to a variety of five color palettes (four base
|
||||
monotones plus one accent color) for use in design work such as web design.
|
||||
In every case it retains a strong personality but doesn't overwhelm.
|
||||
|
||||
5. **Precision, symmetry**
|
||||
|
||||
![solarized symmetry](https://github.com/altercation/solarized/raw/master/img/solarized-sym.png)\
|
||||
![solarized symmetry](https://github.com/altercation/solarized/raw/master/img/solarized-sym.png)
|
||||
|
||||
The monotones have symmetric CIELAB lightness differences, so switching
|
||||
from dark to light mode retains the same perceived contrast in brightness
|
||||
between each value. Each mode is equally readable. The accent colors are
|
||||
based off specific colorwheel relations and subsequently translated to
|
||||
CIELAB to ensure perceptual uniformity in terms of lightness. The hues
|
||||
themselves, as with the monotone \*a\*b values, have been adjusted within
|
||||
The monotones have symmetric CIELAB lightness differences, so switching
|
||||
from dark to light mode retains the same perceived contrast in brightness
|
||||
between each value. Each mode is equally readable. The accent colors are
|
||||
based off specific colorwheel relations and subsequently translated to
|
||||
CIELAB to ensure perceptual uniformity in terms of lightness. The hues
|
||||
themselves, as with the monotone \*a\*b values, have been adjusted within
|
||||
a small range to achieve the most pleasing combination of colors.
|
||||
|
||||
See also the [Usage & Development](#usage-development) section below for
|
||||
See also the [Usage & Development](#usage-development) section below for
|
||||
details on the specific values to be used in different contexts.
|
||||
|
||||
This makes colorscheme inversion trivial. Here, for instance, is a sass
|
||||
(scss) snippet that inverts solarized based on the class of the html tag
|
||||
This makes colorscheme inversion trivial. Here, for instance, is a sass
|
||||
(scss) snippet that inverts solarized based on the class of the html tag
|
||||
(e.g. `<html class="dark red">` to give a dark background with red accent):
|
||||
|
||||
$base03: #002b36;
|
||||
|
@ -213,7 +215,7 @@ Features
|
|||
$blue: #268bd2;
|
||||
$cyan: #2aa198;
|
||||
$green: #859900;
|
||||
@mixin rebase($rebase03,$rebase02,$rebase01,$rebase00,$rebase0,$rebase1,$rebase2,$rebase3)
|
||||
@mixin rebase($rebase03,$rebase02,$rebase01,$rebase00,$rebase0,$rebase1,$rebase2,$rebase3)
|
||||
{
|
||||
background-color:$rebase03;
|
||||
color:$rebase0;
|
||||
|
@ -238,15 +240,15 @@ Features
|
|||
Installation
|
||||
------------
|
||||
|
||||
Installation instructions for each version of the colorscheme are included in
|
||||
the subdirectory README files. Note that for Vim (and possibly for Mutt) you
|
||||
may want to clone the specific repository (for instance if you are using
|
||||
Installation instructions for each version of the colorscheme are included in
|
||||
the subdirectory README files. Note that for Vim (and possibly for Mutt) you
|
||||
may want to clone the specific repository (for instance if you are using
|
||||
Pathogen). See the links at the top of this file.
|
||||
|
||||
Font Samples
|
||||
------------
|
||||
|
||||
Solarized has been designed to handle fonts of various weights and retain
|
||||
Solarized has been designed to handle fonts of various weights and retain
|
||||
readability, from the classic Terminus to the beefy Menlo.
|
||||
|
||||
![font samples - light](https://github.com/altercation/solarized/raw/master/img/solarized-fontsamples-light.png)
|
||||
|
@ -254,7 +256,7 @@ readability, from the classic Terminus to the beefy Menlo.
|
|||
|
||||
Clockwise from upper left: Menlo, Letter Gothic, Terminus, Andale Mono.
|
||||
|
||||
Preview all code samples in specific font faces by selecting a link from this
|
||||
Preview all code samples in specific font faces by selecting a link from this
|
||||
list:
|
||||
|
||||
* [DejaVu Sans 18](http://ethanschoonover.com/solarized/img/dejavusans18/)
|
||||
|
@ -344,7 +346,7 @@ These screen shots show Vim running with my own [Pandoc Kit Syntax](http://ethan
|
|||
The Values
|
||||
----------
|
||||
|
||||
L\*a\*b values are canonical (White D65, Reference D50), other values are
|
||||
L\*a\*b values are canonical (White D65, Reference D50), other values are
|
||||
matched in sRGB space.
|
||||
|
||||
SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B RGB HSB
|
||||
|
@ -369,28 +371,28 @@ matched in sRGB space.
|
|||
Usage & Development
|
||||
-------------------
|
||||
|
||||
If you are considering developing a port for Solarized, please see also the
|
||||
[developer notes](http://ethanschoonover.com/solarized/DEVELOPERS) for
|
||||
If you are considering developing a port for Solarized, please see also the
|
||||
[developer notes](http://ethanschoonover.com/solarized/DEVELOPERS) for
|
||||
information about optional repository structure and readme formats.
|
||||
|
||||
Solarized flips between light and dark modes. In each mode, four monotones form
|
||||
Solarized flips between light and dark modes. In each mode, four monotones form
|
||||
the core values (with an optional fifth for emphasized content).
|
||||
|
||||
![value samples - dark](https://github.com/altercation/solarized/raw/master/img/solarized-values-dark.png)\
|
||||
![value samples - dark](https://github.com/altercation/solarized/raw/master/img/solarized-values-dark.png)
|
||||
|
||||
![value samples - light](https://github.com/altercation/solarized/raw/master/img/solarized-values-light.png)\
|
||||
![value samples - light](https://github.com/altercation/solarized/raw/master/img/solarized-values-light.png)
|
||||
|
||||
Thus in the case of a dark background colorscheme, the normal relationship for
|
||||
background and body text is `base03:base0` (please note that body text is
|
||||
**not** `base00`). Note also that in cases where the background and foreground
|
||||
can be specified as a pair value, text can be highlighted using a combination
|
||||
of `base02:base1`. The L\*a\*b lightness difference between `base03:base0` and
|
||||
`base02:base1` is identical by design, resulting in identical readability
|
||||
against both normal and highlighted backgrounds. An example use case is folded
|
||||
text in Vim which uses `base02` for the background and `base1` for the
|
||||
Thus in the case of a dark background colorscheme, the normal relationship for
|
||||
background and body text is `base03:base0` (please note that body text is
|
||||
**not** `base00`). Note also that in cases where the background and foreground
|
||||
can be specified as a pair value, text can be highlighted using a combination
|
||||
of `base02:base1`. The L\*a\*b lightness difference between `base03:base0` and
|
||||
`base02:base1` is identical by design, resulting in identical readability
|
||||
against both normal and highlighted backgrounds. An example use case is folded
|
||||
text in Vim which uses `base02` for the background and `base1` for the
|
||||
foreground.
|
||||
|
||||
The values in this example are simply inverted in the case of a light
|
||||
The values in this example are simply inverted in the case of a light
|
||||
background.
|
||||
|
||||
|
||||
|
|
67
gedit/README.md
Normal file
67
gedit/README.md
Normal file
|
@ -0,0 +1,67 @@
|
|||
# Solarized for Gedit
|
||||
|
||||
## Precision colors for machines and people - _Now with more Gedit!_
|
||||
|
||||
---
|
||||
|
||||
### Solarized
|
||||
|
||||
Solarized was created by [Ethan Schoonover][ES] and you can find out more
|
||||
about the design work that went into it on his [project page][ES-solarized]. If
|
||||
you would like to use Solarized in editors other than Gedit or on your terminal,
|
||||
Ethan hosts the [main repository][SolarizedRepo] which combines all the available
|
||||
ports in one place.
|
||||
|
||||
### Solarized for Gedit
|
||||
|
||||
Solarized was initially ported for Gedit by [Matthew Cantelon][MC] and can be
|
||||
found at <http://github.com/mattcan/solarized-gedit>.
|
||||
|
||||
### Screenshots
|
||||
|
||||
![Light theme][LightImg]
|
||||
![Dark theme][DarkImg]
|
||||
|
||||
### Installation
|
||||
|
||||
_Please note that installation has only been tested on Ubuntu 12.10 and Gedit 3_
|
||||
|
||||
You can download the files in one of two ways:
|
||||
|
||||
* using `git clone git://github.com/mattcan/solarized-gedit.git`
|
||||
* using the **Download** button to get the ZIP file and extracting the files to
|
||||
a folder
|
||||
|
||||
Once the files are on your PC, copy `solarized-light.xml` and `solarized-dark.xml`
|
||||
to one of these folders:
|
||||
|
||||
* if you are the only user on your computer
|
||||
|
||||
```
|
||||
mkdir -p ~/.local/share/gedit/styles
|
||||
cp solarized-* ~/.local/share/gedit/styles
|
||||
```
|
||||
|
||||
* if you want everyone on your PC to be able to use the styles ( _path
|
||||
below is for Ubuntu_ )
|
||||
|
||||
```
|
||||
sudo mkdir -p /usr/share/gtksourceview-3.0/styles
|
||||
sudo cp solarized-* /usr/share/gtksourceview-3.0/styles
|
||||
```
|
||||
|
||||
* you can also use the installer ( _has only been tested with Ubuntu 12.10_ )
|
||||
|
||||
```
|
||||
cd wherever/you/extracted
|
||||
chmod a+x installer
|
||||
# -a for all users, -l for local
|
||||
./installer [-a | -l]
|
||||
```
|
||||
|
||||
[ES]: http://ethanschoonover.com
|
||||
[ES-Solarized]: http://ethanschoonover.com/solarized
|
||||
[SolarizedRepo]: https://github.com/altercation/solarized
|
||||
[MC]: http://matthewcantelon.ca
|
||||
[LightImg]: https://github.com/mattcan/solarized-gedit/raw/master/img/solarized_light.png
|
||||
[DarkImg]: https://github.com/mattcan/solarized-gedit/raw/master/img/solarized_dark.png
|
BIN
gedit/img/solarized_dark.png
Normal file
BIN
gedit/img/solarized_dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
BIN
gedit/img/solarized_light.png
Normal file
BIN
gedit/img/solarized_light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
62
gedit/installer
Executable file
62
gedit/installer
Executable file
|
@ -0,0 +1,62 @@
|
|||
#!/bin/bash
|
||||
|
||||
# shows usage instructions
|
||||
usage()
|
||||
{
|
||||
cat << EOF
|
||||
usage: $0 [options]
|
||||
|
||||
This script installs the Solarized styles for gedit.
|
||||
|
||||
OPTIONS:
|
||||
-h Shows this message
|
||||
-a Install for all users
|
||||
-l Install only for you
|
||||
EOF
|
||||
}
|
||||
|
||||
chkdir()
|
||||
{
|
||||
if [ ! -d "$INSTALLPATH" ]; then
|
||||
if [ "$NEEDSUDO" == true ]; then
|
||||
sudo mkdir -p "$INSTALLPATH"
|
||||
else
|
||||
mkdir -p "$INSTALLPATH"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# path to install to
|
||||
INSTALLPATH=$HOME/.local/share/gedit/styles
|
||||
# will need to use sudo to install for all users
|
||||
NEEDSUDO=false
|
||||
|
||||
# loop through passed arguments
|
||||
while getopts "hal" OPTION
|
||||
do
|
||||
case $OPTION in
|
||||
h)
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
a)
|
||||
INSTALLPATH=/usr/share/gtksourceview-3.0/styles
|
||||
NEEDSUDO=true
|
||||
;;
|
||||
l)
|
||||
INSTALLPATH=$HOME/.local/share/gedit/styles
|
||||
;;
|
||||
?)
|
||||
INSTALLPATH=$HOME/.local/share/gedit/styles
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# install for all users when sudo set to true
|
||||
if [ "$NEEDSUDO" == true ]; then
|
||||
chkdir
|
||||
sudo cp solarized-*.xml "$INSTALLPATH"
|
||||
else
|
||||
chkdir
|
||||
cp solarized-*.xml "$INSTALLPATH"
|
||||
fi
|
131
gedit/solarized-dark.xml
Normal file
131
gedit/solarized-dark.xml
Normal file
|
@ -0,0 +1,131 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
|
||||
This theme is based on the Solarized theme originally created
|
||||
by Ethan Schoonover at http://ethanschoonover.com/solarized
|
||||
|
||||
Copyright (C) 2012 Matthew Cantelon
|
||||
Author: Matthew Cantelon <me@matthewcantelon.ca>
|
||||
|
||||
GtkSourceView is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
GtkSourceView is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
-->
|
||||
|
||||
<style-scheme id="solarizeddark" _name="Solarized Dark" version="1.0">
|
||||
|
||||
<author>Matthew Cantelon</author>
|
||||
<_description>Gedit port of the dark version of the Solarized theme. Check https://github.com/mattcan/solarized-gedit for more information.</_description>
|
||||
|
||||
<!-- Solarized Palette -->
|
||||
<color name="base03" value="#002b36"/>
|
||||
<color name="base02" value="#073642"/>
|
||||
<color name="base01" value="#586e75"/>
|
||||
<color name="base00" value="#657b83"/>
|
||||
<color name="base0" value="#839496"/>
|
||||
<color name="base1" value="#93a1a1"/>
|
||||
<color name="base2" value="#eee8d5"/>
|
||||
<color name="base3" value="#fdf6e3"/>
|
||||
<color name="yellow" value="#b58900"/>
|
||||
<color name="orange" value="#cb4b16"/>
|
||||
<color name="red" value="#dc322f"/>
|
||||
<color name="magenta" value="#d33682"/>
|
||||
<color name="violet" value="#6c71c4"/>
|
||||
<color name="blue" value="#268bd2"/>
|
||||
<color name="cyan" value="#2aa198"/>
|
||||
<color name="green" value="#859900"/>
|
||||
|
||||
<!-- Global Settings -->
|
||||
<style name="text" foreground="base1" background="base03"/>
|
||||
<style name="selection" foreground="base03" background="base0"/>
|
||||
<style name="cursor" foreground="base2"/>
|
||||
<style name="current-line" background="base02"/>
|
||||
<style name="line-numbers" foreground="base0" background="base02"/>
|
||||
<style name="draw-spaces" foreground="base0"/>
|
||||
|
||||
<!-- Bracket Matching -->
|
||||
<style name="bracket-match" foreground="red" bold="true"/>
|
||||
<style name="bracket-mismatch" foreground="red" background="base3" bold="true"/>
|
||||
|
||||
<!-- Comments -->
|
||||
<style name="def:comment" foreground="base01" italic="true"/>
|
||||
<style name="def:shebang" foreground="base01" italic="true" bold="true"/>
|
||||
<style name="def:doc-comment-element" italic="true"/>
|
||||
|
||||
<!-- Right Margin -->
|
||||
<style name="right-margin" foreground="base0" background="base02"/>
|
||||
|
||||
<!-- Search Matching -->
|
||||
<style name="search-match" foreground="yellow"/>
|
||||
|
||||
<!-- Constants -->
|
||||
<style name="def:constant" foreground="cyan"/>
|
||||
<style name="def:decimal" foreground="magenta"/>
|
||||
<style name="def:base-n-integer" use-style="def:decimal"/>
|
||||
<style name="def:floating-point" use-style="def:decimal"/>
|
||||
<style name="def:complex" use-style="def:base-n-integer"/>
|
||||
<style name="def:character" foreground="magenta"/>
|
||||
<style name="def:string" use-style="def:constant"/>
|
||||
<style name="def:special-char" foreground="red"/>
|
||||
<style name="def:builtin" foreground="yellow"/>
|
||||
<style name="def:keyword" foreground="green" bold="true"/>
|
||||
<style name="def:variable" foreground="blue"/>
|
||||
<style name="def:boolean" foreground="red"/>
|
||||
<style name="def:special-constant" foreground="blue"/>
|
||||
|
||||
<!-- Identifiers -->
|
||||
<style name="def:identifier" foreground="blue"/>
|
||||
<style name="def:function" use-style="def:identifier"/>
|
||||
|
||||
<!-- Statements -->
|
||||
<style name="def:statement" use-style="def:keyword"/>
|
||||
|
||||
<!-- Types -->
|
||||
<style name="def:type" foreground="yellow"/>
|
||||
|
||||
<!-- Others -->
|
||||
<style name="def:preprocessor" foreground="orange"/>
|
||||
<style name="def:error" foreground="red" bold="true"/>
|
||||
<style name="def:note" background="base02" foreground="magenta" bold="true"/>
|
||||
<style name="def:underlined" foreground="violet"/>
|
||||
|
||||
<!-- Language specific styles -->
|
||||
<style name="c:preprocessor" use-style="def:preprocessor"/>
|
||||
<style name="c:included-file" use-style="c:preprocessor"/>
|
||||
<style name="c:common-defines" foreground="#0095FF" bold="true"/>
|
||||
|
||||
<style name="diff:diff-file" foreground="blue" underline="true"/>
|
||||
<style name="diff:added-line" foreground="base03" background="green"/>
|
||||
<style name="diff:removed-line" foreground="base03" background="red"/>
|
||||
<style name="diff:changed-line" foreground="base03" background="yellow"/>
|
||||
<style name="diff:location" use-style="def:type"/>
|
||||
|
||||
<style name="xml:attribute-name" foreground="green"/>
|
||||
<style name="xml:element-name" bold="true"/>
|
||||
<style name="xml:entity" foreground="blue"/>
|
||||
<style name="xml:cdata-delim" foreground="orange" bold="true"/>
|
||||
<style name="xml:processing-instruction" bold="true"/>
|
||||
<style name="xml:doctype" foreground="magenta" bold="true"/>
|
||||
|
||||
<style name="python:string-conversion" background="base2"/>
|
||||
<style name="python:module-handler" use-style="def:character"/>
|
||||
<style name="python:special-variable" use-style="def:type"/>
|
||||
<style name="python:builtin-constant" use-style="def:builtin"/>
|
||||
<style name="python:builtin-object" use-style="def:type"/>
|
||||
<style name="python:builtin-function" use-style="def:identifier"/>
|
||||
<style name="python:boolean" use-style="def:boolean"/>
|
||||
|
||||
<style name="sh:dollar" foreground="green" bold="true"/>
|
||||
|
||||
</style-scheme>
|
131
gedit/solarized-light.xml
Normal file
131
gedit/solarized-light.xml
Normal file
|
@ -0,0 +1,131 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
|
||||
This theme is based on the Solarized theme originally created
|
||||
by Ethan Schoonover at http://ethanschoonover.com/solarized
|
||||
|
||||
Copyright (C) 2012 Matthew Cantelon
|
||||
Author: Matthew Cantelon <me@matthewcantelon.ca>
|
||||
|
||||
GtkSourceView is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
GtkSourceView is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
-->
|
||||
|
||||
<style-scheme id="solarizedlight" _name="Solarized Light" version="1.0">
|
||||
|
||||
<author>Matthew Cantelon</author>
|
||||
<_description>Gedit port of the light version of the Solarized theme. Check https://github.com/mattcan/solarized-gedit for more information.</_description>
|
||||
|
||||
<!-- Solarized Palette -->
|
||||
<color name="base03" value="#002b36"/>
|
||||
<color name="base02" value="#073642"/>
|
||||
<color name="base01" value="#586e75"/>
|
||||
<color name="base00" value="#657b83"/>
|
||||
<color name="base0" value="#839496"/>
|
||||
<color name="base1" value="#93a1a1"/>
|
||||
<color name="base2" value="#eee8d5"/>
|
||||
<color name="base3" value="#fdf6e3"/>
|
||||
<color name="yellow" value="#b58900"/>
|
||||
<color name="orange" value="#cb4b16"/>
|
||||
<color name="red" value="#dc322f"/>
|
||||
<color name="magenta" value="#d33682"/>
|
||||
<color name="violet" value="#6c71c4"/>
|
||||
<color name="blue" value="#268bd2"/>
|
||||
<color name="cyan" value="#2aa198"/>
|
||||
<color name="green" value="#859900"/>
|
||||
|
||||
<!-- Global Settings -->
|
||||
<style name="text" foreground="base00" background="base3"/>
|
||||
<style name="selection" foreground="base1" background="base02"/>
|
||||
<style name="cursor" foreground="base00"/>
|
||||
<style name="current-line" background="base2"/>
|
||||
<style name="line-numbers" foreground="base0" background="base2"/>
|
||||
<style name="draw-spaces" foreground="base1"/>
|
||||
|
||||
<!-- Bracket Matching -->
|
||||
<style name="bracket-match" foreground="red" bold="true"/>
|
||||
<style name="bracket-mismatch" foreground="red" background="base3" bold="true"/>
|
||||
|
||||
<!-- Comments -->
|
||||
<style name="def:comment" foreground="base01" italic="true"/>
|
||||
<style name="def:shebang" foreground="base01" italic="true" bold="true"/>
|
||||
<style name="def:doc-comment-element" italic="true"/>
|
||||
|
||||
<!-- Right Margin -->
|
||||
<style name="right-margin" foreground="base0" background="base02"/>
|
||||
|
||||
<!-- Search Matching -->
|
||||
<style name="search-match" foreground="yellow"/>
|
||||
|
||||
<!-- Constants -->
|
||||
<style name="def:constant" foreground="cyan"/>
|
||||
<style name="def:decimal" foreground="magenta"/>
|
||||
<style name="def:base-n-integer" use-style="def:decimal"/>
|
||||
<style name="def:floating-point" use-style="def:decimal"/>
|
||||
<style name="def:complex" use-style="def:base-n-integer"/>
|
||||
<style name="def:character" foreground="magenta"/>
|
||||
<style name="def:string" use-style="def:constant"/>
|
||||
<style name="def:special-char" foreground="red"/>
|
||||
<style name="def:builtin" foreground="yellow"/>
|
||||
<style name="def:keyword" foreground="green" bold="true"/>
|
||||
<style name="def:variable" foreground="blue"/>
|
||||
<style name="def:boolean" foreground="red"/>
|
||||
<style name="def:special-constant" foreground="blue"/>
|
||||
|
||||
<!-- Identifiers -->
|
||||
<style name="def:identifier" foreground="blue"/>
|
||||
<style name="def:function" use-style="def:identifier"/>
|
||||
|
||||
<!-- Statements -->
|
||||
<style name="def:statement" use-style="def:keyword"/>
|
||||
|
||||
<!-- Types -->
|
||||
<style name="def:type" foreground="yellow"/>
|
||||
|
||||
<!-- Others -->
|
||||
<style name="def:preprocessor" foreground="orange"/>
|
||||
<style name="def:error" foreground="red" bold="true"/>
|
||||
<style name="def:note" background="base02" foreground="magenta" bold="true"/>
|
||||
<style name="def:underlined" foreground="violet"/>
|
||||
|
||||
<!-- Language specific styles -->
|
||||
<style name="c:preprocessor" use-style="def:preprocessor"/>
|
||||
<style name="c:included-file" use-style="c:preprocessor"/>
|
||||
<style name="c:common-defines" foreground="#0095FF" bold="true"/>
|
||||
|
||||
<style name="diff:diff-file" foreground="blue" underline="true"/>
|
||||
<style name="diff:added-line" foreground="base03" background="green"/>
|
||||
<style name="diff:removed-line" foreground="base03" background="red"/>
|
||||
<style name="diff:changed-line" foreground="base03" background="yellow"/>
|
||||
<style name="diff:location" use-style="def:type"/>
|
||||
|
||||
<style name="xml:attribute-name" foreground="green"/>
|
||||
<style name="xml:element-name" bold="true"/>
|
||||
<style name="xml:entity" foreground="blue"/>
|
||||
<style name="xml:cdata-delim" foreground="orange" bold="true"/>
|
||||
<style name="xml:processing-instruction" bold="true"/>
|
||||
<style name="xml:doctype" foreground="magenta" bold="true"/>
|
||||
|
||||
<style name="python:string-conversion" background="base2"/>
|
||||
<style name="python:module-handler" use-style="def:character"/>
|
||||
<style name="python:special-variable" use-style="def:type"/>
|
||||
<style name="python:builtin-constant" use-style="def:builtin"/>
|
||||
<style name="python:builtin-object" use-style="def:type"/>
|
||||
<style name="python:builtin-function" use-style="def:identifier"/>
|
||||
<style name="python:boolean" use-style="def:boolean"/>
|
||||
|
||||
<style name="sh:dollar" foreground="green" bold="true"/>
|
||||
|
||||
</style-scheme>
|
|
@ -6,41 +6,41 @@ Solarized - iTerm2 Color Presets
|
|||
Installation
|
||||
------------
|
||||
|
||||
Download current build of iTerm 2 from: <http://sites.google.com/site/iterm2home/>
|
||||
Download current build of iTerm 2 from: <http://www.iterm2.com/>
|
||||
|
||||
NOTE: Only builds 480 (Jan 11 2011) and later support import of color schemes.
|
||||
If the stable release doesn't include this function, grab the nightly build
|
||||
NOTE: Only builds 480 (Jan 11 2011) and later support import of color schemes.
|
||||
If the stable release doesn't include this function, grab the nightly build
|
||||
from: <http://code.google.com/p/iterm2/downloads/list>
|
||||
|
||||
Open iTerm 2, open Preferences, click on the "Profiles" (formerly Addresses,
|
||||
formerly Bookmarks) icon in the preferences toolbar, then select the "colors"
|
||||
tab. Click on the "load presets" and select "import...". Select the Solaris
|
||||
Open iTerm 2, open Preferences, click on the "Profiles" (formerly Addresses,
|
||||
formerly Bookmarks) icon in the preferences toolbar, then select the "colors"
|
||||
tab. Click on the "load presets" and select "import...". Select the Solarized
|
||||
Light or Dark theme file.
|
||||
|
||||
You have now loaded the Solarized color presets into iTerm 2, but haven't yet
|
||||
applied them. To apply them, simply select an existing profile from the profile
|
||||
list window on the left, or create a new profile. Then select the Solarized
|
||||
You have now loaded the Solarized color presets into iTerm 2, but haven't yet
|
||||
applied them. To apply them, simply select an existing profile from the profile
|
||||
list window on the left, or create a new profile. Then select the Solarized
|
||||
Dark or Solarized Light preset from the "Load Presets" drop down.
|
||||
|
||||
Ok, I've gone crazy with iTerm2 color management but you are going to be ok.
|
||||
Ok, I've gone crazy with iTerm2 color management but you are going to be ok.
|
||||
Just realize two things:
|
||||
|
||||
1. Like other apps (Chrome as of this writing) on the Mac, iTerm2 locks in
|
||||
a target color space when you create a new window. If you switch your
|
||||
monitor color space, relaunch iTerm2 and it will pick up the new target
|
||||
1. Like other apps (Chrome as of this writing) on the Mac, iTerm2 locks in
|
||||
a target color space when you create a new window. If you switch your
|
||||
monitor color space, relaunch iTerm2 and it will pick up the new target
|
||||
color space.
|
||||
|
||||
2. The colors in iTerm2 currently cannot be device colors. They are baked in as
|
||||
generic rgb (which, despite the name, is an actual, specific color space
|
||||
from Apple and is used as a default just like other systems use sRGB as
|
||||
a default). I've switch Solarized Apple Color Picker palettes to use tagged
|
||||
colors by default, so for the most part iTerm2 will match up with other apps
|
||||
2. The colors in iTerm2 currently cannot be device colors. They are baked in as
|
||||
generic rgb (which, despite the name, is an actual, specific color space
|
||||
from Apple and is used as a default just like other systems use sRGB as
|
||||
a default). I've switch Solarized Apple Color Picker palettes to use tagged
|
||||
colors by default, so for the most part iTerm2 will match up with other apps
|
||||
where you use Color Picker swatches.
|
||||
|
||||
The Values
|
||||
----------
|
||||
|
||||
L\*a\*b values are canonical (White D65, Reference D50), other values are
|
||||
L\*a\*b values are canonical (White D65, Reference D50), other values are
|
||||
matched in sRGB space.
|
||||
|
||||
SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B RGB HSB
|
||||
|
|
|
@ -26,10 +26,13 @@ Installation
|
|||
the native 16 colors of your terminal emulator or the approximatation
|
||||
provided by the 256 color values. See note below for recommendations.
|
||||
|
||||
source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc
|
||||
```
|
||||
#uncomment the colorscheme you want to use, and comment out the others
|
||||
#source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc
|
||||
source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-light-16.muttrc
|
||||
source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-dark-256.muttrc
|
||||
source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-light-256.muttrc
|
||||
#source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-dark-256.muttrc
|
||||
#source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-light-256.muttrc
|
||||
```
|
||||
|
||||
Note: You can safely ignore the compile colors script and the template file.
|
||||
They are used only for creating the actual colorscheme files. If you want to
|
||||
|
|
|
@ -9,7 +9,7 @@ Installation
|
|||
Terminal.app doesn't have full color modification support without some effort.
|
||||
The following has only been tested on Snow Leopard. See the links below for
|
||||
updates. I make no claims as to the effectiveness of these methods. iTerm2 may
|
||||
be an easier all roung solution (desptie iTerm 2's terrible color management).
|
||||
be an easier all-around solution (despite iTerm 2's terrible color management).
|
||||
|
||||
1. Install SIMBL from:
|
||||
http://www.culater.net/software/SIMBL/SIMBL.php
|
||||
|
|
BIN
qtcreator/QtCreator.png
Normal file
BIN
qtcreator/QtCreator.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 113 KiB |
68
qtcreator/README.md
Normal file
68
qtcreator/README.md
Normal file
|
@ -0,0 +1,68 @@
|
|||
# Solarized colors for Qt Creator
|
||||
|
||||
See Ethan's [Solarized page](http://ethanschoonover.com/solarized) for the
|
||||
background information.
|
||||
|
||||
[Dedicated repository of this port](https://github.com/artm/qtcreator-solarized-syntax).
|
||||
|
||||
[Main Solarized repository](https://github.com/altercation/solarized).
|
||||
|
||||
![Qt Creator with solarized (light) style](https://github.com/artm/qtcreator-solarized-syntax/raw/master/QtCreator.png)
|
||||
|
||||
## Notes
|
||||
|
||||
At this point only code editor's colors are affected. If you've
|
||||
installed apple-colorpalette-solarized you can choose compatible
|
||||
color for gui gradients, but most gui widgets and dialogs are
|
||||
unaffected by this choice.
|
||||
|
||||
On some platforms (Linux?) Qt style can be controlled by
|
||||
`~/.config/Trolltech.conf` file, in which case you might find [gist by
|
||||
booiiing (Patric Schenke)](https://gist.github.com/929469) useful.
|
||||
|
||||
Apparently, Qt Creator:
|
||||
|
||||
- ignores some of the attributes (e.g. `background` of
|
||||
`CurrentLineNumber`, `foreground` of `SearchResult`)
|
||||
- derives extra colors from the style (for example for the backgrounds
|
||||
of nested blocks)
|
||||
- derives gradients from some colors (e.g. `Occurences`). I haven't
|
||||
found a way to control all aspects of these elements. I let Qt
|
||||
Creator control the color of `Occurences.Rename` and (in the light
|
||||
style) of `SearchScope`)
|
||||
- composes the gradients / backgrounds in some cases which makes the
|
||||
result differ from style color. This makes the current line background
|
||||
lighter then expected, for example.
|
||||
- different types of background highlight which keep the thext color,
|
||||
mean I had to deviate from the canonical solarized.
|
||||
|
||||
|
||||
I use light theme myself, dark one will probably have more issued at any given
|
||||
time.
|
||||
|
||||
## Installation
|
||||
|
||||
### Linux / Mac OS X
|
||||
|
||||
Use either:
|
||||
|
||||
ln solarized-*.xml ~/.config/Nokia/qtcreator/styles
|
||||
|
||||
or:
|
||||
|
||||
cp solarized-*.xml ~/.config/Nokia/qtcreator/styles
|
||||
|
||||
to install styles.
|
||||
|
||||
### Windows
|
||||
|
||||
On Windows XP styles should go to:
|
||||
|
||||
Documents and Settings\<user name>\Application Data\Nokia\qtcreator\styles
|
||||
|
||||
On Windows 7:
|
||||
|
||||
Users\<user name>\AppData\Roaming\Nokia\qtcreator\styles
|
||||
|
||||
|
||||
|
47
qtcreator/generate-styles.pl
Executable file
47
qtcreator/generate-styles.pl
Executable file
|
@ -0,0 +1,47 @@
|
|||
#!/usr/bin/env perl
|
||||
use strict;
|
||||
use Template;
|
||||
|
||||
my $vars = {
|
||||
base03 => "#002b36",
|
||||
base02 => "#073642",
|
||||
base01 => "#586e75",
|
||||
base00 => "#657b83",
|
||||
base0 => "#839496",
|
||||
base1 => "#93a1a1",
|
||||
base2 => "#eee8d5",
|
||||
base3 => "#fdf6e3",
|
||||
yellow => "#b58900",
|
||||
orange => "#cb4b16",
|
||||
red => "#dc322f",
|
||||
magenta => "#d33682",
|
||||
violet => "#6c71c4",
|
||||
blue => "#268bd2",
|
||||
cyan => "#2aa198",
|
||||
green => "#859900",
|
||||
};
|
||||
|
||||
my $tt = Template->new({INTERPOLATE=>1}) || die "$Template::ERROR\n";
|
||||
|
||||
|
||||
# first light variant...
|
||||
$vars->{variant} = "light";
|
||||
$vars->{bg} = $vars->{base3};
|
||||
$vars->{bg1} = $vars->{base2};
|
||||
$vars->{text} = $vars->{base00};
|
||||
$vars->{emph} = $vars->{base01};
|
||||
$vars->{lite} = $vars->{base1};
|
||||
|
||||
$tt->process("qtcreator-template.xml", $vars, "solarized-light.xml");
|
||||
|
||||
|
||||
|
||||
$vars->{variant} = "dark";
|
||||
$vars->{bg} = $vars->{base03};
|
||||
$vars->{bg1} = $vars->{base02};
|
||||
$vars->{text} = $vars->{base0};
|
||||
$vars->{emph} = $vars->{base1};
|
||||
$vars->{lite} = $vars->{base01};
|
||||
|
||||
$tt->process("qtcreator-template.xml", $vars, "solarized-dark.xml");
|
||||
|
63
qtcreator/qtcreator-template.xml
Normal file
63
qtcreator/qtcreator-template.xml
Normal file
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<style-scheme version="1.0" name="Solarized ($variant)">
|
||||
<!--
|
||||
Solarized theme ($variant background)
|
||||
-->
|
||||
|
||||
<style name="Text" foreground="$text" background="$bg"/>
|
||||
<style name="LineNumber" foreground="$lite" background="$bg1"/>
|
||||
<style name="CurrentLine" background="$bg1"/>
|
||||
<!-- inveted background -->
|
||||
<style name="Selection" foreground="$bg1" background="$lite"/>
|
||||
<style name="Occurrences" background="$lite"/>
|
||||
|
||||
<!-- non-solarized backgrounds -->
|
||||
[% IF variant == 'light' %]
|
||||
<!-- light yellow overlay that works on solarized background as well as
|
||||
on top of default SearchScope -->
|
||||
<style name="SearchResult" background="#FFFFB0"/>
|
||||
[% ELSE %]
|
||||
<style name="SearchResult" background="#555000"/>
|
||||
<style name="SearchScope" background="#222000"/>
|
||||
[% END %]
|
||||
|
||||
<style name="DisabledCode" foreground="$base1"/>
|
||||
<style name="Comment" foreground="$base1"/>
|
||||
<style name="Doxygen.Comment" foreground="$base1"/>
|
||||
<style name="Keyword" foreground="$base01" bold="true"/>
|
||||
<style name="Operator" foreground="$base01"/>
|
||||
<style name="Label" foreground="$base01" bold="true"/>
|
||||
<style name="CurrentLineNumber" foreground="$base01" bold="true"/>
|
||||
|
||||
<!-- highlights -->
|
||||
<style name="Number" foreground="$cyan"/>
|
||||
<style name="String" foreground="$cyan"/>
|
||||
<style name="Type" foreground="$yellow"/>
|
||||
<style name="Link" foreground="$blue"/>
|
||||
<style name="Preprocessor" foreground="$violet"/>
|
||||
<style name="Parentheses" foreground="$red"/>
|
||||
|
||||
<!-- WIP -->
|
||||
<style name="Static" foreground="$green" italic="true"/>
|
||||
<style name="Doxygen.Tag" foreground="$cyan"/>
|
||||
|
||||
<style name="DiffFile" foreground="$green"/>
|
||||
<style name="DiffLocation" foreground="$yellow"/>
|
||||
<style name="AddedLine" foreground="$cyan"/>
|
||||
<style name="RemovedLine" foreground="$red"/>
|
||||
|
||||
<!-- no color / default -->
|
||||
<style name="VirtualMethod" italic="true"/>
|
||||
|
||||
<!-- let QtCreator choose: these colors are composed on top of
|
||||
existing text, I can't find a nice way to stay compatible with
|
||||
Solarized and produce readable results.
|
||||
|
||||
<style name="Occurrences.Rename"/>
|
||||
[% IF variant == 'light' %]
|
||||
<style name="SearchScope"/>
|
||||
[% END %]
|
||||
<style name="Field"/>
|
||||
<style name="Local"/>
|
||||
-->
|
||||
</style-scheme>
|
57
qtcreator/solarized-dark.xml
Normal file
57
qtcreator/solarized-dark.xml
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<style-scheme version="1.0" name="Solarized (dark)">
|
||||
<!--
|
||||
Solarized theme (dark background)
|
||||
-->
|
||||
|
||||
<style name="Text" foreground="#839496" background="#002b36"/>
|
||||
<style name="LineNumber" foreground="#586e75" background="#073642"/>
|
||||
<style name="CurrentLine" background="#073642"/>
|
||||
<!-- inveted background -->
|
||||
<style name="Selection" foreground="#073642" background="#586e75"/>
|
||||
<style name="Occurrences" background="#586e75"/>
|
||||
|
||||
<!-- non-solarized backgrounds -->
|
||||
|
||||
<style name="SearchResult" background="#555000"/>
|
||||
<style name="SearchScope" background="#222000"/>
|
||||
|
||||
|
||||
<style name="DisabledCode" foreground="#93a1a1"/>
|
||||
<style name="Comment" foreground="#93a1a1"/>
|
||||
<style name="Doxygen.Comment" foreground="#93a1a1"/>
|
||||
<style name="Keyword" foreground="#586e75" bold="true"/>
|
||||
<style name="Operator" foreground="#586e75"/>
|
||||
<style name="Label" foreground="#586e75" bold="true"/>
|
||||
<style name="CurrentLineNumber" foreground="#586e75" bold="true"/>
|
||||
|
||||
<!-- highlights -->
|
||||
<style name="Number" foreground="#2aa198"/>
|
||||
<style name="String" foreground="#2aa198"/>
|
||||
<style name="Type" foreground="#b58900"/>
|
||||
<style name="Link" foreground="#268bd2"/>
|
||||
<style name="Preprocessor" foreground="#6c71c4"/>
|
||||
<style name="Parentheses" foreground="#dc322f"/>
|
||||
|
||||
<!-- WIP -->
|
||||
<style name="Static" foreground="#859900" italic="true"/>
|
||||
<style name="Doxygen.Tag" foreground="#2aa198"/>
|
||||
|
||||
<style name="DiffFile" foreground="#859900"/>
|
||||
<style name="DiffLocation" foreground="#b58900"/>
|
||||
<style name="AddedLine" foreground="#2aa198"/>
|
||||
<style name="RemovedLine" foreground="#dc322f"/>
|
||||
|
||||
<!-- no color / default -->
|
||||
<style name="VirtualMethod" italic="true"/>
|
||||
|
||||
<!-- let QtCreator choose: these colors are composed on top of
|
||||
existing text, I can't find a nice way to stay compatible with
|
||||
Solarized and produce readable results.
|
||||
|
||||
<style name="Occurrences.Rename"/>
|
||||
|
||||
<style name="Field"/>
|
||||
<style name="Local"/>
|
||||
-->
|
||||
</style-scheme>
|
60
qtcreator/solarized-light.xml
Normal file
60
qtcreator/solarized-light.xml
Normal file
|
@ -0,0 +1,60 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<style-scheme version="1.0" name="Solarized (light)">
|
||||
<!--
|
||||
Solarized theme (light background)
|
||||
-->
|
||||
|
||||
<style name="Text" foreground="#657b83" background="#fdf6e3"/>
|
||||
<style name="LineNumber" foreground="#93a1a1" background="#eee8d5"/>
|
||||
<style name="CurrentLine" background="#eee8d5"/>
|
||||
<!-- inveted background -->
|
||||
<style name="Selection" foreground="#eee8d5" background="#93a1a1"/>
|
||||
<style name="Occurrences" background="#93a1a1"/>
|
||||
|
||||
<!-- non-solarized backgrounds -->
|
||||
|
||||
<!-- light yellow overlay that works on solarized background as well as
|
||||
on top of default SearchScope -->
|
||||
<style name="SearchResult" background="#FFFFB0"/>
|
||||
|
||||
|
||||
<style name="DisabledCode" foreground="#93a1a1"/>
|
||||
<style name="Comment" foreground="#93a1a1"/>
|
||||
<style name="Doxygen.Comment" foreground="#93a1a1"/>
|
||||
<style name="Keyword" foreground="#586e75" bold="true"/>
|
||||
<style name="Operator" foreground="#586e75"/>
|
||||
<style name="Label" foreground="#586e75" bold="true"/>
|
||||
<style name="CurrentLineNumber" foreground="#586e75" bold="true"/>
|
||||
|
||||
<!-- highlights -->
|
||||
<style name="Number" foreground="#2aa198"/>
|
||||
<style name="String" foreground="#2aa198"/>
|
||||
<style name="Type" foreground="#b58900"/>
|
||||
<style name="Link" foreground="#268bd2"/>
|
||||
<style name="Preprocessor" foreground="#6c71c4"/>
|
||||
<style name="Parentheses" foreground="#dc322f"/>
|
||||
|
||||
<!-- WIP -->
|
||||
<style name="Static" foreground="#859900" italic="true"/>
|
||||
<style name="Doxygen.Tag" foreground="#2aa198"/>
|
||||
|
||||
<style name="DiffFile" foreground="#859900"/>
|
||||
<style name="DiffLocation" foreground="#b58900"/>
|
||||
<style name="AddedLine" foreground="#2aa198"/>
|
||||
<style name="RemovedLine" foreground="#dc322f"/>
|
||||
|
||||
<!-- no color / default -->
|
||||
<style name="VirtualMethod" italic="true"/>
|
||||
|
||||
<!-- let QtCreator choose: these colors are composed on top of
|
||||
existing text, I can't find a nice way to stay compatible with
|
||||
Solarized and produce readable results.
|
||||
|
||||
<style name="Occurrences.Rename"/>
|
||||
|
||||
<style name="SearchScope"/>
|
||||
|
||||
<style name="Field"/>
|
||||
<style name="Local"/>
|
||||
-->
|
||||
</style-scheme>
|
24
tmux/README.md
Normal file
24
tmux/README.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Solarize color theme tmux configuration
|
||||
|
||||
A tmux solarized theme using Ethan Schoonover’s [Solarized color scheme](http://ethanschoonover.com/solarized).
|
||||
|
||||
## Repositories
|
||||
* This theme as a single repository: [/seebi/tmux-colors-solarized](https://github.com/seebi/tmux-colors-solarized)
|
||||
* The main solarized repository: [/altercation/solarized](https://github.com/altercation/solarized)
|
||||
|
||||
## Installation
|
||||
This config snippet for the terminal multiplexer tmux should be added to your `~/.tmux.conf` configuration file.
|
||||
|
||||
In most cases, you have to force tmux to assume the terminal supports 256 colours.
|
||||
For this, start tmux as `tmux -2`.
|
||||
|
||||
This color scheme is tested with tmux >= 1.5. tmux 1.1 is reported as not working.
|
||||
|
||||
## Screenshot
|
||||
Here is a screenshot of a tmux session captured from a gnome-terminal using the [dz-version of the awesome Inconsolata font](http://nodnod.net/2009/feb/12/adding-straight-single-and-double-quotes-inconsola/).
|
||||
|
||||
![screenshot](https://github.com/seebi/tmux-colors-solarized/raw/master/tmuxcolors.png)
|
||||
|
||||
And another one showing different dircolors from the neighboring [dircolors-solarized](https://github.com/seebi/dircolors-solarized) repository.
|
||||
|
||||
![screenshot](https://github.com/seebi/dircolors-solarized/raw/master/img/dircolors.256dark.png)
|
31
tmux/tmuxcolors-256.conf
Normal file
31
tmux/tmuxcolors-256.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
#### COLOUR (Solarized 256)
|
||||
|
||||
# default statusbar colors
|
||||
set-option -g status-bg colour235 #base02
|
||||
set-option -g status-fg colour136 #yellow
|
||||
set-option -g status-attr default
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-fg colour244 #base0
|
||||
set-window-option -g window-status-bg default
|
||||
#set-window-option -g window-status-attr dim
|
||||
|
||||
# active window title colors
|
||||
set-window-option -g window-status-current-fg colour166 #orange
|
||||
set-window-option -g window-status-current-bg default
|
||||
#set-window-option -g window-status-current-attr bright
|
||||
|
||||
# pane border
|
||||
set-option -g pane-border-fg colour235 #base02
|
||||
set-option -g pane-active-border-fg colour240 #base01
|
||||
|
||||
# message text
|
||||
set-option -g message-bg colour235 #base02
|
||||
set-option -g message-fg colour166 #orange
|
||||
|
||||
# pane number display
|
||||
set-option -g display-panes-active-colour colour33 #blue
|
||||
set-option -g display-panes-colour colour166 #orange
|
||||
|
||||
# clock
|
||||
set-window-option -g clock-mode-colour colour64 #green
|
31
tmux/tmuxcolors-dark.conf
Normal file
31
tmux/tmuxcolors-dark.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
#### COLOUR (Solarized dark)
|
||||
|
||||
# default statusbar colors
|
||||
set-option -g status-bg black #base02
|
||||
set-option -g status-fg yellow #yellow
|
||||
set-option -g status-attr default
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-fg brightblue #base0
|
||||
set-window-option -g window-status-bg default
|
||||
#set-window-option -g window-status-attr dim
|
||||
|
||||
# active window title colors
|
||||
set-window-option -g window-status-current-fg brightred #orange
|
||||
set-window-option -g window-status-current-bg default
|
||||
#set-window-option -g window-status-current-attr bright
|
||||
|
||||
# pane border
|
||||
set-option -g pane-border-fg black #base02
|
||||
set-option -g pane-active-border-fg brightgreen #base01
|
||||
|
||||
# message text
|
||||
set-option -g message-bg black #base02
|
||||
set-option -g message-fg brightred #orange
|
||||
|
||||
# pane number display
|
||||
set-option -g display-panes-active-colour blue #blue
|
||||
set-option -g display-panes-colour brightred #orange
|
||||
|
||||
# clock
|
||||
set-window-option -g clock-mode-colour green #green
|
31
tmux/tmuxcolors-light.conf
Normal file
31
tmux/tmuxcolors-light.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
#### COLOUR (Solarized light)
|
||||
|
||||
# default statusbar colors
|
||||
set-option -g status-bg white #base2
|
||||
set-option -g status-fg yellow #yellow
|
||||
set-option -g status-attr default
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-fg brightyellow #base00
|
||||
set-window-option -g window-status-bg default
|
||||
#set-window-option -g window-status-attr dim
|
||||
|
||||
# active window title colors
|
||||
set-window-option -g window-status-current-fg brightred #orange
|
||||
set-window-option -g window-status-current-bg default
|
||||
#set-window-option -g window-status-current-attr bright
|
||||
|
||||
# pane border
|
||||
set-option -g pane-border-fg white #base2
|
||||
set-option -g pane-active-border-fg brightcyan #base1
|
||||
|
||||
# message text
|
||||
set-option -g message-bg white #base2
|
||||
set-option -g message-fg brightred #orange
|
||||
|
||||
# pane number display
|
||||
set-option -g display-panes-active-colour blue #blue
|
||||
set-option -g display-panes-colour brightred #orange
|
||||
|
||||
# clock
|
||||
set-window-option -g clock-mode-colour green #green
|
BIN
tmux/tmuxcolors.png
Normal file
BIN
tmux/tmuxcolors.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 255 KiB |
|
@ -16,8 +16,8 @@ Developed by Ethan Schoonover <es@ethanschoonover.com>
|
|||
Visit the [Solarized homepage]
|
||||
------------------------------
|
||||
|
||||
See the [Solarized homepage] for screenshots,
|
||||
details and colorscheme versions for Vim, Mutt, popular terminal emulators and
|
||||
See the [Solarized homepage] for screenshots,
|
||||
details and colorscheme versions for Vim, Mutt, popular terminal emulators and
|
||||
other applications.
|
||||
|
||||
Screenshots
|
||||
|
@ -28,13 +28,13 @@ Screenshots
|
|||
Downloads
|
||||
---------
|
||||
|
||||
If you have come across this colorscheme via the [Vim-only repository] on
|
||||
github, or the [vim.org script] page see the link above to the Solarized
|
||||
If you have come across this colorscheme via the [Vim-only repository] on
|
||||
github, or the [vim.org script] page see the link above to the Solarized
|
||||
homepage or visit the main [Solarized repository].
|
||||
|
||||
The [Vim-only repository] is kept in sync with the main [Solarized repository]
|
||||
and is for installation convenience only (with [Pathogen] or [Vundle], for
|
||||
instance). Issues, bug reports, changelogs are centralized at the main
|
||||
The [Vim-only repository] is kept in sync with the main [Solarized repository]
|
||||
and is for installation convenience only (with [Pathogen] or [Vundle], for
|
||||
instance). Issues, bug reports, changelogs are centralized at the main
|
||||
[Solarized repository].
|
||||
|
||||
[Solarized homepage]: http://ethanschoonover.com/solarized
|
||||
|
@ -49,7 +49,7 @@ Installation
|
|||
|
||||
### Option 1: Manual installation
|
||||
|
||||
1. Move `solarized.vim` to your `.vim/colors` directory. After downloading the
|
||||
1. Move `solarized.vim` to your `.vim/colors` directory. After downloading the
|
||||
vim script or package:
|
||||
|
||||
$ cd vim-colors-solarized/colors
|
||||
|
@ -59,10 +59,10 @@ Installation
|
|||
|
||||
1. Download and install Tim Pope's [Pathogen].
|
||||
|
||||
2. Next, move or clone the `vim-colors-solarized` directory so that it is
|
||||
2. Next, move or clone the `vim-colors-solarized` directory so that it is
|
||||
a subdirectory of the `.vim/bundle` directory.
|
||||
|
||||
a. **Clone:**
|
||||
a. **Clone:**
|
||||
|
||||
$ cd ~/.vim/bundle
|
||||
$ git clone git://github.com/altercation/vim-colors-solarized.git
|
||||
|
@ -70,12 +70,12 @@ Installation
|
|||
b. **Move:**
|
||||
|
||||
In the parent directory of vim-colors-solarized:
|
||||
|
||||
|
||||
$ mv vim-colors-solarized ~/.vim/bundle/
|
||||
|
||||
### Modify .vimrc
|
||||
|
||||
After either Option 1 or Option 2 above, put the following two lines in your
|
||||
After either Option 1 or Option 2 above, put the following two lines in your
|
||||
.vimrc:
|
||||
|
||||
syntax enable
|
||||
|
@ -88,9 +88,9 @@ or, for the light background mode of Solarized:
|
|||
set background=light
|
||||
colorscheme solarized
|
||||
|
||||
I like to have a different background in GUI and terminal modes, so I can use
|
||||
the following if-then. However, I find vim's background autodetection to be
|
||||
pretty good and, at least with MacVim, I can leave this background value
|
||||
I like to have a different background in GUI and terminal modes, so I can use
|
||||
the following if-then. However, I find vim's background autodetection to be
|
||||
pretty good and, at least with MacVim, I can leave this background value
|
||||
assignment out entirely and get the same results.
|
||||
|
||||
if has('gui_running')
|
||||
|
@ -99,40 +99,40 @@ assignment out entirely and get the same results.
|
|||
set background=dark
|
||||
endif
|
||||
|
||||
See the [Solarized homepage] for screenshots which will help you
|
||||
See the [Solarized homepage] for screenshots which will help you
|
||||
select either the light or dark background.
|
||||
|
||||
### IMPORTANT NOTE FOR TERMINAL USERS:
|
||||
|
||||
If you are going to use Solarized in Terminal mode (i.e. not in a GUI version
|
||||
like gvim or macvim), **please please please** consider setting your terminal
|
||||
emulator's colorscheme to used the Solarized palette. I've included palettes
|
||||
for some popular terminal emulator as well as Xdefaults in the official
|
||||
Solarized download available from [Solarized homepage]. If you use
|
||||
If you are going to use Solarized in Terminal mode (i.e. not in a GUI version
|
||||
like gvim or macvim), **please please please** consider setting your terminal
|
||||
emulator's colorscheme to use the Solarized palette. I've included palettes
|
||||
for some popular terminal emulator as well as Xresources in the official
|
||||
Solarized download available from [Solarized homepage]. If you use
|
||||
Solarized *without* these colors, Solarized will need to be told to degrade its
|
||||
colorscheme to a set compatible with the limited 256 terminal palette (whereas
|
||||
by using the terminal's 16 ansi color values, you can set the correct, specific
|
||||
colorscheme to a set compatible with the limited 256 terminal palette (whereas
|
||||
by using the terminal's 16 ansi color values, you can set the correct, specific
|
||||
values for the Solarized palette).
|
||||
|
||||
If you do use the custom terminal colors, solarized.vim should work out of the
|
||||
box for you. If you are using a terminal emulator that supports 256 colors and
|
||||
don't want to use the custom Solarized terminal colors, you will need to use
|
||||
the degraded 256 colorscheme. To do so, simply add the following line *before*
|
||||
the `colorschem solarized` line:
|
||||
box for you. If you are using a terminal emulator that supports 256 colors and
|
||||
don't want to use the custom Solarized terminal colors, you will need to use
|
||||
the degraded 256 colorscheme. To do so, simply add the following line *before*
|
||||
the `colorscheme solarized` line:
|
||||
|
||||
let g:solarized_termcolors=256
|
||||
|
||||
Again, I recommend just changing your terminal colors to Solarized values
|
||||
Again, I recommend just changing your terminal colors to Solarized values
|
||||
either manually or via one of the many terminal schemes available for import.
|
||||
|
||||
Advanced Configuration
|
||||
----------------------
|
||||
|
||||
Solarized will work out of the box with just the two lines specified above but
|
||||
Solarized will work out of the box with just the two lines specified above but
|
||||
does include several other options that can be set in your .vimrc file.
|
||||
|
||||
Set these in your vimrc file prior to calling the colorscheme.
|
||||
"
|
||||
```
|
||||
option name default optional
|
||||
------------------------------------------------
|
||||
g:solarized_termcolors= 16 | 256
|
||||
|
@ -144,85 +144,86 @@ Set these in your vimrc file prior to calling the colorscheme.
|
|||
g:solarized_contrast = "normal"| "high" or "low"
|
||||
g:solarized_visibility= "normal"| "high" or "low"
|
||||
------------------------------------------------
|
||||
```
|
||||
|
||||
### Option Details
|
||||
|
||||
* g:solarized_termcolors
|
||||
|
||||
This is set to *16* by default, meaning that Solarized will attempt to use
|
||||
the standard 16 colors of your terminal emulator. You will need to set
|
||||
those colors to the correct Solarized values either manually or by
|
||||
importing one of the many colorscheme available for popular terminal
|
||||
emulators and Xdefaults.
|
||||
This is set to *16* by default, meaning that Solarized will attempt to use
|
||||
the standard 16 colors of your terminal emulator. You will need to set
|
||||
those colors to the correct Solarized values either manually or by
|
||||
importing one of the many colorscheme available for popular terminal
|
||||
emulators and Xresources.
|
||||
|
||||
* g:solarized_termtrans
|
||||
|
||||
If you use a terminal emulator with a transparent background and Solarized
|
||||
isn't displaying the background color transparently, set this to 1 and
|
||||
Solarized will use the default (transparent) background of the terminal
|
||||
If you use a terminal emulator with a transparent background and Solarized
|
||||
isn't displaying the background color transparently, set this to 1 and
|
||||
Solarized will use the default (transparent) background of the terminal
|
||||
emulator. *urxvt* required this in my testing; iTerm2 did not.
|
||||
|
||||
Note that on Mac OS X Terminal.app, solarized_termtrans is set to 1 by
|
||||
default as this is almost always the best option. The only exception to
|
||||
Note that on Mac OS X Terminal.app, solarized_termtrans is set to 1 by
|
||||
default as this is almost always the best option. The only exception to
|
||||
this is if the working terminfo file supports 256 colors (xterm-256color).
|
||||
|
||||
* g:solarized_degrade
|
||||
|
||||
For test purposes only; forces Solarized to use the 256 degraded color mode
|
||||
For test purposes only; forces Solarized to use the 256 degraded color mode
|
||||
to test the approximate color values for accuracy.
|
||||
|
||||
* g:solarized_bold | g:solarized_underline | g:solarized_italic
|
||||
|
||||
If you wish to stop Solarized from displaying bold, underlined or
|
||||
italicized typefaces, simply assign a zero value to the appropriate
|
||||
If you wish to stop Solarized from displaying bold, underlined or
|
||||
italicized typefaces, simply assign a zero value to the appropriate
|
||||
variable, for example: `let g:solarized_italic=0`
|
||||
|
||||
* g:solarized_contrast
|
||||
|
||||
Stick with normal! It's been carefully tested. Setting this option to high
|
||||
or low does use the same Solarized palette but simply shifts some values up
|
||||
Stick with normal! It's been carefully tested. Setting this option to high
|
||||
or low does use the same Solarized palette but simply shifts some values up
|
||||
or down in order to expand or compress the tonal range displayed.
|
||||
|
||||
* g:solarized_visibility
|
||||
|
||||
Special characters such as trailing whitespace, tabs, newlines, when
|
||||
displayed using `:set list` can be set to one of three levels depending on
|
||||
displayed using `:set list` can be set to one of three levels depending on
|
||||
your needs. Default value is `normal` with `high` and `low` options.
|
||||
|
||||
Toggle Background Function
|
||||
--------------------------
|
||||
|
||||
Solarized comes with a Toggle Background plugin that by default will map to
|
||||
<F5> if that mapping is available. If it is not available you will need to
|
||||
either map the function manually or change your current <F5> mapping to
|
||||
Solarized comes with a Toggle Background plugin that by default will map to
|
||||
<F5> if that mapping is available. If it is not available you will need to
|
||||
either map the function manually or change your current <F5> mapping to
|
||||
something else.
|
||||
|
||||
To set your own mapping in your .vimrc file, simply add the following line to
|
||||
support normal, insert and visual mode usage, changing the "<F5>" value to the
|
||||
To set your own mapping in your .vimrc file, simply add the following line to
|
||||
support normal, insert and visual mode usage, changing the "<F5>" value to the
|
||||
key or key combination you wish to use:
|
||||
|
||||
call togglebg#map("<F5>")
|
||||
|
||||
Note that you'll want to use a single function key or equivalent if you want
|
||||
Note that you'll want to use a single function key or equivalent if you want
|
||||
the plugin to work in all modes (normal, insert, visual).
|
||||
|
||||
Code Notes
|
||||
----------
|
||||
|
||||
Use folding to view the `solarized.vim` script with `foldmethod=marker` turned
|
||||
Use folding to view the `solarized.vim` script with `foldmethod=marker` turned
|
||||
on.
|
||||
|
||||
I have attempted to modularize the creation of Vim colorschemes in this script
|
||||
and, while it could be refactored further, it should be a good foundation for
|
||||
the creation of any color scheme. By simply changing the sixteen values in the
|
||||
GUI section and testing in gvim (or mvim) you can rapidly prototype new
|
||||
colorschemes without diving into the weeds of line-item editing each syntax
|
||||
I have attempted to modularize the creation of Vim colorschemes in this script
|
||||
and, while it could be refactored further, it should be a good foundation for
|
||||
the creation of any color scheme. By simply changing the sixteen values in the
|
||||
GUI section and testing in gvim (or mvim) you can rapidly prototype new
|
||||
colorschemes without diving into the weeds of line-item editing each syntax
|
||||
highlight declaration.
|
||||
|
||||
The Values
|
||||
----------
|
||||
|
||||
L\*a\*b values are canonical (White D65, Reference D50), other values are
|
||||
L\*a\*b values are canonical (White D65, Reference D50), other values are
|
||||
matched in sRGB space.
|
||||
|
||||
SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B sRGB HSB
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
" Toggle background
|
||||
" Last Change: April 7, 2011
|
||||
" Toggle Background
|
||||
" Modified: 2011 Apr 29
|
||||
" Maintainer: Ethan Schoonover
|
||||
" License: OSI approved MIT license
|
||||
|
||||
|
@ -18,10 +18,18 @@ vnoremap <unique> <script> <Plug>ToggleBackground <ESC><SID>TogBG<ESC>gv
|
|||
nnoremenu <script> Window.Toggle\ Background <SID>TogBG
|
||||
inoremenu <script> Window.Toggle\ Background <ESC><SID>TogBG<ESC>a
|
||||
vnoremenu <script> Window.Toggle\ Background <ESC><SID>TogBG<ESC>gv
|
||||
tmenu Window.Toggle\ Background Toggle light and dark background modes
|
||||
nnoremenu <script> ToolBar.togglebg <SID>TogBG
|
||||
inoremenu <script> ToolBar.togglebg <ESC><SID>TogBG<ESC>a
|
||||
vnoremenu <script> ToolBar.togglebg <ESC><SID>TogBG<ESC>gv
|
||||
tmenu ToolBar.togglebg Toggle light and dark background modes
|
||||
noremap <SID>TogBG :call <SID>TogBG()<CR>
|
||||
|
||||
function! s:TogBG()
|
||||
let &background = ( &background == "dark"? "light" : "dark" ) | exe "colorscheme " . g:colors_name
|
||||
let &background = ( &background == "dark"? "light" : "dark" )
|
||||
if exists("g:colors_name")
|
||||
exe "colorscheme " . g:colors_name
|
||||
endif
|
||||
endfunction
|
||||
|
||||
if !exists(":ToggleBG")
|
||||
|
|
BIN
vim-colors-solarized/bitmaps/togglebg.png
Normal file
BIN
vim-colors-solarized/bitmaps/togglebg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
|
@ -4,7 +4,7 @@
|
|||
" (see this url for latest release & screenshots)
|
||||
" License: OSI approved MIT license (see end of this file)
|
||||
" Created: In the middle of the night
|
||||
" Modified: 2011 Apr 14
|
||||
" Modified: 2011 May 05
|
||||
"
|
||||
" Usage "{{{
|
||||
"
|
||||
|
@ -17,16 +17,27 @@
|
|||
" See the homepage above for screenshots and details.
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" OPTIONS:
|
||||
" ---------------------------------------------------------------------
|
||||
" See the "solarized.txt" help file included with this colorscheme (in the
|
||||
" "doc" subdirectory) for information on options, usage, the Toggle Background
|
||||
" function and more. If you have already installed Solarized, this is available
|
||||
" from the Solarized menu and command line as ":help solarized"
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" INSTALLATION:
|
||||
" ---------------------------------------------------------------------
|
||||
"
|
||||
" Two options for installation: manual or pathogen
|
||||
"
|
||||
" MANUAL INSTALLATION OPTION:
|
||||
" ---------------------------------------------------------------------
|
||||
"
|
||||
" 1. Put the files in the right place!
|
||||
" 1. Download the solarized distribution (available on the homepage above)
|
||||
" and unarchive the file.
|
||||
" 2. Move `solarized.vim` to your `.vim/colors` directory.
|
||||
" 3. Move each of the files in each subdirectories to the corresponding .vim
|
||||
" subdirectory (e.g. autoload/togglebg.vim goes into your .vim/autoload
|
||||
" directory as .vim/autoload/togglebg.vim).
|
||||
"
|
||||
" RECOMMENDED PATHOGEN INSTALLATION OPTION:
|
||||
" ---------------------------------------------------------------------
|
||||
|
@ -76,132 +87,6 @@
|
|||
" See the Solarized homepage at http://ethanschoonover.com/solarized for
|
||||
" screenshots which will help you select either the light or dark background.
|
||||
"
|
||||
" Other options are detailed below.
|
||||
"
|
||||
" IMPORTANT NOTE FOR TERMINAL USERS:
|
||||
"
|
||||
" If you are going to use Solarized in Terminal mode (i.e. not in a GUI version
|
||||
" like gvim or macvim), **please please please** consider setting your terminal
|
||||
" emulator's colorscheme to used the Solarized palette. I've included palettes
|
||||
" for some popular terminal emulator as well as Xdefaults in the official
|
||||
" Solarized download available from [Solarized homepage]. If you use
|
||||
" Solarized *without* these colors, Solarized will need to be told to degrade
|
||||
" its colorscheme to a set compatible with the limited 256 terminal palette
|
||||
" (whereas by using the terminal's 16 ansi color values, you can set the
|
||||
" correct, specific values for the Solarized palette).
|
||||
"
|
||||
" If you do use the custom terminal colors, solarized.vim should work out of
|
||||
" the box for you. If you are using a terminal emulator that supports 256
|
||||
" colors and don't want to use the custom Solarized terminal colors, you will
|
||||
" need to use the degraded 256 colorscheme. To do so, simply add the following
|
||||
" line *before* the `colorschem solarized` line:
|
||||
"
|
||||
" let g:solarized_termcolors=256
|
||||
"
|
||||
" Again, I recommend just changing your terminal colors to Solarized values
|
||||
" either manually or via one of the many terminal schemes available for import.
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" TOGGLE BACKGROUND FUNCTION:
|
||||
" ---------------------------------------------------------------------
|
||||
"
|
||||
" Solarized comes with a Toggle Background plugin that by default will map to
|
||||
" <F5> if that mapping is available. If it is not available you will need to
|
||||
" either map the function manually or change your current <F5> mapping to
|
||||
" something else. If you wish to map the function manually, enter the following
|
||||
" lines in your .vimrc:
|
||||
"
|
||||
" nmap <unique> <F5> <Plug>ToggleBackground
|
||||
" imap <unique> <F5> <Plug>ToggleBackground
|
||||
" vmap <unique> <F5> <Plug>ToggleBackground
|
||||
"
|
||||
" Note that it is important to *not* use the noremap map variants. The plugin
|
||||
" uses noremap internally. You may run `:help togglebg` for more information.
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" OPTIONS
|
||||
" ---------------------------------------------------------------------
|
||||
"
|
||||
" Set these in your vimrc file prior to calling the colorscheme.
|
||||
"
|
||||
" option name default optional
|
||||
" ------------------------------------------------
|
||||
" g:solarized_termcolors= 16 | 256
|
||||
" g:solarized_termtrans = 0 | 1
|
||||
" g:solarized_degrade = 0 | 1
|
||||
" g:solarized_bold = 1 | 0
|
||||
" g:solarized_underline = 1 | 0
|
||||
" g:solarized_italic = 1 | 0
|
||||
" g:solarized_contrast = "normal"| "high" or "low"
|
||||
" g:solarized_visibility= "normal"| "high" or "low"
|
||||
" ------------------------------------------------
|
||||
"
|
||||
" OPTION DETAILS
|
||||
"
|
||||
" ------------------------------------------------
|
||||
" g:solarized_termcolors= 256 | 16
|
||||
" ------------------------------------------------
|
||||
" The most important option if you are using vim in terminal (non gui) mode!
|
||||
" This tells Solarized to use the 256 degraded color mode if running in a 256
|
||||
" color capable terminal. Otherwise, if set to `16` it will use the terminal
|
||||
" emulators colorscheme (best option as long as you've set the emulators colors
|
||||
" to the Solarized palette).
|
||||
"
|
||||
" If you are going to use Solarized in Terminal mode (i.e. not in a GUI
|
||||
" version like gvim or macvim), **please please please** consider setting your
|
||||
" terminal emulator's colorscheme to used the Solarized palette. I've included
|
||||
" palettes for some popular terminal emulator as well as Xdefaults in the
|
||||
" official Solarized download available from:
|
||||
" http://ethanschoonover.com/solarized . If you use Solarized without these
|
||||
" colors, Solarized will by default use an approximate set of 256 colors. It
|
||||
" isn't bad looking and has been extensively tweaked, but it's still not quite
|
||||
" the real thing.
|
||||
"
|
||||
" ------------------------------------------------
|
||||
" g:solarized_termtrans = 0 | 1
|
||||
" ------------------------------------------------
|
||||
" If you use a terminal emulator with a transparent background and Solarized
|
||||
" isn't displaying the background color transparently, set this to 1 and
|
||||
" Solarized will use the default (transparent) background of the terminal
|
||||
" emulator. *urxvt* required this in my testing; iTerm2 did not.
|
||||
"
|
||||
" Note that on Mac OS X Terminal.app, solarized_termtrans is set to 1 by
|
||||
" default as this is almost always the best option. The only exception to this
|
||||
" is if the working terminfo file supports 256 colors (xterm-256color).
|
||||
"
|
||||
" ------------------------------------------------
|
||||
" g:solarized_degrade = 0 | 1
|
||||
" ------------------------------------------------
|
||||
" For test purposes only; forces Solarized to use the 256 degraded color mode
|
||||
" to test the approximate color values for accuracy.
|
||||
"
|
||||
" ------------------------------------------------
|
||||
" g:solarized_bold = 1 | 0
|
||||
" ------------------------------------------------
|
||||
" ------------------------------------------------
|
||||
" g:solarized_underline = 1 | 0
|
||||
" ------------------------------------------------
|
||||
" ------------------------------------------------
|
||||
" g:solarized_italic = 1 | 0
|
||||
" ------------------------------------------------
|
||||
" If you wish to stop Solarized from displaying bold, underlined or
|
||||
" italicized typefaces, simply assign a zero value to the appropriate
|
||||
" variable, for example: `let g:solarized_italic=0`
|
||||
"
|
||||
" ------------------------------------------------
|
||||
" g:solarized_contrast = "normal"| "high" or "low"
|
||||
" ------------------------------------------------
|
||||
" Stick with normal! It's been carefully tested. Setting this option to high
|
||||
" or low does use the same Solarized palette but simply shifts some values up
|
||||
" or down in order to expand or compress the tonal range displayed.
|
||||
"
|
||||
" ------------------------------------------------
|
||||
" g:solarized_visibility = "normal"| "high" or "low"
|
||||
" ------------------------------------------------
|
||||
" Special characters such as trailing whitespace, tabs, newlines, when
|
||||
" displayed using ":set list" can be set to one of three levels depending on
|
||||
" your needs.
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" COLOR VALUES
|
||||
" ---------------------------------------------------------------------
|
||||
|
@ -244,38 +129,99 @@
|
|||
" http://vimcasts.org/episodes/creating-colorschemes-for-vim/
|
||||
" http://www.frexx.de/xterm-256-notes/"
|
||||
"
|
||||
"
|
||||
" }}}
|
||||
" Environment Specific Overrides "{{{
|
||||
" Allow or disallow certain features based on current terminal emulator or
|
||||
" environment.
|
||||
|
||||
" Terminals that support italics
|
||||
let s:terms_italic=[
|
||||
\"rxvt",
|
||||
\"gnome-terminal"
|
||||
\]
|
||||
" For reference only, terminals are known to be incomptible.
|
||||
" Terminals that are in neither list need to be tested.
|
||||
let s:terms_noitalic=[
|
||||
\"iTerm.app",
|
||||
\"Apple_Terminal"
|
||||
\]
|
||||
if has("gui_running")
|
||||
let s:terminal_italic=1 " TODO: could refactor to not require this at all
|
||||
else
|
||||
let s:terminal_italic=0 " terminals will be guilty until proven compatible
|
||||
for term in s:terms_italic
|
||||
if $TERM_PROGRAM =~ term
|
||||
let s:terminal_italic=1
|
||||
endif
|
||||
endfor
|
||||
endif
|
||||
|
||||
" }}}
|
||||
" Default option values"{{{
|
||||
" ---------------------------------------------------------------------
|
||||
if !exists("g:solarized_termtrans")
|
||||
if ($TERM_PROGRAM ==? "apple_terminal" && &t_Co < 256)
|
||||
let g:solarized_termtrans = 1
|
||||
" s:options_list is used to autogenerate a list of all non-default options
|
||||
" using "call SolarizedOptions()" or with the "Generate .vimrc commands"
|
||||
" Solarized menu option. See the "Menus" section below for the function itself.
|
||||
let s:options_list=[
|
||||
\'" this block of commands has been autogenerated by solarized.vim and',
|
||||
\'" includes the current, non-default Solarized option values.',
|
||||
\'" To use, place these commands in your .vimrc file (replacing any',
|
||||
\'" existing colorscheme commands). See also ":help solarized"',
|
||||
\'',
|
||||
\'" ------------------------------------------------------------------',
|
||||
\'" Solarized Colorscheme Config',
|
||||
\'" ------------------------------------------------------------------',
|
||||
\]
|
||||
let s:colorscheme_list=[
|
||||
\'syntax enable',
|
||||
\'set background='.&background,
|
||||
\'colorscheme solarized',
|
||||
\]
|
||||
let s:defaults_list=[
|
||||
\'" ------------------------------------------------------------------',
|
||||
\'',
|
||||
\'" The following items are available options, but do not need to be',
|
||||
\'" included in your .vimrc as they are currently set to their defaults.',
|
||||
\''
|
||||
\]
|
||||
let s:lazycat_list=[
|
||||
\'" lazy method of appending this onto your .vimrc ":w! >> ~/.vimrc"',
|
||||
\'" ------------------------------------------------------------------',
|
||||
\]
|
||||
|
||||
function! s:SetOption(name,default)
|
||||
if type(a:default) == type(0)
|
||||
let l:wrap=''
|
||||
let l:ewrap=''
|
||||
else
|
||||
let g:solarized_termtrans = 0
|
||||
let l:wrap='"'
|
||||
let l:ewrap='\"'
|
||||
endif
|
||||
if !exists("g:solarized_".a:name) || g:solarized_{a:name}==a:default
|
||||
exe 'let g:solarized_'.a:name.'='.l:wrap.a:default.l:wrap.'"'
|
||||
exe 'call add(s:defaults_list, "\" let g:solarized_'.a:name.'='.l:ewrap.g:solarized_{a:name}.l:ewrap.'")'
|
||||
else
|
||||
exe 'call add(s:options_list, "let g:solarized_'.a:name.'='.l:ewrap.g:solarized_{a:name}.l:ewrap.' \"default value is '.a:default.'")'
|
||||
endif
|
||||
endfunction
|
||||
|
||||
if ($TERM_PROGRAM ==? "apple_terminal" && &t_Co < 256)
|
||||
let s:solarized_termtrans_default = 1
|
||||
else
|
||||
let s:solarized_termtrans_default = 0
|
||||
endif
|
||||
if !exists("g:solarized_degrade")
|
||||
let g:solarized_degrade = 0
|
||||
endif
|
||||
if !exists("g:solarized_bold")
|
||||
let g:solarized_bold = 1
|
||||
endif
|
||||
if !exists("g:solarized_underline")
|
||||
let g:solarized_underline = 1
|
||||
endif
|
||||
if !exists("g:solarized_italic")
|
||||
let g:solarized_italic = 1
|
||||
endif
|
||||
if !exists("g:solarized_termcolors")
|
||||
let g:solarized_termcolors = 16
|
||||
endif
|
||||
if !exists("g:solarized_contrast")
|
||||
let g:solarized_contrast = "normal"
|
||||
endif
|
||||
if !exists("g:solarized_visibility")
|
||||
let g:solarized_visibility = "normal"
|
||||
endif
|
||||
call s:SetOption("termtrans",s:solarized_termtrans_default)
|
||||
call s:SetOption("degrade",0)
|
||||
call s:SetOption("bold",1)
|
||||
call s:SetOption("underline",1)
|
||||
call s:SetOption("italic",1) " note that we need to override this later if the terminal doesn't support
|
||||
call s:SetOption("termcolors",16)
|
||||
call s:SetOption("contrast","normal")
|
||||
call s:SetOption("visibility","normal")
|
||||
call s:SetOption("diffmode","normal")
|
||||
call s:SetOption("hitrail",0)
|
||||
call s:SetOption("menu",1)
|
||||
|
||||
"}}}
|
||||
" Colorscheme initialization "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
|
@ -311,7 +257,8 @@ if (has("gui_running") && g:solarized_degrade == 0)
|
|||
let s:violet = "#6c71c4"
|
||||
let s:blue = "#268bd2"
|
||||
let s:cyan = "#2aa198"
|
||||
let s:green = "#859900"
|
||||
"let s:green = "#859900" "original
|
||||
let s:green = "#719e07" "experimental
|
||||
elseif (has("gui_running") && g:solarized_degrade == 1)
|
||||
" These colors are identical to the 256 color mode. They may be viewed
|
||||
" while in gui mode via "let g:solarized_degrade=1", though this is not
|
||||
|
@ -372,22 +319,39 @@ elseif g:solarized_termcolors == 256
|
|||
else
|
||||
let s:vmode = "cterm"
|
||||
let s:bright = "* term=bold cterm=bold"
|
||||
let s:base03 = "0".s:bright
|
||||
let s:base02 = "0"
|
||||
let s:base01 = "2".s:bright
|
||||
let s:base00 = "3".s:bright
|
||||
let s:base0 = "4".s:bright
|
||||
let s:base1 = "6".s:bright
|
||||
let s:base2 = "7"
|
||||
let s:base3 = "7".s:bright
|
||||
let s:yellow = "3"
|
||||
let s:orange = "1".s:bright
|
||||
let s:red = "1"
|
||||
let s:magenta = "5"
|
||||
let s:violet = "13"
|
||||
let s:blue = "4"
|
||||
let s:cyan = "6"
|
||||
let s:green = "2"
|
||||
" let s:base03 = "0".s:bright
|
||||
" let s:base02 = "0"
|
||||
" let s:base01 = "2".s:bright
|
||||
" let s:base00 = "3".s:bright
|
||||
" let s:base0 = "4".s:bright
|
||||
" let s:base1 = "6".s:bright
|
||||
" let s:base2 = "7"
|
||||
" let s:base3 = "7".s:bright
|
||||
" let s:yellow = "3"
|
||||
" let s:orange = "1".s:bright
|
||||
" let s:red = "1"
|
||||
" let s:magenta = "5"
|
||||
" let s:violet = "5".s:bright
|
||||
" let s:blue = "4"
|
||||
" let s:cyan = "6"
|
||||
" let s:green = "2"
|
||||
let s:base03 = "DarkGray" " 0*
|
||||
let s:base02 = "Black" " 0
|
||||
let s:base01 = "LightGreen" " 2*
|
||||
let s:base00 = "LightYellow" " 3*
|
||||
let s:base0 = "LightBlue" " 4*
|
||||
let s:base1 = "LightCyan" " 6*
|
||||
let s:base2 = "LightGray" " 7
|
||||
let s:base3 = "White" " 7*
|
||||
let s:yellow = "DarkYellow" " 3
|
||||
let s:orange = "LightRed" " 1*
|
||||
let s:red = "DarkRed" " 1
|
||||
let s:magenta = "DarkMagenta" " 5
|
||||
let s:violet = "LightMagenta" " 5*
|
||||
let s:blue = "DarkBlue" " 4
|
||||
let s:cyan = "DarkCyan" " 6
|
||||
let s:green = "DarkGreen" " 2
|
||||
|
||||
endif
|
||||
"}}}
|
||||
" Formatting options and null values for passthrough effect "{{{
|
||||
|
@ -445,24 +409,26 @@ if g:solarized_contrast == "low"
|
|||
let s:ou = ",underline"
|
||||
endif
|
||||
"}}}
|
||||
" Overrides dependent on user specified values"{{{
|
||||
" Overrides dependent on user specified values and environment "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
if g:solarized_bold == 1
|
||||
let s:b = ",bold"
|
||||
else
|
||||
if (g:solarized_bold == 0 || &t_Co == 8 )
|
||||
let s:b = ""
|
||||
let s:bb = ",bold"
|
||||
else
|
||||
let s:b = ",bold"
|
||||
let s:bb = ""
|
||||
endif
|
||||
|
||||
if g:solarized_underline == 1
|
||||
let s:u = ",underline"
|
||||
else
|
||||
if g:solarized_underline == 0
|
||||
let s:u = ""
|
||||
else
|
||||
let s:u = ",underline"
|
||||
endif
|
||||
|
||||
if g:solarized_italic == 1
|
||||
let s:i = ",italic"
|
||||
else
|
||||
if g:solarized_italic == 0 || s:terminal_italic == 0
|
||||
let s:i = ""
|
||||
else
|
||||
let s:i = ",italic"
|
||||
endif
|
||||
"}}}
|
||||
" Highlighting primitives"{{{
|
||||
|
@ -514,9 +480,15 @@ exe "let s:fmt_undb = ' ".s:vmode."=NONE".s:u.s:b. " term=NONE".s:u.s:b."'"
|
|||
exe "let s:fmt_undi = ' ".s:vmode."=NONE".s:u. " term=NONE".s:u."'"
|
||||
exe "let s:fmt_uopt = ' ".s:vmode."=NONE".s:ou. " term=NONE".s:ou."'"
|
||||
exe "let s:fmt_curl = ' ".s:vmode."=NONE".s:c. " term=NONE".s:c."'"
|
||||
exe "let s:fmt_ital = ' ".s:vmode."=NONE". " term=NONE". "'"
|
||||
exe "let s:fmt_revr = ' ".s:vmode."=NONE".s:r. " term=NONE".s:r."'"
|
||||
exe "let s:fmt_ital = ' ".s:vmode."=NONE".s:i. " term=NONE".s:i."'"
|
||||
exe "let s:fmt_stnd = ' ".s:vmode."=NONE".s:s. " term=NONE".s:s."'"
|
||||
exe "let s:fmt_revr = ' ".s:vmode."=NONE".s:r. " term=NONE".s:r."'"
|
||||
exe "let s:fmt_revb = ' ".s:vmode."=NONE".s:r.s:b. " term=NONE".s:r.s:b."'"
|
||||
" revbb (reverse bold for bright colors) is only set to actual bold in low
|
||||
" color terminals (t_co=8, such as OS X Terminal.app) and should only be used
|
||||
" with colors 8-15.
|
||||
exe "let s:fmt_revbb = ' ".s:vmode."=NONE".s:r.s:bb. " term=NONE".s:r.s:bb."'"
|
||||
exe "let s:fmt_revbbu = ' ".s:vmode."=NONE".s:r.s:bb.s:u." term=NONE".s:r.s:bb.s:u."'"
|
||||
|
||||
if has("gui_running")
|
||||
exe "let s:sp_none = ' guisp=".s:none ."'"
|
||||
|
@ -628,25 +600,18 @@ exe "hi! Todo" .s:fmt_bold .s:fg_magenta.s:bg_none
|
|||
" Extended highlighting "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
if (g:solarized_visibility=="high")
|
||||
exe "hi! SpecialKey" .s:fmt_revr .s:fg_red .s:bg_none
|
||||
exe "hi! NonText" .s:fmt_bold .s:fg_base1 .s:bg_none
|
||||
exe "hi! SpecialKey" .s:fmt_revr .s:fg_red .s:bg_none
|
||||
exe "hi! NonText" .s:fmt_bold .s:fg_red .s:bg_none
|
||||
elseif (g:solarized_visibility=="low")
|
||||
exe "hi! SpecialKey" .s:fmt_bold .s:fg_base02 .s:bg_none
|
||||
exe "hi! NonText" .s:fmt_bold .s:fg_base02 .s:bg_none
|
||||
exe "hi! SpecialKey" .s:fmt_bold .s:fg_base02 .s:bg_none
|
||||
exe "hi! NonText" .s:fmt_bold .s:fg_base02 .s:bg_none
|
||||
else
|
||||
exe "hi! SpecialKey" .s:fmt_bold .s:fg_red .s:bg_none
|
||||
exe "hi! NonText" .s:fmt_bold .s:fg_base01 .s:bg_none
|
||||
endif
|
||||
if (has("gui_running")) || &t_Co > 8
|
||||
exe "hi! StatusLine" .s:fmt_none .s:fg_base02 .s:bg_base1
|
||||
exe "hi! StatusLineNC" .s:fmt_none .s:fg_base02 .s:bg_base00
|
||||
"exe "hi! Visual" .s:fmt_stnd .s:fg_none .s:bg_base02
|
||||
exe "hi! Visual" .s:fmt_none .s:fg_base03 .s:bg_base01
|
||||
else
|
||||
exe "hi! StatusLine" .s:fmt_none .s:fg_base02 .s:bg_base2
|
||||
exe "hi! StatusLineNC" .s:fmt_none .s:fg_base02 .s:bg_base2
|
||||
exe "hi! Visual" .s:fmt_none .s:fg_none .s:bg_base2
|
||||
exe "hi! SpecialKey" .s:fmt_bold .s:fg_base00 .s:bg_base02
|
||||
exe "hi! NonText" .s:fmt_bold .s:fg_base00 .s:bg_none
|
||||
endif
|
||||
exe "hi! StatusLine" .s:fmt_none .s:fg_base1 .s:bg_base02 .s:fmt_revbb
|
||||
exe "hi! StatusLineNC" .s:fmt_none .s:fg_base00 .s:bg_base02 .s:fmt_revbb
|
||||
exe "hi! Visual" .s:fmt_none .s:fg_base01 .s:bg_base03 .s:fmt_revbb
|
||||
exe "hi! Directory" .s:fmt_none .s:fg_blue .s:bg_none
|
||||
exe "hi! ErrorMsg" .s:fmt_revr .s:fg_red .s:bg_none
|
||||
exe "hi! IncSearch" .s:fmt_stnd .s:fg_orange .s:bg_none
|
||||
|
@ -655,30 +620,53 @@ exe "hi! MoreMsg" .s:fmt_none .s:fg_blue .s:bg_none
|
|||
exe "hi! ModeMsg" .s:fmt_none .s:fg_blue .s:bg_none
|
||||
exe "hi! LineNr" .s:fmt_none .s:fg_base01 .s:bg_base02
|
||||
exe "hi! Question" .s:fmt_bold .s:fg_cyan .s:bg_none
|
||||
exe "hi! VertSplit" .s:fmt_bold .s:fg_base00 .s:bg_base00
|
||||
if ( has("gui_running") || &t_Co > 8 )
|
||||
exe "hi! VertSplit" .s:fmt_none .s:fg_base00 .s:bg_base00
|
||||
else
|
||||
exe "hi! VertSplit" .s:fmt_revbb .s:fg_base00 .s:bg_base02
|
||||
endif
|
||||
exe "hi! Title" .s:fmt_bold .s:fg_orange .s:bg_none
|
||||
exe "hi! VisualNOS" .s:fmt_stnd .s:fg_none .s:bg_base02
|
||||
exe "hi! VisualNOS" .s:fmt_stnd .s:fg_none .s:bg_base02 .s:fmt_revbb
|
||||
exe "hi! WarningMsg" .s:fmt_bold .s:fg_red .s:bg_none
|
||||
exe "hi! WildMenu" .s:fmt_none .s:fg_base2 .s:bg_base02
|
||||
exe "hi! WildMenu" .s:fmt_none .s:fg_base2 .s:bg_base02 .s:fmt_revbb
|
||||
exe "hi! Folded" .s:fmt_undb .s:fg_base0 .s:bg_base02 .s:sp_base03
|
||||
exe "hi! FoldColumn" .s:fmt_bold .s:fg_base0 .s:bg_base02
|
||||
exe "hi! FoldColumn" .s:fmt_none .s:fg_base0 .s:bg_base02
|
||||
if (g:solarized_diffmode=="high")
|
||||
exe "hi! DiffAdd" .s:fmt_revr .s:fg_green .s:bg_none
|
||||
exe "hi! DiffChange" .s:fmt_revr .s:fg_yellow .s:bg_none
|
||||
exe "hi! DiffDelete" .s:fmt_revr .s:fg_red .s:bg_none
|
||||
exe "hi! DiffText" .s:fmt_revr .s:fg_blue .s:bg_none
|
||||
exe "hi! SignColumn" .s:fmt_none .s:fg_base0 .s:bg_base02
|
||||
elseif (g:solarized_diffmode=="low")
|
||||
exe "hi! DiffAdd" .s:fmt_undr .s:fg_green .s:bg_none .s:sp_green
|
||||
exe "hi! DiffChange" .s:fmt_undr .s:fg_yellow .s:bg_none .s:sp_yellow
|
||||
exe "hi! DiffDelete" .s:fmt_bold .s:fg_red .s:bg_none
|
||||
exe "hi! DiffText" .s:fmt_undr .s:fg_blue .s:bg_none .s:sp_blue
|
||||
else " normal
|
||||
if has("gui_running")
|
||||
exe "hi! DiffAdd" .s:fmt_bold .s:fg_green .s:bg_base02 .s:sp_green
|
||||
exe "hi! DiffChange" .s:fmt_bold .s:fg_yellow .s:bg_base02 .s:sp_yellow
|
||||
exe "hi! DiffDelete" .s:fmt_bold .s:fg_red .s:bg_base02
|
||||
exe "hi! DiffText" .s:fmt_bold .s:fg_blue .s:bg_base02 .s:sp_blue
|
||||
else
|
||||
exe "hi! DiffAdd" .s:fmt_none .s:fg_green .s:bg_base02 .s:sp_green
|
||||
exe "hi! DiffChange" .s:fmt_none .s:fg_yellow .s:bg_base02 .s:sp_yellow
|
||||
exe "hi! DiffDelete" .s:fmt_none .s:fg_red .s:bg_base02
|
||||
exe "hi! DiffText" .s:fmt_none .s:fg_blue .s:bg_base02 .s:sp_blue
|
||||
endif
|
||||
endif
|
||||
exe "hi! SignColumn" .s:fmt_none .s:fg_base0
|
||||
exe "hi! Conceal" .s:fmt_none .s:fg_blue .s:bg_none
|
||||
exe "hi! SpellBad" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_red
|
||||
exe "hi! SpellCap" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_violet
|
||||
exe "hi! SpellRare" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_cyan
|
||||
exe "hi! SpellLocal" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_yellow
|
||||
exe "hi! Pmenu" .s:fmt_none .s:fg_base0 .s:bg_base02
|
||||
exe "hi! PmenuSel" .s:fmt_none .s:fg_base2 .s:bg_base01
|
||||
exe "hi! PmenuSbar" .s:fmt_none .s:fg_base0 .s:bg_base2
|
||||
exe "hi! PmenuThumb" .s:fmt_none .s:fg_base03 .s:bg_base0
|
||||
exe "hi! Pmenu" .s:fmt_none .s:fg_base0 .s:bg_base02 .s:fmt_revbb
|
||||
exe "hi! PmenuSel" .s:fmt_none .s:fg_base01 .s:bg_base2 .s:fmt_revbb
|
||||
exe "hi! PmenuSbar" .s:fmt_none .s:fg_base2 .s:bg_base0 .s:fmt_revbb
|
||||
exe "hi! PmenuThumb" .s:fmt_none .s:fg_base0 .s:bg_base03 .s:fmt_revbb
|
||||
exe "hi! TabLine" .s:fmt_undr .s:fg_base0 .s:bg_base02 .s:sp_base0
|
||||
exe "hi! TabLineSel" .s:fmt_undr .s:fg_base2 .s:bg_base01 .s:sp_base0
|
||||
exe "hi! TabLineFill" .s:fmt_undr .s:fg_base0 .s:bg_base02 .s:sp_base0
|
||||
exe "hi! TabLineSel" .s:fmt_undr .s:fg_base01 .s:bg_base2 .s:sp_base0 .s:fmt_revbbu
|
||||
exe "hi! CursorColumn" .s:fmt_none .s:fg_none .s:bg_base02
|
||||
exe "hi! CursorLine" .s:fmt_uopt .s:fg_none .s:bg_base02 .s:sp_base1
|
||||
exe "hi! ColorColumn" .s:fmt_none .s:fg_none .s:bg_base02
|
||||
|
@ -689,36 +677,95 @@ exe "hi! MatchParen" .s:fmt_bold .s:fg_red .s:bg_base01
|
|||
"}}}
|
||||
" vim syntax highlighting "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
exe "hi! vimLineComment" . s:fg_base01 .s:bg_none .s:fmt_ital
|
||||
exe "hi! vimCommentString".s:fg_violet .s:bg_none .s:fmt_none
|
||||
"exe "hi! vimLineComment" . s:fg_base01 .s:bg_none .s:fmt_ital
|
||||
"hi! link vimComment Comment
|
||||
"hi! link vimLineComment Comment
|
||||
hi! link vimVar Identifier
|
||||
hi! link vimFunc Function
|
||||
hi! link vimUserFunc Function
|
||||
exe "hi! vimCommand" . s:fg_yellow .s:bg_none .s:fmt_none
|
||||
exe "hi! vimCmdSep" . s:fg_blue .s:bg_none .s:fmt_bold
|
||||
exe "hi! helpExample" . s:fg_base1 .s:bg_none .s:fmt_none
|
||||
hi! link helpSpecial Special
|
||||
exe "hi! helpOption" . s:fg_cyan .s:bg_none .s:fmt_none
|
||||
exe "hi! helpNote" . s:fg_magenta.s:bg_none .s:fmt_none
|
||||
exe "hi! helpVim" . s:fg_magenta.s:bg_none .s:fmt_none
|
||||
exe "hi! helpHyperTextJump" .s:fg_blue .s:bg_none .s:fmt_undr
|
||||
exe "hi! helpHyperTextEntry".s:fg_green .s:bg_none .s:fmt_none
|
||||
exe "hi! vimIsCommand" . s:fg_base00 .s:bg_none .s:fmt_none
|
||||
exe "hi! vimSynMtchOpt" . s:fg_yellow .s:bg_none .s:fmt_none
|
||||
exe "hi! vimSynType" . s:fg_cyan .s:bg_none .s:fmt_none
|
||||
exe "hi! vimHiLink" . s:fg_blue .s:bg_none .s:fmt_none
|
||||
exe "hi! vimHiGroup" . s:fg_blue .s:bg_none .s:fmt_none
|
||||
exe "hi! vimGroup" . s:fg_blue .s:bg_none .s:fmt_undb
|
||||
hi! link vimSet Normal
|
||||
hi! link vimSetEqual Normal
|
||||
exe "hi! vimCommentString" .s:fmt_none .s:fg_violet .s:bg_none
|
||||
exe "hi! vimCommand" .s:fmt_none .s:fg_yellow .s:bg_none
|
||||
exe "hi! vimCmdSep" .s:fmt_bold .s:fg_blue .s:bg_none
|
||||
exe "hi! helpExample" .s:fmt_none .s:fg_base1 .s:bg_none
|
||||
exe "hi! helpOption" .s:fmt_none .s:fg_cyan .s:bg_none
|
||||
exe "hi! helpNote" .s:fmt_none .s:fg_magenta.s:bg_none
|
||||
exe "hi! helpVim" .s:fmt_none .s:fg_magenta.s:bg_none
|
||||
exe "hi! helpHyperTextJump" .s:fmt_undr .s:fg_blue .s:bg_none
|
||||
exe "hi! helpHyperTextEntry".s:fmt_none .s:fg_green .s:bg_none
|
||||
exe "hi! vimIsCommand" .s:fmt_none .s:fg_base00 .s:bg_none
|
||||
exe "hi! vimSynMtchOpt" .s:fmt_none .s:fg_yellow .s:bg_none
|
||||
exe "hi! vimSynType" .s:fmt_none .s:fg_cyan .s:bg_none
|
||||
exe "hi! vimHiLink" .s:fmt_none .s:fg_blue .s:bg_none
|
||||
exe "hi! vimHiGroup" .s:fmt_none .s:fg_blue .s:bg_none
|
||||
exe "hi! vimGroup" .s:fmt_undb .s:fg_blue .s:bg_none
|
||||
"}}}
|
||||
" diff highlighting "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
hi! link diffAdded Statement
|
||||
hi! link diffLine Identifier
|
||||
"}}}
|
||||
" git & gitcommit highlighting "{{{
|
||||
"git
|
||||
"exe "hi! gitDateHeader"
|
||||
"exe "hi! gitIdentityHeader"
|
||||
"exe "hi! gitIdentityKeyword"
|
||||
"exe "hi! gitNotesHeader"
|
||||
"exe "hi! gitReflogHeader"
|
||||
"exe "hi! gitKeyword"
|
||||
"exe "hi! gitIdentity"
|
||||
"exe "hi! gitEmailDelimiter"
|
||||
"exe "hi! gitEmail"
|
||||
"exe "hi! gitDate"
|
||||
"exe "hi! gitMode"
|
||||
"exe "hi! gitHashAbbrev"
|
||||
"exe "hi! gitHash"
|
||||
"exe "hi! gitReflogMiddle"
|
||||
"exe "hi! gitReference"
|
||||
"exe "hi! gitStage"
|
||||
"exe "hi! gitType"
|
||||
"exe "hi! gitDiffAdded"
|
||||
"exe "hi! gitDiffRemoved"
|
||||
"gitcommit
|
||||
"exe "hi! gitcommitSummary"
|
||||
exe "hi! gitcommitComment" .s:fmt_ital .s:fg_base01 .s:bg_none
|
||||
hi! link gitcommitUntracked gitcommitComment
|
||||
hi! link gitcommitDiscarded gitcommitComment
|
||||
hi! link gitcommitSelected gitcommitComment
|
||||
exe "hi! gitcommitUnmerged" .s:fmt_bold .s:fg_green .s:bg_none
|
||||
exe "hi! gitcommitOnBranch" .s:fmt_bold .s:fg_base01 .s:bg_none
|
||||
exe "hi! gitcommitBranch" .s:fmt_bold .s:fg_magenta .s:bg_none
|
||||
hi! link gitcommitNoBranch gitcommitBranch
|
||||
exe "hi! gitcommitDiscardedType".s:fmt_none .s:fg_red .s:bg_none
|
||||
exe "hi! gitcommitSelectedType" .s:fmt_none .s:fg_green .s:bg_none
|
||||
"exe "hi! gitcommitUnmergedType"
|
||||
"exe "hi! gitcommitType"
|
||||
"exe "hi! gitcommitNoChanges"
|
||||
"exe "hi! gitcommitHeader"
|
||||
exe "hi! gitcommitHeader" .s:fmt_none .s:fg_base01 .s:bg_none
|
||||
exe "hi! gitcommitUntrackedFile".s:fmt_bold .s:fg_cyan .s:bg_none
|
||||
exe "hi! gitcommitDiscardedFile".s:fmt_bold .s:fg_red .s:bg_none
|
||||
exe "hi! gitcommitSelectedFile" .s:fmt_bold .s:fg_green .s:bg_none
|
||||
exe "hi! gitcommitUnmergedFile" .s:fmt_bold .s:fg_yellow .s:bg_none
|
||||
exe "hi! gitcommitFile" .s:fmt_bold .s:fg_base0 .s:bg_none
|
||||
hi! link gitcommitDiscardedArrow gitcommitDiscardedFile
|
||||
hi! link gitcommitSelectedArrow gitcommitSelectedFile
|
||||
hi! link gitcommitUnmergedArrow gitcommitUnmergedFile
|
||||
"exe "hi! gitcommitArrow"
|
||||
"exe "hi! gitcommitOverflow"
|
||||
"exe "hi! gitcommitBlank"
|
||||
" }}}
|
||||
" html highlighting "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
exe "hi! htmlTag" . s:fg_base01 .s:bg_none .s:fmt_none
|
||||
exe "hi! htmlEndTag" . s:fg_base01 .s:bg_none .s:fmt_none
|
||||
exe "hi! htmlTagN" . s:fg_base1 .s:bg_none .s:fmt_bold
|
||||
exe "hi! htmlTagName" . s:fg_blue .s:bg_none .s:fmt_bold
|
||||
exe "hi! htmlSpecialTagName". s:fg_blue .s:bg_none .s:fmt_ital
|
||||
exe "hi! htmlArg" . s:fg_base00 .s:bg_none .s:fmt_none
|
||||
exe "hi! javaScript" . s:fg_yellow .s:bg_none .s:fmt_none
|
||||
exe "hi! htmlTag" .s:fmt_none .s:fg_base01 .s:bg_none
|
||||
exe "hi! htmlEndTag" .s:fmt_none .s:fg_base01 .s:bg_none
|
||||
exe "hi! htmlTagN" .s:fmt_bold .s:fg_base1 .s:bg_none
|
||||
exe "hi! htmlTagName" .s:fmt_bold .s:fg_blue .s:bg_none
|
||||
exe "hi! htmlSpecialTagName".s:fmt_ital .s:fg_blue .s:bg_none
|
||||
exe "hi! htmlArg" .s:fmt_none .s:fg_base00 .s:bg_none
|
||||
exe "hi! javaScript" .s:fmt_none .s:fg_yellow .s:bg_none
|
||||
"}}}
|
||||
" perl highlighting "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
|
@ -941,6 +988,107 @@ hi! link pandocMetadataTitle pandocMetadata
|
|||
" other potential terminal customizations that might make gui mode suboptimal.
|
||||
"
|
||||
autocmd GUIEnter * if (s:vmode != "gui") | exe "colorscheme " . g:colors_name | endif
|
||||
"}}}
|
||||
" Highlight Trailing Space {{{
|
||||
" Experimental: Different highlight when on cursorline
|
||||
function! s:SolarizedHiTrail()
|
||||
if g:solarized_hitrail==0
|
||||
hi! clear solarizedTrailingSpace
|
||||
else
|
||||
syn match solarizedTrailingSpace "\s*$"
|
||||
exe "hi! solarizedTrailingSpace " .s:fmt_undr .s:fg_red .s:bg_none .s:sp_red
|
||||
endif
|
||||
endfunction
|
||||
augroup SolarizedHiTrail
|
||||
autocmd!
|
||||
if g:solarized_hitrail==1
|
||||
autocmd! Syntax * call s:SolarizedHiTrail()
|
||||
autocmd! ColorScheme * if g:colors_name == "solarized" | call s:SolarizedHiTrail() | else | augroup! s:SolarizedHiTrail | endif
|
||||
endif
|
||||
augroup END
|
||||
" }}}
|
||||
" Menus "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
" Turn off Solarized menu by including the following assignment in your .vimrc:
|
||||
"
|
||||
" let g:solarized_menu=0
|
||||
|
||||
function! s:SolarizedOptions()
|
||||
new "new buffer
|
||||
setf vim "vim filetype
|
||||
let failed = append(0, s:defaults_list)
|
||||
let failed = append(0, s:colorscheme_list)
|
||||
let failed = append(0, s:options_list)
|
||||
let failed = append(0, s:lazycat_list)
|
||||
0 "jump back to the top
|
||||
endfunction
|
||||
if !exists(":SolarizedOptions")
|
||||
command SolarizedOptions :call s:SolarizedOptions()
|
||||
endif
|
||||
|
||||
function! SolarizedMenu()
|
||||
if exists("g:loaded_solarized_menu")
|
||||
try
|
||||
silent! aunmenu Solarized
|
||||
endtry
|
||||
endif
|
||||
let g:loaded_solarized_menu = 1
|
||||
|
||||
if g:colors_name == "solarized" && g:solarized_menu != 0
|
||||
|
||||
amenu &Solarized.&Contrast.&Low\ Contrast :let g:solarized_contrast="low" \| colorscheme solarized<CR>
|
||||
amenu &Solarized.&Contrast.&Normal\ Contrast :let g:solarized_contrast="normal" \| colorscheme solarized<CR>
|
||||
amenu &Solarized.&Contrast.&High\ Contrast :let g:solarized_contrast="high" \| colorscheme solarized<CR>
|
||||
an &Solarized.&Contrast.-sep- <Nop>
|
||||
amenu &Solarized.&Contrast.&Help:\ Contrast :help 'solarized_contrast'<CR>
|
||||
|
||||
amenu &Solarized.&Visibility.&Low\ Visibility :let g:solarized_visibility="low" \| colorscheme solarized<CR>
|
||||
amenu &Solarized.&Visibility.&Normal\ Visibility :let g:solarized_visibility="normal" \| colorscheme solarized<CR>
|
||||
amenu &Solarized.&Visibility.&High\ Visibility :let g:solarized_visibility="high" \| colorscheme solarized<CR>
|
||||
an &Solarized.&Visibility.-sep- <Nop>
|
||||
amenu &Solarized.&Visibility.&Help:\ Visibility :help 'solarized_visibility'<CR>
|
||||
|
||||
amenu &Solarized.&Background.&Toggle\ Background :ToggleBG<CR>
|
||||
amenu &Solarized.&Background.&Dark\ Background :set background=dark \| colorscheme solarized<CR>
|
||||
amenu &Solarized.&Background.&Light\ Background :set background=light \| colorscheme solarized<CR>
|
||||
an &Solarized.&Background.-sep- <Nop>
|
||||
amenu &Solarized.&Background.&Help:\ ToggleBG :help togglebg<CR>
|
||||
|
||||
if g:solarized_bold==0 | let l:boldswitch="On" | else | let l:boldswitch="Off" | endif
|
||||
exe "amenu &Solarized.&Styling.&Turn\\ Bold\\ ".l:boldswitch." :let g:solarized_bold=(abs(g:solarized_bold-1)) \\| colorscheme solarized<CR>"
|
||||
if g:solarized_italic==0 | let l:italicswitch="On" | else | let l:italicswitch="Off" | endif
|
||||
exe "amenu &Solarized.&Styling.&Turn\\ Italic\\ ".l:italicswitch." :let g:solarized_italic=(abs(g:solarized_italic-1)) \\| colorscheme solarized<CR>"
|
||||
if g:solarized_underline==0 | let l:underlineswitch="On" | else | let l:underlineswitch="Off" | endif
|
||||
exe "amenu &Solarized.&Styling.&Turn\\ Underline\\ ".l:underlineswitch." :let g:solarized_underline=(abs(g:solarized_underline-1)) \\| colorscheme solarized<CR>"
|
||||
|
||||
amenu &Solarized.&Diff\ Mode.&Low\ Diff\ Mode :let g:solarized_diffmode="low" \| colorscheme solarized<CR>
|
||||
amenu &Solarized.&Diff\ Mode.&Normal\ Diff\ Mode :let g:solarized_diffmode="normal" \| colorscheme solarized<CR>
|
||||
amenu &Solarized.&Diff\ Mode.&High\ Diff\ Mode :let g:solarized_diffmode="high" \| colorscheme solarized<CR>
|
||||
|
||||
if g:solarized_hitrail==0 | let l:hitrailswitch="On" | else | let l:hitrailswitch="Off" | endif
|
||||
exe "amenu &Solarized.&Experimental.&Turn\\ Highlight\\ Trailing\\ Spaces\\ ".l:hitrailswitch." :let g:solarized_hitrail=(abs(g:solarized_hitrail-1)) \\| colorscheme solarized<CR>"
|
||||
an &Solarized.&Experimental.-sep- <Nop>
|
||||
amenu &Solarized.&Experimental.&Help:\ HiTrail :help 'solarized_hitrail'<CR>
|
||||
|
||||
an &Solarized.-sep1- <Nop>
|
||||
|
||||
amenu &Solarized.&Autogenerate\ options :SolarizedOptions<CR>
|
||||
|
||||
an &Solarized.-sep2- <Nop>
|
||||
|
||||
amenu &Solarized.&Help.&Solarized\ Help :help solarized<CR>
|
||||
amenu &Solarized.&Help.&Toggle\ Background\ Help :help togglebg<CR>
|
||||
amenu &Solarized.&Help.&Removing\ This\ Menu :help solarized-menu<CR>
|
||||
|
||||
an 9999.77 &Help.&Solarized\ Colorscheme :help solarized<CR>
|
||||
an 9999.78 &Help.&Toggle\ Background :help togglebg<CR>
|
||||
an 9999.79 &Help.-sep3- <Nop>
|
||||
|
||||
endif
|
||||
endfunction
|
||||
|
||||
autocmd ColorScheme * if g:colors_name != "solarized" | silent! aunmenu Solarized | else | call SolarizedMenu() | endif
|
||||
|
||||
"}}}
|
||||
" License "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
|
|
254
vim-colors-solarized/doc/solarized.txt
Normal file
254
vim-colors-solarized/doc/solarized.txt
Normal file
|
@ -0,0 +1,254 @@
|
|||
*solarized.vim* for Vim version 7.3 or newer. Modified: 2011 May 05
|
||||
|
||||
|
||||
Solarized Vim Colorscheme by Ethan Schoonover ~
|
||||
|
||||
Solarized Colorscheme *solarized*
|
||||
*solarized-help*
|
||||
*solarized-colors*
|
||||
*solarized-colorscheme*
|
||||
*vim-colors-solarized*
|
||||
|
||||
Solarized is a carefully designed selective contrast colorscheme with dual
|
||||
light and dark modes that runs in both GUI, 256 and 16 color modes.
|
||||
|
||||
See the homepage at http://ethanschoonover.com/solarized for screenshots and
|
||||
details.
|
||||
|
||||
0. Install |solarized-install|
|
||||
1. Solarized Menu |solarized-menu|
|
||||
2. Options |solarized-options|
|
||||
3. Toggle Background |solarized-togglebg|
|
||||
4. Terminal Issues |solarized-term|
|
||||
|
||||
==============================================================================
|
||||
0. Install *solarized-install*
|
||||
|
||||
Note: I recommend using Tim Pope's pathogen plugin to install this
|
||||
colorscheme. See https://github.com/tpope/vim-pathogen . If you've installed
|
||||
pathogen properly you can install Solarized with the following commands,
|
||||
followed by the .vimrc configuration below.
|
||||
|
||||
$ cd ~/.vim/bundle
|
||||
$ git clone https://github.com/altercation/vim-colors-solarized.git
|
||||
|
||||
If you aren't using pathogen, you can use the following three steps to install
|
||||
Solarized:
|
||||
|
||||
1. Download the solarized distribution (available on the homepage above)
|
||||
and unarchive the file.
|
||||
|
||||
2. Move `solarized.vim` to your `.vim/colors` directory.
|
||||
|
||||
3. Move each of the files in each subdirectories to the corresponding .vim
|
||||
subdirectory (e.g. autoload/togglebg.vim goes into your .vim/autoload
|
||||
directory as .vim/autoload/togglebg.vim).
|
||||
|
||||
|
||||
After installation, place the following lines in your .vimrc:
|
||||
|
||||
syntax enable
|
||||
set background=dark
|
||||
colorscheme solarized
|
||||
|
||||
or, for the light background mode of Solarized:
|
||||
|
||||
syntax enable
|
||||
set background=light
|
||||
colorscheme solarized
|
||||
|
||||
==============================================================================
|
||||
1. Solarized Menu *solarized-menu*
|
||||
|
||||
Solarized makes available a menu when used in Vim GUI mode (gvim, macvim).
|
||||
This menu includes many of the options detailed below so that you can test out
|
||||
different values quickly without modifying your .vimrc file. If you wish to
|
||||
turn off this menu permanently, simply place the following line in your .vimrc
|
||||
above the "colorscheme solarized" line.
|
||||
|
||||
let g:solarized_menu=0
|
||||
|
||||
==============================================================================
|
||||
2. Toggle Background *solarized-togglebg*
|
||||
*toggle-bg* *togglebg*
|
||||
*toggle-background*
|
||||
|
||||
Solarized comes with Toggle Background, a simple plugin to switch between
|
||||
light and dark background modes and reset the colorscheme. This is most useful
|
||||
for colorschemes that support both light and dark modes and in terminals or
|
||||
gui vim windows where the background will be properly set.
|
||||
|
||||
Toggle Background can be accessed by:
|
||||
|
||||
* the Solarized menu (in Vim gui mode)
|
||||
* the Window menu (in Vim gui mode, even if the Solarized menu is off)
|
||||
* the "yin/yang" toolbar button (in Vim gui mode)
|
||||
* the default mapping of <F5>
|
||||
* custom key mapping you set in your .vimrc (see below)
|
||||
* command line via ":ToggleBG" (no quotes)
|
||||
|
||||
Toggle Background starts with a default mapping to function key <F5>. If you
|
||||
are already using this in a mapping, Toggle Background will not map itself to
|
||||
a default and you will have to map it manually in your .vimrc file, or
|
||||
remove/change your existing <F5> mapping to another value. To customize the
|
||||
keyboard mapping in your .vimrc file, use the following line, changing the
|
||||
"<F5>" value to the key or key combination you wish to use:
|
||||
|
||||
call togglebg#map("<F5>")
|
||||
|
||||
Note that you'll want to use a single function key or equivalent if you want
|
||||
the plugin to work in all modes (normal, insert, visual).
|
||||
|
||||
When using the plugin during normal, visual, or insert mode, there should be
|
||||
no interruption in workflow. However, if you activate the plugin during
|
||||
REPLACE mode, you will switch to standard insert mode (you will leave the
|
||||
overwrite replace mode).
|
||||
|
||||
==============================================================================
|
||||
3. Solarized Terminal Issues *solarized-term*
|
||||
|
||||
If you are going to use Solarized in Terminal mode (i.e. not in a GUI version
|
||||
like gvim or macvim), **please please please** consider setting your terminal
|
||||
emulator's colorscheme to used the Solarized palette. I've included palettes
|
||||
for some popular terminal emulator as well as Xdefaults in the official
|
||||
Solarized download available from the Solarized homepage listed at the top of
|
||||
this help document. If you use Solarized *without* these colors, Solarized
|
||||
will need to be told to degrade its colorscheme to a set compatible with the
|
||||
limited 256 terminal palette (whereas by using the terminal's 16 ansi color
|
||||
values, you can set the correct, specific values for the Solarized palette).
|
||||
|
||||
If you do use the custom terminal colors, solarized.vim should work out of
|
||||
the box for you. If you are using a terminal emulator that supports 256
|
||||
colors and don't want to use the custom Solarized terminal colors, you will
|
||||
need to use the degraded 256 colorscheme. To do so, simply add the following
|
||||
line *before* the `colorschem solarized` line:
|
||||
|
||||
let g:solarized_termcolors=256
|
||||
|
||||
Again, I recommend just changing your terminal colors to Solarized values
|
||||
either manually or via one of the many terminal schemes available for import.
|
||||
|
||||
==============================================================================
|
||||
4. Solarized Options *solarized-options*
|
||||
|
||||
|
||||
AUTOGENERATE OPTIONS
|
||||
|
||||
You can easily modify and experiment with Solarized display options using the
|
||||
Solarized menu when using Vim in gui mode. Once you have things set to your
|
||||
liking, you can autogenerate the current option list in a format ready for
|
||||
insertion into your .vimrc file using the Solarized menu "Autogenerate
|
||||
Options" command or at the command line with:
|
||||
|
||||
:SolarizedOptions
|
||||
|
||||
|
||||
OPTION LIST
|
||||
|
||||
Set these in your vimrc file prior to calling the colorscheme.
|
||||
|
||||
option name default optional
|
||||
------------------------------------------------
|
||||
g:solarized_termcolors= 16 | 256
|
||||
g:solarized_termtrans = 0 | 1
|
||||
g:solarized_degrade = 0 | 1
|
||||
g:solarized_bold = 1 | 0
|
||||
g:solarized_underline = 1 | 0
|
||||
g:solarized_italic = 1 | 0
|
||||
g:solarized_contrast = "normal"| "high" or "low"
|
||||
g:solarized_visibility= "normal"| "high" or "low"
|
||||
g:solarized_hitrail = 0 | 1
|
||||
g:solarized_menu = 1 | 0
|
||||
------------------------------------------------
|
||||
|
||||
|
||||
OPTION DETAILS
|
||||
|
||||
------------------------------------------------
|
||||
g:solarized_termcolors= 256 | 16 *'solarized_termcolors'*
|
||||
------------------------------------------------
|
||||
The most important option if you are using vim in terminal (non gui) mode!
|
||||
This tells Solarized to use the 256 degraded color mode if running in a 256
|
||||
color capable terminal. Otherwise, if set to `16` it will use the terminal
|
||||
emulators colorscheme (best option as long as you've set the emulators colors
|
||||
to the Solarized palette).
|
||||
|
||||
If you are going to use Solarized in Terminal mode (i.e. not in a GUI
|
||||
version like gvim or macvim), **please please please** consider setting your
|
||||
terminal emulator's colorscheme to used the Solarized palette. I've included
|
||||
palettes for some popular terminal emulator as well as Xdefaults in the
|
||||
official Solarized download available from:
|
||||
http://ethanschoonover.com/solarized . If you use Solarized without these
|
||||
colors, Solarized will by default use an approximate set of 256 colors. It
|
||||
isn't bad looking and has been extensively tweaked, but it's still not quite
|
||||
the real thing.
|
||||
|
||||
------------------------------------------------
|
||||
g:solarized_termtrans = 0 | 1 *'solarized_termtrans'*
|
||||
------------------------------------------------
|
||||
If you use a terminal emulator with a transparent background and Solarized
|
||||
isn't displaying the background color transparently, set this to 1 and
|
||||
Solarized will use the default (transparent) background of the terminal
|
||||
emulator. *urxvt* required this in my testing; iTerm2 did not.
|
||||
|
||||
Note that on Mac OS X Terminal.app, solarized_termtrans is set to 1 by
|
||||
default as this is almost always the best option. The only exception to this
|
||||
is if the working terminfo file supports 256 colors (xterm-256color).
|
||||
|
||||
------------------------------------------------
|
||||
g:solarized_degrade = 0 | 1 *'solarized_degrade'*
|
||||
------------------------------------------------
|
||||
For test purposes only; forces Solarized to use the 256 degraded color mode
|
||||
to test the approximate color values for accuracy.
|
||||
|
||||
------------------------------------------------
|
||||
g:solarized_bold = 1 | 0 *'solarized_bold'*
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
g:solarized_underline = 1 | 0 *'solarized_underline'*
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
g:solarized_italic = 1 | 0 *'solarized_italic'*
|
||||
------------------------------------------------
|
||||
If you wish to stop Solarized from displaying bold, underlined or
|
||||
italicized typefaces, simply assign a zero value to the appropriate
|
||||
variable, for example: `let g:solarized_italic=0`
|
||||
|
||||
------------------------------------------------
|
||||
g:solarized_contrast = "normal"| "high" or "low" *'solarized_contrast'*
|
||||
------------------------------------------------
|
||||
Stick with normal! It's been carefully tested. Setting this option to high
|
||||
or low does use the same Solarized palette but simply shifts some values up
|
||||
or down in order to expand or compress the tonal range displayed.
|
||||
|
||||
------------------------------------------------
|
||||
g:solarized_visibility = "normal"| "high" or "low" *'solarized_visibility'*
|
||||
------------------------------------------------
|
||||
Special characters such as trailing whitespace, tabs, newlines, when
|
||||
displayed using ":set list" can be set to one of three levels depending on
|
||||
your needs.
|
||||
|
||||
------------------------------------------------
|
||||
g:solarized_hitrail = 0 | 1 *'solarized_hitrail'*
|
||||
------------------------------------------------
|
||||
Visibility can make listchar entities more visible, but if one has set
|
||||
cursorline on, these same listchar values standout somewhat less due to the
|
||||
background color of the cursorline. g:solarized_hitrail enables highlighting
|
||||
of trailing spaces (only one of the listchar types, but a particularly
|
||||
important one) while in the cursoline in a different manner in order to make
|
||||
them more visible. This may not work consistently as Solarized is using
|
||||
a pattern match than can be overridden by a more encompassing syntax-native
|
||||
match such as a comment line.
|
||||
|
||||
|
||||
------------------------------------------------
|
||||
g:solarized_menu = 1 | 0 *'solarized_menu'*
|
||||
------------------------------------------------
|
||||
Solarized includes a menu providing access to several of the above
|
||||
display related options, including contrast and visibility. This allows
|
||||
for an easy method of testing different values quickly before settling
|
||||
on a final assignment for your .vimrc. If you wish to turn off this menu,
|
||||
assign g:solarized_menu a value of 0.
|
||||
|
||||
|
||||
vim:tw=78:noet:ts=8:ft=help:norl:
|
|
@ -1,11 +1,27 @@
|
|||
tog-bg togglebg.txt /*tog-bg*
|
||||
togbg togglebg.txt /*togbg*
|
||||
toggle-background togglebg.txt /*toggle-background*
|
||||
toggle-bg togglebg.txt /*toggle-bg*
|
||||
togglebackground togglebg.txt /*togglebackground*
|
||||
togglebg togglebg.txt /*togglebg*
|
||||
togglebg-default togglebg.txt /*togglebg-default*
|
||||
togglebg-issues togglebg.txt /*togglebg-issues*
|
||||
togglebg-newmap togglebg.txt /*togglebg-newmap*
|
||||
togglebg-usage togglebg.txt /*togglebg-usage*
|
||||
togglebg.vim togglebg.txt /*togglebg.vim*
|
||||
'solarized_bold' solarized.txt /*'solarized_bold'*
|
||||
'solarized_contrast' solarized.txt /*'solarized_contrast'*
|
||||
'solarized_degrade' solarized.txt /*'solarized_degrade'*
|
||||
'solarized_hitrail' solarized.txt /*'solarized_hitrail'*
|
||||
'solarized_italic' solarized.txt /*'solarized_italic'*
|
||||
'solarized_menu' solarized.txt /*'solarized_menu'*
|
||||
'solarized_termcolors' solarized.txt /*'solarized_termcolors'*
|
||||
'solarized_termtrans' solarized.txt /*'solarized_termtrans'*
|
||||
'solarized_underline' solarized.txt /*'solarized_underline'*
|
||||
'solarized_visibility' solarized.txt /*'solarized_visibility'*
|
||||
before solarized.txt /*before*
|
||||
solarized solarized.txt /*solarized*
|
||||
solarized-colors solarized.txt /*solarized-colors*
|
||||
solarized-colorscheme solarized.txt /*solarized-colorscheme*
|
||||
solarized-help solarized.txt /*solarized-help*
|
||||
solarized-install solarized.txt /*solarized-install*
|
||||
solarized-menu solarized.txt /*solarized-menu*
|
||||
solarized-options solarized.txt /*solarized-options*
|
||||
solarized-term solarized.txt /*solarized-term*
|
||||
solarized-togglebg solarized.txt /*solarized-togglebg*
|
||||
solarized.vim solarized.txt /*solarized.vim*
|
||||
toggle-background solarized.txt /*toggle-background*
|
||||
toggle-bg solarized.txt /*toggle-bg*
|
||||
togglebg solarized.txt /*togglebg*
|
||||
urxvt solarized.txt /*urxvt*
|
||||
vim-colors-solarized solarized.txt /*vim-colors-solarized*
|
||||
without solarized.txt /*without*
|
||||
|
|
|
@ -1,54 +0,0 @@
|
|||
*togglebg.vim* For Vim version 7.3. or newer Modified: 2011 Apr 16
|
||||
|
||||
|
||||
TOGGLE BACKGROUND PLUGIN by Ethan Schoonover ~
|
||||
|
||||
Toggle Background *togglebackground*
|
||||
*toggle-background*
|
||||
*togglebg* *toggle-bg*
|
||||
*togbg* *tog-bg*
|
||||
|
||||
Toggle Background is a simple plugin to switch between light and dark
|
||||
background modes and reset the colorscheme. This is most useful for
|
||||
colorschemes that support both light and dark modes and in terminals or gui
|
||||
vim windows where the background will be properly set.
|
||||
|
||||
0. Usage |togglebg-usage|
|
||||
1. Default Mapping |togglebg-default|
|
||||
2. Changing the Mapping |togglebg-newmap|
|
||||
3. Issues |togglebg-issues|
|
||||
|
||||
==============================================================================
|
||||
0. Usage *togglebg-usage*
|
||||
|
||||
Press your map key(s) to activate Toggle Background, or select "Toggle
|
||||
Background" from the 'Window' menu while in gui mode.
|
||||
|
||||
==============================================================================
|
||||
1. Default Mapping *togglebg-default*
|
||||
|
||||
Toggle Background starts with a default mapping to function key <F5>. If you
|
||||
are already using this in a mapping, Toggle Background will not map itself to
|
||||
a default and you will have to map it manually in your .vimrc file, or
|
||||
remove/change your existing <F5> mapping to another value.
|
||||
|
||||
==============================================================================
|
||||
2. Changing the Mapping *togglebg-newmap*
|
||||
|
||||
To set your own mapping in your .vimrc file, simply add the following line to
|
||||
support normal, insert and visual mode usage, changing the "<F5>" value to the
|
||||
key or key combination you wish to use:
|
||||
|
||||
call togglebg#map("<F5>")
|
||||
|
||||
Note that you'll want to use a single function key or equivalent if you want
|
||||
the plugin to work in all modes (normal, insert, visual).
|
||||
|
||||
==============================================================================
|
||||
3. Issues *togglebg-issues*
|
||||
|
||||
When using the plugin during insert mode, there should be no interruption in
|
||||
workflow. However, if you activate the plugin during REPLACE mode, you will
|
||||
switch to insert mode.
|
||||
|
||||
vim:tw=78:noet:ts=8:ft=help:norl:
|
183
xchat/README.md
Normal file
183
xchat/README.md
Normal file
|
@ -0,0 +1,183 @@
|
|||
# Solarized Colorscheme for XChat
|
||||
|
||||
This is a port of the [Solarized][solarized-homepage] colorscheme for
|
||||
[XChat][xchat-homepage]:
|
||||
[XChat Solarized Github Repository][xchat-solarized-github]
|
||||
|
||||
Original Solarized colorscheme developed by:
|
||||
**Ethan Schoonover**
|
||||
<es@ethanschoonover.com>
|
||||
[Solarized Github Repository][solarized-github]
|
||||
|
||||
## Visit the [Solarized homepage][solarized-homepage]
|
||||
|
||||
If you have come across this colorscheme via the
|
||||
[XChat-only repository on github][xchat-solarized-github], see the
|
||||
[Solarized homepage][solarized-homepage] for screenshots, details, and
|
||||
colorscheme versions for Vim, Mutt, popular terminal emulators, and other
|
||||
applications.
|
||||
|
||||
[solarized-github]: https://github.com/altercation/solarized
|
||||
[solarized-homepage]: http://ethanschoonover.com/solarized
|
||||
[xchat-solarized-github]: https://github.com/jtmohr/xchat-colors-solarized
|
||||
[xchat-homepage]: http://xchat.org/
|
||||
|
||||
## Screenshots
|
||||
![Solarized Dark](http://img208.imageshack.us/img208/6127/xchatsolarizeddarkcolor.png)
|
||||
|
||||
![Solarized Light](http://img855.imageshack.us/img855/9378/xchatsolarizedlightcolo.png)
|
||||
|
||||
## Installation
|
||||
|
||||
### XChat Data Directories
|
||||
Replace `<username>` with your actual username.
|
||||
|
||||
* **Windows Vista/7:**
|
||||
`C:\Users\<username>\AppData\Roaming\X-Chat 2\`
|
||||
* **Windows XP:**
|
||||
`C:\Documents and Settings\<username>\Application Data\X-Chat 2\`
|
||||
* **Linux:**
|
||||
`~/.xchat2/`
|
||||
|
||||
### pevents.conf
|
||||
The Solarized theme for XChat was designed using the default `pevents.conf`
|
||||
file.
|
||||
|
||||
The only reason you may need to replace your existing `pevents.conf` file is if
|
||||
it is heavily modified.
|
||||
|
||||
The `pevents.conf` included with the theme has 2 modifications:
|
||||
|
||||
1. Nick names are wrapped with angle brackets.
|
||||
https://toxin.jottit.com/xchat_text_events#03
|
||||
|
||||
1. Mode characters ( ~, &, @, %, +) are shown next to nick names.
|
||||
http://xchat.org/faq/#q26
|
||||
|
||||
### Install the Solarized theme
|
||||
1. Exit XChat
|
||||
1. Back-up the current `colors.conf` and `pevents.conf` files located in
|
||||
the appropriate XChat Data Directory
|
||||
1. Copy the `solarized-dark-colors.conf` or `solarized-light-colors.conf` file
|
||||
to the appropriate XChat Data Directory and rename it to `colors.conf`
|
||||
1. **(Optional)** Copy the `pevents.conf` file to the appropriate XChat Data
|
||||
Directory
|
||||
1. Restart XChat
|
||||
|
||||
## Color Values
|
||||
|
||||
### Solarized Dark
|
||||
mIRC colors are mapped 0-15
|
||||
===========================
|
||||
XChat Color
|
||||
---------------
|
||||
0 Default
|
||||
1 Default
|
||||
2 Default
|
||||
3 Default
|
||||
4 Default
|
||||
5 Default
|
||||
6 Default
|
||||
7 Default
|
||||
8 Default
|
||||
9 Default
|
||||
10 Default
|
||||
11 Default
|
||||
12 Default
|
||||
13 Default
|
||||
14 Default
|
||||
15 Default
|
||||
|
||||
Local colors are mapped 16-31
|
||||
=============================
|
||||
XChat Solarized Hex Color Mapping
|
||||
----- ------------------- ------------------------------------------------
|
||||
16 Orange #cb4b16 Motd Indicator
|
||||
17 Base 1 #93a1a1 User level indicators ( ~, &, @, %, +)
|
||||
18 Blue #268bd2 Primary Nick Color (when not using "Colored nick names") / Channel Action/Message
|
||||
19 Cyan #2aa198 Nick Color #1 - Join / You Join
|
||||
20 Violet #6c71c4 Nick Color #2
|
||||
21 Magenta #d33682 Channel Msg / Action Hilight
|
||||
22 Blue #268bd2 Nick Color #3 / Server Messages
|
||||
23 Violet #6c71c4 Quit / Part Messages
|
||||
24 Red #dc322f Nick Color #4 / Notify/Ignore Header
|
||||
25 Yellow #b58900 Nick Color #5 / User's Angle Bracket Color
|
||||
26 Magenta #d33682 Nick Color #6 / DCC/Channel Messages
|
||||
27 Base 01 #586e75 Nick Color #7 / Some Whois / Nick Angle Bracket Color
|
||||
28 Green #859900 Nick Color #8 / Some Whois / NickServ dashes
|
||||
29 Orange #cb4b16 Nick Color #9 / Channel Topic Color
|
||||
30 Yellow #b58900 User's Message / Some Whois / Some DCC
|
||||
31 Orange #cb4b16 User's Nick Color
|
||||
|
||||
XChat special colors are mapped at 256+
|
||||
=======================================
|
||||
XChat Solarized Hex Color Mapping
|
||||
----- ------------------- ------------------------------------------------
|
||||
256 Base 03 #002b36 Marking Text Forground
|
||||
257 Base 01 #586e75 Marking Text Background
|
||||
258 Base 0 #839496 Text Colors Foreground
|
||||
259 Base 03 #002b36 Text Colors Background
|
||||
260 Cyan #2aa198 Marker Line
|
||||
261 Blue #268bd2 New Data
|
||||
262 Orange #cb4b16 Highlight
|
||||
263 Yellow #b58900 New Message
|
||||
264 Base 01 #586e75 Away User
|
||||
265 Magenta #d33682 Spell Checker
|
||||
|
||||
### Solarized Light
|
||||
mIRC colors are mapped 0-15
|
||||
===========================
|
||||
XChat Color
|
||||
---------------
|
||||
0 Default
|
||||
1 Default
|
||||
2 Default
|
||||
3 Default
|
||||
4 Default
|
||||
5 Default
|
||||
6 Default
|
||||
7 Default
|
||||
8 Default
|
||||
9 Default
|
||||
10 Default
|
||||
11 Default
|
||||
12 Default
|
||||
13 Default
|
||||
14 Default
|
||||
15 Default
|
||||
|
||||
Local colors are mapped 16-31
|
||||
=============================
|
||||
XChat Solarized Hex Color Mapping
|
||||
----- ------------------- ------------------------------------------------
|
||||
16 Orange #cb4b16 Motd Indicator
|
||||
17 Base 01 #586e75 User level indicators ( ~, &, @, %, +)
|
||||
18 Blue #268bd2 Primary Nick Color (when not using "Colored nick names") / Channel Action/Message
|
||||
19 Cyan #2aa198 Nick Color #1 - Join / You Join
|
||||
20 Violet #6c71c4 Nick Color #2
|
||||
21 Magenta #d33682 Channel Msg / Action Hilight
|
||||
22 Blue #268bd2 Nick Color #3 / Server Messages
|
||||
23 Violet #6c71c4 Quit / Part Messages
|
||||
24 Red #dc322f Nick Color #4 / Notify/Ignore Header
|
||||
25 Yellow #b58900 Nick Color #5 / User's Angle Bracket Color
|
||||
26 Magenta #d33682 Nick Color #6 / DCC/Channel Messages
|
||||
27 Base 1 #93a1a1 Nick Color #7 / Some Whois / Nick Angle Bracket Color
|
||||
28 Green #859900 Nick Color #8 / Some Whois / NickServ dashes
|
||||
29 Orange #cb4b16 Nick Color #9 / Channel Topic Color
|
||||
30 Yellow #b58900 User's Message / Some Whois / Some DCC
|
||||
31 Orange #cb4b16 User's Nick Color
|
||||
|
||||
XChat special colors are mapped at 256+
|
||||
=======================================
|
||||
XChat Solarized Hex Color Mapping
|
||||
----- ------------------- ------------------------------------------------
|
||||
256 Base 3 #fdf6e3 Marking Text Forground
|
||||
257 Base 1 #93a1a1 Marking Text Background
|
||||
258 Base 00 #657b83 Text Colors Foreground
|
||||
259 Base 3 #fdf6e3 Text Colors Background
|
||||
260 Cyan #2aa198 Marker Line
|
||||
261 Blue #268bd2 New Data
|
||||
262 Orange #cb4b16 Highlight
|
||||
263 Yellow #b58900 New Message
|
||||
264 Base 1 #93a1a1 Away User
|
||||
265 Magenta #d33682 Spell Checker
|
420
xchat/pevents.conf
Normal file
420
xchat/pevents.conf
Normal file
|
@ -0,0 +1,420 @@
|
|||
event_name=Add Notify
|
||||
event_text=%C22*%O$t$1 added to notify list.
|
||||
|
||||
event_name=Ban List
|
||||
event_text=%C22*%O$t$1 Banlist:%C19 $4%C20 $2%C21 $3
|
||||
|
||||
event_name=Banned
|
||||
event_text=%C22*%O$tCannot join%C26 %B$1 %O(You are banned).
|
||||
|
||||
event_name=Beep
|
||||
event_text=
|
||||
|
||||
event_name=Change Nick
|
||||
event_text=%C22*%O$t$1 is now known as $2
|
||||
|
||||
event_name=Channel Action
|
||||
event_text=%C18*$t$1%O $2
|
||||
|
||||
event_name=Channel Action Hilight
|
||||
event_text=%C21*%O$t%C21%B$1%O%C21 $2
|
||||
|
||||
event_name=Channel Ban
|
||||
event_text=%C22*%O$t$1 sets ban on $2
|
||||
|
||||
event_name=Channel Creation
|
||||
event_text=%C22*%O$tChannel $1 created on $2
|
||||
|
||||
event_name=Channel DeHalfOp
|
||||
event_text=%C22*%O$t%C26$1%O removes channel half-operator status from%C26 $2
|
||||
|
||||
event_name=Channel DeOp
|
||||
event_text=%C22*%O$t%C26$1%O removes channel operator status from%C26 $2
|
||||
|
||||
event_name=Channel DeVoice
|
||||
event_text=%C22*%O$t%C26$1%O removes voice from%C26 $2
|
||||
|
||||
event_name=Channel Exempt
|
||||
event_text=%C22*%O$t$1 sets exempt on $2
|
||||
|
||||
event_name=Channel Half-Operator
|
||||
event_text=%C22*%O$t%C26$1%O gives channel half-operator status to%C26 $2
|
||||
|
||||
event_name=Channel INVITE
|
||||
event_text=%C22*%O$t$1 sets invite on $2
|
||||
|
||||
event_name=Channel List
|
||||
event_text=%UChannel Users Topic
|
||||
|
||||
event_name=Channel Message
|
||||
event_text=%C27<$4%C17$3%C18$1%C27>%O$t$2
|
||||
|
||||
event_name=Channel Mode Generic
|
||||
event_text=%C22*%O$t$1 sets mode $2$3 $4
|
||||
|
||||
event_name=Channel Modes
|
||||
event_text=%C22*%O$t%C22Channel $1 modes: $2
|
||||
|
||||
event_name=Channel Msg Hilight
|
||||
event_text=$4%C21%B%H<%H$1%H>%H%O%C21$t$2
|
||||
|
||||
event_name=Channel Notice
|
||||
event_text=%C28-%C29$1/$2%C28-%O$t$3
|
||||
|
||||
event_name=Channel Operator
|
||||
event_text=%C22*%O$t%C26$1%O gives channel operator status to%C26 $2
|
||||
|
||||
event_name=Channel Remove Exempt
|
||||
event_text=%C22*%O$t$1 removes exempt on $2
|
||||
|
||||
event_name=Channel Remove Invite
|
||||
event_text=%C22*%O$t$1 removes invite on $2
|
||||
|
||||
event_name=Channel Remove Keyword
|
||||
event_text=%C22*%O$t$1 removes channel keyword
|
||||
|
||||
event_name=Channel Remove Limit
|
||||
event_text=%C22*%O$t$1 removes user limit
|
||||
|
||||
event_name=Channel Set Key
|
||||
event_text=%C22*%O$t$1 sets channel keyword to $2
|
||||
|
||||
event_name=Channel Set Limit
|
||||
event_text=%C22*%O$t$1 sets channel limit to $2
|
||||
|
||||
event_name=Channel UnBan
|
||||
event_text=%C22*%O$t$1 removes ban on $2
|
||||
|
||||
event_name=Channel Voice
|
||||
event_text=%C22*%O$t%C26$1%O gives voice to%C26 $2
|
||||
|
||||
event_name=Connected
|
||||
event_text=%C22*%O$t%C22Connected. Now logging in...
|
||||
|
||||
event_name=Connecting
|
||||
event_text=%C22*%O$t%C22Connecting to $1 ($2) port $3%O...
|
||||
|
||||
event_name=Connection Failed
|
||||
event_text=%C21*%O$t%C21Connection failed. Error: $1
|
||||
|
||||
event_name=CTCP Generic
|
||||
event_text=%C22*%O$tReceived a CTCP $1 from $2
|
||||
|
||||
event_name=CTCP Generic to Channel
|
||||
event_text=%C22*%O$tReceived a CTCP $1 from $2 (to $3)
|
||||
|
||||
event_name=CTCP Send
|
||||
event_text=%C19>%O$1%C19<%O$tCTCP $2
|
||||
|
||||
event_name=CTCP Sound
|
||||
event_text=%C22*%O$tReceived a CTCP Sound $1 from $2
|
||||
|
||||
event_name=CTCP Sound to Channel
|
||||
event_text=%C22*%O$tReceived a CTCP Sound $1 from $2 (to $3)
|
||||
|
||||
event_name=DCC CHAT Abort
|
||||
event_text=%C22*%O$tDCC CHAT to %C26$1%O aborted.
|
||||
|
||||
event_name=DCC CHAT Connect
|
||||
event_text=%C22*%O$tDCC CHAT connection established to %C26$1 %C30[%O$2%C30]
|
||||
|
||||
event_name=DCC CHAT Failed
|
||||
event_text=%C22*%O$tDCC CHAT to %C26$1%O lost ($4).
|
||||
|
||||
event_name=DCC CHAT Offer
|
||||
event_text=%C22*%O$tReceived a DCC CHAT offer from $1
|
||||
|
||||
event_name=DCC CHAT Offering
|
||||
event_text=%C22*%O$tOffering DCC CHAT to $1
|
||||
|
||||
event_name=DCC CHAT Reoffer
|
||||
event_text=%C22*%O$tAlready offering CHAT to $1
|
||||
|
||||
event_name=DCC Conection Failed
|
||||
event_text=%C22*%O$tDCC $1 connect attempt to%C26 $2%O failed (err=$3).
|
||||
|
||||
event_name=DCC Generic Offer
|
||||
event_text=%C22*%O$tReceived '$1%O' from $2
|
||||
|
||||
event_name=DCC Header
|
||||
event_text=%C24,18 Type To/From Status Size Pos File
|
||||
|
||||
event_name=DCC Malformed
|
||||
event_text=%C22*%O$tReceived a malformed DCC request from %C26$1%O.%010%C22*%O$tContents of packet: $2
|
||||
|
||||
event_name=DCC Offer
|
||||
event_text=%C22*%O$tOffering%C26 $1%O to%C26 $2
|
||||
|
||||
event_name=DCC Offer Not Valid
|
||||
event_text=%C22*%O$tNo such DCC offer.
|
||||
|
||||
event_name=DCC RECV Abort
|
||||
event_text=%C22*%O$tDCC RECV%C26 $2%O to%C26 $1%O aborted.
|
||||
|
||||
event_name=DCC RECV Complete
|
||||
event_text=%C22*%O$tDCC RECV%C26 $1%O from%C26 $3%O complete %C30[%C26$4%O cps%C30]%O.
|
||||
|
||||
event_name=DCC RECV Connect
|
||||
event_text=%C22*%O$tDCC RECV connection established to%C26 $1 %C30[%O$2%C30]
|
||||
|
||||
event_name=DCC RECV Failed
|
||||
event_text=%C22*%O$tDCC RECV%C26 $1%O from%C26 $3%O failed ($4).
|
||||
|
||||
event_name=DCC RECV File Open Error
|
||||
event_text=%C22*%O$tDCC RECV: Cannot open $1 for writing ($2).
|
||||
|
||||
event_name=DCC Rename
|
||||
event_text=%C22*%O$tThe file%C26 $1%C already exists, saving it as%C26 $2%O instead.
|
||||
|
||||
event_name=DCC RESUME Request
|
||||
event_text=%C22*%O$t%C26$1 %Ohas requested to resume%C26 $2 %Cfrom%C26 $3%C.
|
||||
|
||||
event_name=DCC SEND Abort
|
||||
event_text=%C22*%O$tDCC SEND%C26 $2%O to%C26 $1%O aborted.
|
||||
|
||||
event_name=DCC SEND Complete
|
||||
event_text=%C22*%O$tDCC SEND%C26 $1%O to%C26 $2%O complete %C30[%C26$3%O cps%C30]%O.
|
||||
|
||||
event_name=DCC SEND Connect
|
||||
event_text=%C22*%O$tDCC SEND connection established to%C26 $1 %C30[%O$2%C30]
|
||||
|
||||
event_name=DCC SEND Failed
|
||||
event_text=%C22*%O$tDCC SEND%C26 $1%O to%C26 $2%O failed. $3
|
||||
|
||||
event_name=DCC SEND Offer
|
||||
event_text=%C22*%O$t%C26$1 %Ohas offered%C26 $2 %O(%C26$3 %Obytes)
|
||||
|
||||
event_name=DCC Stall
|
||||
event_text=%C22*%O$tDCC $1%C26 $2 %Oto%C26 $3 %Cstalled - aborting.
|
||||
|
||||
event_name=DCC Timeout
|
||||
event_text=%C22*%O$tDCC $1%C26 $2 %Oto%C26 $3 %Otimed out - aborting.
|
||||
|
||||
event_name=Delete Notify
|
||||
event_text=%C22*%O$t$1 deleted from notify list.
|
||||
|
||||
event_name=Disconnected
|
||||
event_text=%C22*%O$tDisconnected ($1).
|
||||
|
||||
event_name=Found IP
|
||||
event_text=%C22*%O$tFound your IP: [$1]
|
||||
|
||||
event_name=Generic Message
|
||||
event_text=$1$t$2
|
||||
|
||||
event_name=Ignore Add
|
||||
event_text=%O%C26$1%O added to ignore list.
|
||||
|
||||
event_name=Ignore Changed
|
||||
event_text=Ignore on %C26$1%O changed.
|
||||
|
||||
event_name=Ignore Footer
|
||||
event_text=%C24,18
|
||||
|
||||
event_name=Ignore Header
|
||||
event_text=%C24,18 Hostmask PRIV NOTI CHAN CTCP DCC INVI UNIG
|
||||
|
||||
event_name=Ignore Remove
|
||||
event_text=%O%C26$1%O removed from ignore list.
|
||||
|
||||
event_name=Ignorelist Empty
|
||||
event_text= Ignore list is empty.
|
||||
|
||||
event_name=Invite
|
||||
event_text=%C22*%O$tCannot join%C26 %B$1 %O(Channel is invite only).
|
||||
|
||||
event_name=Invited
|
||||
event_text=%C22*%O$tYou have been invited to%C26 $1%O by%C26 $2%C (%C26$3%C)
|
||||
|
||||
event_name=Join
|
||||
event_text=%C19*%O$t%C19%B$1 %B($3) has joined $2
|
||||
|
||||
event_name=Keyword
|
||||
event_text=%C22*%O$tCannot join%C26 %B$1 %O(Requires keyword).
|
||||
|
||||
event_name=Kick
|
||||
event_text=%C21*%O$t%C21$1 has kicked $2 from $3 ($4%O%C21)
|
||||
|
||||
event_name=Killed
|
||||
event_text=%C22*%O$tYou have been killed by $1 ($2%O%C22)
|
||||
|
||||
event_name=Message Send
|
||||
event_text=%C19>%O$1%C19<%O$t$2
|
||||
|
||||
event_name=Motd
|
||||
event_text=%C16*%O$t$1%O
|
||||
|
||||
event_name=MOTD Skipped
|
||||
event_text=%C22*%O$t%C22MOTD Skipped.
|
||||
|
||||
event_name=Nick Clash
|
||||
event_text=%C22*%O$t$1 already in use. Retrying with $2...
|
||||
|
||||
event_name=Nick Failed
|
||||
event_text=%C22*%O$tNickname already in use. Use /NICK to try another.
|
||||
|
||||
event_name=No DCC
|
||||
event_text=%C22*%O$tNo such DCC.
|
||||
|
||||
event_name=No Running Process
|
||||
event_text=%C22*%O$tNo process is currently running
|
||||
|
||||
event_name=Notice
|
||||
event_text=%C28-%C29$1%C28-%O$t$2
|
||||
|
||||
event_name=Notice Send
|
||||
event_text=%C19>%O$1%C19<%O$t$2
|
||||
|
||||
event_name=Notify Empty
|
||||
event_text=$tNotify list is empty.
|
||||
|
||||
event_name=Notify Header
|
||||
event_text=%C24,18 %B Notify List
|
||||
|
||||
event_name=Notify Number
|
||||
event_text=%C22*%O$t$1 users in notify list.
|
||||
|
||||
event_name=Notify Offline
|
||||
event_text=%C22*%O$tNotify: $1 is offline ($3).
|
||||
|
||||
event_name=Notify Online
|
||||
event_text=%C22*%O$tNotify: $1 is online ($3).
|
||||
|
||||
event_name=Open Dialog
|
||||
event_text=
|
||||
|
||||
event_name=Part
|
||||
event_text=%C23*%O$t%C23$1 (%O%C23$2) has left $3
|
||||
|
||||
event_name=Part with Reason
|
||||
event_text=%C23*%O$t%C23$1 (%O%C23$2) has left $3 (%O%C23%B%B$4%O%C23)
|
||||
|
||||
event_name=Ping Reply
|
||||
event_text=%C22*%O$tPing reply from $1: $2 second(s)
|
||||
|
||||
event_name=Ping Timeout
|
||||
event_text=%C22*%O$tNo ping reply for $1 seconds, disconnecting.
|
||||
|
||||
event_name=Private Action
|
||||
event_text=%C18**$t$3$1%O $2 %C18**
|
||||
|
||||
event_name=Private Action to Dialog
|
||||
event_text=%C18*$t$3$1%O $2
|
||||
|
||||
event_name=Private Message
|
||||
event_text=%C28*%C29$3$1%C28*$t%O$2
|
||||
|
||||
event_name=Private Message to Dialog
|
||||
event_text=%C18%H<%H$3$1%H>%H%O$t$2
|
||||
|
||||
event_name=Process Already Running
|
||||
event_text=%C22*%O$tA process is already running
|
||||
|
||||
event_name=Quit
|
||||
event_text=%C23*%O$t%C23$1 has quit (%O%C23%B%B$2%O%C23)
|
||||
|
||||
event_name=Raw Modes
|
||||
event_text=%C22*%O$t$1 sets modes%B %C30[%O$2%B%C30]
|
||||
|
||||
event_name=Receive Wallops
|
||||
event_text=%C28-%C29$1/Wallops%C28-%O$t$2
|
||||
|
||||
event_name=Resolving User
|
||||
event_text=%C22*%O$tLooking up IP number for%C26 $1%O...
|
||||
|
||||
event_name=Server Connected
|
||||
event_text=%C22*%O$t%C22Connected.
|
||||
|
||||
event_name=Server Error
|
||||
event_text=%C22*%O$t$1
|
||||
|
||||
event_name=Server Lookup
|
||||
event_text=%C22*%O$t%C22Looking up $1
|
||||
|
||||
event_name=Server Notice
|
||||
event_text=%C22*%O$t$1
|
||||
|
||||
event_name=Server Text
|
||||
event_text=%C22*%O$t$1
|
||||
|
||||
event_name=SSL Message
|
||||
event_text=%C22*%O$t$1
|
||||
|
||||
event_name=Stop Connection
|
||||
event_text=%C22*%O$tStopped previous connection attempt (pid=$1)
|
||||
|
||||
event_name=Topic
|
||||
event_text=%C29*%O$t%C29Topic for $1%C %C29is: $2
|
||||
|
||||
event_name=Topic Change
|
||||
event_text=%C22*%O$t$1 has changed the topic to: $2
|
||||
|
||||
event_name=Topic Creation
|
||||
event_text=%C29*%O$t%C29Topic for $1%C %C29set by $2%C %C29at $3
|
||||
|
||||
event_name=Unknown Host
|
||||
event_text=%C22*%O$tUnknown host. Maybe you misspelled it?
|
||||
|
||||
event_name=User Limit
|
||||
event_text=%C22*%O$tCannot join%C26 %B$1 %O(User limit reached).
|
||||
|
||||
event_name=Users On Channel
|
||||
event_text=%C22*%O$t%C26Users on $1:%C $2
|
||||
|
||||
event_name=WhoIs Authenticated
|
||||
event_text=%C22*%O$t%C28[%O$1%C28] %O$2%C27 $3
|
||||
|
||||
event_name=WhoIs Away Line
|
||||
event_text=%C22*%O$t%C28[%O$1%C28] %Cis away %C30(%O$2%O%C30)
|
||||
|
||||
event_name=WhoIs Channel/Oper Line
|
||||
event_text=%C22*%O$t%C28[%O$1%C28]%O $2
|
||||
|
||||
event_name=WhoIs End
|
||||
event_text=%C22*%O$t%C28[%O$1%C28] %OEnd of WHOIS list.
|
||||
|
||||
event_name=WhoIs Identified
|
||||
event_text=%C22*%O$t%C28[%O$1%C28]%O $2
|
||||
|
||||
event_name=WhoIs Idle Line
|
||||
event_text=%C22*%O$t%C28[%O$1%C28]%O idle%C26 $2
|
||||
|
||||
event_name=WhoIs Idle Line with Signon
|
||||
event_text=%C22*%O$t%C28[%O$1%C28]%O idle%C26 $2%O, signon:%C26 $3
|
||||
|
||||
event_name=WhoIs Name Line
|
||||
event_text=%C22*%O$t%C28[%O$1%C28] %C30(%O$2@$3%C30)%O: $4
|
||||
|
||||
event_name=WhoIs Real Host
|
||||
event_text=%C22*%O$t%C28[%O$1%C28] %Oreal user@host%C27 $2%O, real IP%C27 $3
|
||||
|
||||
event_name=WhoIs Server Line
|
||||
event_text=%C22*%O$t%C28[%O$1%C28]%O $2
|
||||
|
||||
event_name=WhoIs Special
|
||||
event_text=%C22*%O$t%C28[%O$1%C28]%O $2
|
||||
|
||||
event_name=You Join
|
||||
event_text=%C19*%O$t%C19Now talking on $2
|
||||
|
||||
event_name=You Kicked
|
||||
event_text=%C23*$tYou have been kicked from $2 by $3 ($4%O%C23)
|
||||
|
||||
event_name=You Part
|
||||
event_text=%C23*$tYou have left channel $3
|
||||
|
||||
event_name=You Part with Reason
|
||||
event_text=%C23*$tYou have left channel $3 (%O%C23%B%B$4%O%C23)
|
||||
|
||||
event_name=Your Action
|
||||
event_text=%C18*$t$1%O $2
|
||||
|
||||
event_name=Your Invitation
|
||||
event_text=%C22*%O$tYou've invited%C26 $1%O to%C26 $2%O (%C26$3%O)
|
||||
|
||||
event_name=Your Message
|
||||
event_text=%C31<$4$3$1>%O%C30$t$2
|
||||
|
||||
event_name=Your Nick Changing
|
||||
event_text=%C22*%O$tYou are now known as $2
|
||||
|
42
xchat/solarized-dark-colors.conf
Normal file
42
xchat/solarized-dark-colors.conf
Normal file
|
@ -0,0 +1,42 @@
|
|||
color_0 = cccc cccc cccc
|
||||
color_1 = 0000 0000 0000
|
||||
color_2 = 35c2 35c2 b332
|
||||
color_3 = 2a3d 8ccc 2a3d
|
||||
color_4 = c3c3 3b3b 3b3b
|
||||
color_5 = c7c7 3232 3232
|
||||
color_6 = 8000 2666 7fff
|
||||
color_7 = 6666 3636 1f1f
|
||||
color_8 = d999 a6d3 4147
|
||||
color_9 = 3d70 cccc 3d70
|
||||
color_10 = 199a 5555 5555
|
||||
color_11 = 2eef 8ccc 74df
|
||||
color_12 = 451e 451e e666
|
||||
color_13 = b0b0 3737 b0b0
|
||||
color_14 = 4c4c 4c4c 4c4c
|
||||
color_15 = 9595 9595 9595
|
||||
color_16 = cbcb 4b4b 1616
|
||||
color_17 = 9393 a1a1 a1a1
|
||||
color_18 = 2626 8b8b d2d2
|
||||
color_19 = 2a2a a1a1 9898
|
||||
color_20 = 6c6c 7171 c4c4
|
||||
color_21 = d3d3 3636 8282
|
||||
color_22 = 2626 8b8b d2d2
|
||||
color_23 = 6c6c 7171 c4c4
|
||||
color_24 = dcdc 3232 2f2f
|
||||
color_25 = b5b5 8989 0000
|
||||
color_26 = d3d3 3636 8282
|
||||
color_27 = 5858 6e6e 7575
|
||||
color_28 = 8585 9999 0000
|
||||
color_29 = cbcb 4b4b 1616
|
||||
color_30 = b5b5 8989 0000
|
||||
color_31 = cbcb 4b4b 1616
|
||||
color_256 = 0000 2b2b 3636
|
||||
color_257 = 5858 6e6e 7575
|
||||
color_258 = 8383 9494 9696
|
||||
color_259 = 0000 2b2b 3636
|
||||
color_260 = 2a2a a1a1 9898
|
||||
color_261 = 2626 8b8b d2d2
|
||||
color_262 = cbcb 4b4b 1616
|
||||
color_263 = b5b5 8989 0000
|
||||
color_264 = 5858 6e6e 7575
|
||||
color_265 = d3d3 3636 8282
|
42
xchat/solarized-light-colors.conf
Normal file
42
xchat/solarized-light-colors.conf
Normal file
|
@ -0,0 +1,42 @@
|
|||
color_0 = cccc cccc cccc
|
||||
color_1 = 0000 0000 0000
|
||||
color_2 = 35c2 35c2 b332
|
||||
color_3 = 2a3d 8ccc 2a3d
|
||||
color_4 = c3c3 3b3b 3b3b
|
||||
color_5 = c7c7 3232 3232
|
||||
color_6 = 8000 2666 7fff
|
||||
color_7 = 6666 3636 1f1f
|
||||
color_8 = d999 a6d3 4147
|
||||
color_9 = 3d70 cccc 3d70
|
||||
color_10 = 199a 5555 5555
|
||||
color_11 = 2eef 8ccc 74df
|
||||
color_12 = 451e 451e e666
|
||||
color_13 = b0b0 3737 b0b0
|
||||
color_14 = 4c4c 4c4c 4c4c
|
||||
color_15 = 9595 9595 9595
|
||||
color_16 = cbcb 4b4b 1616
|
||||
color_17 = 5858 6e6e 7575
|
||||
color_18 = 2626 8b8b d2d2
|
||||
color_19 = 2a2a a1a1 9898
|
||||
color_20 = 6c6c 7171 c4c4
|
||||
color_21 = d3d3 3636 8282
|
||||
color_22 = 2626 8b8b d2d2
|
||||
color_23 = 6c6c 7171 c4c4
|
||||
color_24 = dcdc 3232 2f2f
|
||||
color_25 = b5b5 8989 0000
|
||||
color_26 = d3d3 3636 8282
|
||||
color_27 = 9393 a1a1 a1a1
|
||||
color_28 = 8585 9999 0000
|
||||
color_29 = cbcb 4b4b 1616
|
||||
color_30 = b5b5 8989 0000
|
||||
color_31 = cbcb 4b4b 1616
|
||||
color_256 = fdfd f6f6 e3e3
|
||||
color_257 = 9393 a1a1 a1a1
|
||||
color_258 = 6565 7b7b 8383
|
||||
color_259 = fdfd f6f6 e3e3
|
||||
color_260 = 2a2a a1a1 9898
|
||||
color_261 = 2626 8b8b d2d2
|
||||
color_262 = cbcb 4b4b 1616
|
||||
color_263 = b5b5 8989 0000
|
||||
color_264 = 9393 a1a1 a1a1
|
||||
color_265 = d3d3 3636 8282
|
19
xfce4-terminal/LICENSE
Normal file
19
xfce4-terminal/LICENSE
Normal file
|
@ -0,0 +1,19 @@
|
|||
Copyright (c) 2011 Sasha Gerrand
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
40
xfce4-terminal/README.md
Normal file
40
xfce4-terminal/README.md
Normal file
|
@ -0,0 +1,40 @@
|
|||
Solarized colour scheme for the Xfce4 Terminal
|
||||
=============================
|
||||
|
||||
Developed by Sasha Gerrand <github.com@sgerrand.com>
|
||||
|
||||
Visit the [Solarized homepage]
|
||||
------------------------------
|
||||
|
||||
See the [Solarized homepage] for screenshots, details and colorscheme versions for Vim, Mutt, popular terminal emulators and other applications.
|
||||
|
||||
Screenshots
|
||||
-----------
|
||||
|
||||
![solarized dark](https://github.com/sgerrand/xfce4-terminal-colors-solarized/raw/master/img/solarized-xfce4-terminal.png)
|
||||
|
||||
Downloads
|
||||
---------
|
||||
|
||||
If you have come across this colorscheme via the [Vim-only repository] on github, or the [vim.org script] page see the link above to the Solarized homepage or visit the main [Solarized repository].
|
||||
|
||||
The [Xfce4-Terminal-only repository] is kept in sync with the main [Solarized repository] and is for installation convenience only, for instance). Issues, bug reports, changelogs are centralized at the main [Solarized repository].
|
||||
|
||||
[Solarized homepage]: http://ethanschoonover.com/solarized
|
||||
[Solarized repository]: https://github.com/altercation/solarized
|
||||
[Xfce4-Terminal-only repository]: https://github.com/sgerrand/xfce4-terminal-colors-solarized
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Move `terminalrc` to your `~/.config/Terminal/` directory. The dark or the light themes are available. To
|
||||
install the dark version please do the following:
|
||||
|
||||
$ cd xfce4-terminal-colors-solarized
|
||||
$ cp dark/terminalrc ~/.config/Terminal/terminalrc
|
||||
|
||||
To install the light version go with:
|
||||
|
||||
$ cd xfce4-terminal-colors-solarized
|
||||
$ cp light/terminalrc ~/.config/Terminal/terminalrc
|
||||
|
21
xfce4-terminal/dark/terminalrc
Normal file
21
xfce4-terminal/dark/terminalrc
Normal file
|
@ -0,0 +1,21 @@
|
|||
[Configuration]
|
||||
ColorCursor=#0f0f49499999
|
||||
ColorForeground=#838394949696
|
||||
ColorBackground=#00002b2b3636
|
||||
ColorPalette1=#070736364242
|
||||
ColorPalette2=#dcdc32322f2f
|
||||
ColorPalette3=#858599990000
|
||||
ColorPalette4=#b5b589890000
|
||||
ColorPalette5=#26268b8bd2d2
|
||||
ColorPalette6=#d3d336368282
|
||||
ColorPalette7=#2a2aa1a19898
|
||||
ColorPalette8=#eeeee8e8d5d5
|
||||
ColorPalette9=#00002b2b3636
|
||||
ColorPalette10=#cbcb4b4b1616
|
||||
ColorPalette11=#58586e6e7575
|
||||
ColorPalette12=#65657b7b8383
|
||||
ColorPalette13=#838394949696
|
||||
ColorPalette14=#6c6c7171c4c4
|
||||
ColorPalette15=#9393a1a1a1a1
|
||||
ColorPalette16=#fdfdf6f6e3e3
|
||||
Term=xterm-color
|
BIN
xfce4-terminal/img/solarized-xfce4-terminal.png
Normal file
BIN
xfce4-terminal/img/solarized-xfce4-terminal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 130 KiB |
20
xfce4-terminal/light/terminalrc
Normal file
20
xfce4-terminal/light/terminalrc
Normal file
|
@ -0,0 +1,20 @@
|
|||
[Configuration]
|
||||
ColorCursor=#9393a1a1a1a1
|
||||
ColorForeground=#00002B2B3636
|
||||
ColorBackground=#fdfdf6f6e3e3
|
||||
ColorPalette1=#070736364242
|
||||
ColorPalette2=#dcdc32322f2f
|
||||
ColorPalette3=#858599990000
|
||||
ColorPalette4=#b5b589890000
|
||||
ColorPalette5=#26268ae0d2d2
|
||||
ColorPalette6=#d3d336368282
|
||||
ColorPalette7=#2a2aa1a19898
|
||||
ColorPalette8=#eeeee8e8d5d5
|
||||
ColorPalette9=#00002b2b3636
|
||||
ColorPalette10=#cbcb4b4b1616
|
||||
ColorPalette11=#65657bfb8383
|
||||
ColorPalette12=#58586e6e7575
|
||||
ColorPalette13=#9393a1a1a1a1
|
||||
ColorPalette14=#6c6c7171c4c4
|
||||
ColorPalette15=#838394949696
|
||||
ColorPalette16=#fdfdf6f6e3e3
|
|
@ -1,77 +0,0 @@
|
|||
!! drop in Solarized colorscheme for Xresources/Xdefaults
|
||||
|
||||
!!SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B RGB HSB
|
||||
!!--------- ------- ---- ------- ----------- ---------- ----------- -----------
|
||||
!!base03 #002b36 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
|
||||
|
||||
#define S_base03 #002b36
|
||||
#define S_base02 #073642
|
||||
#define S_base01 #586e75
|
||||
#define S_base00 #657b83
|
||||
#define S_base0 #839496
|
||||
#define S_base1 #93a1a1
|
||||
#define S_base2 #eee8d5
|
||||
#define S_base3 #fdf6e3
|
||||
#define S_yellow #b58900
|
||||
#define S_orange #cb4b16
|
||||
#define S_red #dc322f
|
||||
#define S_magenta #d33682
|
||||
#define S_violet #6c71c4
|
||||
#define S_blue #268bd2
|
||||
#define S_cyan #2aa198
|
||||
#define S_green #859900
|
||||
|
||||
*background: S_base03
|
||||
*foreground: S_base00
|
||||
*fading: 40
|
||||
*fadeColor: S_base03
|
||||
*cursorColor: S_base1
|
||||
*pointerColorBackground:S_base01
|
||||
*pointerColorForeground:S_base1
|
||||
|
||||
!! black dark/light
|
||||
*color0: S_base02
|
||||
*color8: S_base03
|
||||
|
||||
!! red dark/light
|
||||
*color1: S_red
|
||||
*color9: S_orange
|
||||
|
||||
!! green dark/light
|
||||
*color2: S_green
|
||||
*color10: S_base01
|
||||
|
||||
!! yellow dark/light
|
||||
*color3: S_yellow
|
||||
*color11: S_base00
|
||||
|
||||
!! blue dark/light
|
||||
*color4: S_blue
|
||||
*color12: S_base0
|
||||
|
||||
!! magenta dark/light
|
||||
*color5: S_magenta
|
||||
*color13: S_violet
|
||||
|
||||
!! cyan dark/light
|
||||
*color6: S_cyan
|
||||
*color14: S_base1
|
||||
|
||||
!! white dark/light
|
||||
*color7: S_base2
|
||||
*color15: S_base3
|
20
xresources/LICENSE
Normal file
20
xresources/LICENSE
Normal file
|
@ -0,0 +1,20 @@
|
|||
Copyright (c) 2011 Ethan Schoonover
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
21
xresources/README.md
Normal file
21
xresources/README.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
Solarized
|
||||
=========
|
||||
## Precision colors for machines and people
|
||||
|
||||
Project Home: http://ethanschoonover.com/solarized
|
||||
|
||||
Collection of implementations: http://github.com/solarized
|
||||
|
||||
Deprecated collection: http://github.com/altercation/solarized
|
||||
|
||||
Xresources Color Scheme
|
||||
-----------------------
|
||||
|
||||
http://github.com/solarized/xresources
|
||||
|
||||
Use of color schemes with X Windows is heavily dependent upon one's local
|
||||
configuration. Please see the fine [Arch Linux wiki](https://wiki.archlinux.org/index.php/Xresources) for guidance on the use of .Xresources and related files.
|
||||
|
||||
Further information on the .Xresources file and its place in the X Window
|
||||
System can of course be found on [Wikipedia](http://en.wikipedia.org/wiki/X_resources).
|
||||
|
71
xresources/solarized
Normal file
71
xresources/solarized
Normal file
|
@ -0,0 +1,71 @@
|
|||
! Solarized color scheme for the X Window System
|
||||
!
|
||||
! http://ethanschoonover.com/solarized
|
||||
|
||||
|
||||
! Common
|
||||
|
||||
#define S_yellow #b58900
|
||||
#define S_orange #cb4b16
|
||||
#define S_red #dc322f
|
||||
#define S_magenta #d33682
|
||||
#define S_violet #6c71c4
|
||||
#define S_blue #268bd2
|
||||
#define S_cyan #2aa198
|
||||
#define S_green #859900
|
||||
|
||||
|
||||
! Dark
|
||||
|
||||
#define S_base03 #002b36
|
||||
#define S_base02 #073642
|
||||
#define S_base01 #586e75
|
||||
#define S_base00 #657b83
|
||||
#define S_base0 #839496
|
||||
#define S_base1 #93a1a1
|
||||
#define S_base2 #eee8d5
|
||||
#define S_base3 #fdf6e3
|
||||
|
||||
|
||||
! Light
|
||||
|
||||
! #define S_base03 #fdf6e3
|
||||
! #define S_base02 #eee8d5
|
||||
! #define S_base01 #93a1a1
|
||||
! #define S_base00 #839496
|
||||
! #define S_base0 #657b83
|
||||
! #define S_base1 #586e75
|
||||
! #define S_base2 #073642
|
||||
! #define S_base3 #002b36
|
||||
|
||||
|
||||
! To only apply colors to your terminal, for example, prefix
|
||||
! the color assignment statement with its name. Example:
|
||||
!
|
||||
! URxvt*background: S_base03
|
||||
|
||||
*background: S_base03
|
||||
*foreground: S_base0
|
||||
*fading: 40
|
||||
*fadeColor: S_base03
|
||||
*cursorColor: S_base1
|
||||
*pointerColorBackground: S_base01
|
||||
*pointerColorForeground: S_base1
|
||||
|
||||
*color0: S_base02
|
||||
*color1: S_red
|
||||
*color2: S_green
|
||||
*color3: S_yellow
|
||||
*color4: S_blue
|
||||
*color5: S_magenta
|
||||
*color6: S_cyan
|
||||
*color7: S_base2
|
||||
*color9: S_orange
|
||||
*color8: S_base03
|
||||
*color10: S_base01
|
||||
*color11: S_base00
|
||||
*color12: S_base0
|
||||
*color13: S_violet
|
||||
*color14: S_base1
|
||||
*color15: S_base3
|
||||
|
Loading…
Reference in a new issue