backup: 2025-04-08
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 86c578469e2bf784faf6f916883bf48349ff4f6d
|
|
@ -0,0 +1,6 @@
|
||||||
|
[submodule "scripts/z.lua"]
|
||||||
|
path = scripts/z.lua
|
||||||
|
url = https://github.com/skywind3000/z.lua.git
|
||||||
|
[submodule ".config/alacritty/themes"]
|
||||||
|
path = .config/alacritty/themes
|
||||||
|
url = https://github.com/alacritty/alacritty-theme.git
|
|
@ -0,0 +1,70 @@
|
||||||
|
brew "autossh"
|
||||||
|
brew "fish"
|
||||||
|
brew "fzf"
|
||||||
|
brew "go"
|
||||||
|
brew "htop"
|
||||||
|
brew "lua"
|
||||||
|
brew "mackup"
|
||||||
|
brew "mas"
|
||||||
|
brew "neofetch"
|
||||||
|
brew "neovim"
|
||||||
|
brew "node"
|
||||||
|
brew "ocrmypdf"
|
||||||
|
brew "pnpm"
|
||||||
|
brew "repo"
|
||||||
|
brew "rust"
|
||||||
|
brew "stow"
|
||||||
|
brew "stylua"
|
||||||
|
brew "tmux"
|
||||||
|
brew "trash"
|
||||||
|
brew "tree"
|
||||||
|
brew "wget"
|
||||||
|
cask "agent-tars"
|
||||||
|
cask "alacritty"
|
||||||
|
cask "bettertouchtool"
|
||||||
|
cask "capacities"
|
||||||
|
cask "cherry-studio"
|
||||||
|
cask "clash-verge-rev"
|
||||||
|
cask "coteditor"
|
||||||
|
cask "cursor"
|
||||||
|
cask "dockdoor"
|
||||||
|
cask "flutter"
|
||||||
|
cask "font-jetbrains-mono"
|
||||||
|
cask "font-jetbrains-mono-nerd-font"
|
||||||
|
cask "font-maple-mono-nf-cn"
|
||||||
|
cask "ghostty"
|
||||||
|
cask "hammerspoon"
|
||||||
|
cask "kando"
|
||||||
|
cask "keka"
|
||||||
|
cask "kitty"
|
||||||
|
cask "lm-studio"
|
||||||
|
cask "lookaway"
|
||||||
|
cask "lunarbar"
|
||||||
|
cask "maccy"
|
||||||
|
cask "miniconda"
|
||||||
|
cask "obsidian"
|
||||||
|
cask "only-switch"
|
||||||
|
cask "orbstack"
|
||||||
|
cask "picgo"
|
||||||
|
cask "snipaste"
|
||||||
|
cask "spacelauncher"
|
||||||
|
cask "tailscale"
|
||||||
|
cask "thor"
|
||||||
|
cask "trae"
|
||||||
|
cask "trae-cn"
|
||||||
|
cask "visual-studio-code"
|
||||||
|
cask "warp"
|
||||||
|
cask "wezterm"
|
||||||
|
vscode "github.copilot"
|
||||||
|
vscode "github.copilot-chat"
|
||||||
|
vscode "kevinrose.vsc-python-indent"
|
||||||
|
vscode "ms-azuretools.vscode-docker"
|
||||||
|
vscode "ms-python.debugpy"
|
||||||
|
vscode "ms-python.python"
|
||||||
|
vscode "ms-python.vscode-pylance"
|
||||||
|
vscode "ms-vscode-remote.remote-containers"
|
||||||
|
vscode "ms-vscode-remote.remote-ssh"
|
||||||
|
vscode "ms-vscode-remote.remote-ssh-edit"
|
||||||
|
vscode "ms-vscode.remote-explorer"
|
||||||
|
vscode "parallelsdesktop.parallels-desktop"
|
||||||
|
vscode "subframe7536.theme-maple"
|
|
@ -0,0 +1,106 @@
|
||||||
|
# vim:ft=ruby
|
||||||
|
tap "aws/tap"
|
||||||
|
tap "clementtsang/bottom"
|
||||||
|
tap "federico-terzi/espanso"
|
||||||
|
tap "homebrew/bundle"
|
||||||
|
tap "homebrew/cask"
|
||||||
|
tap "homebrew/core"
|
||||||
|
tap "homebrew/services"
|
||||||
|
tap "jesseduffield/lazygit"
|
||||||
|
tap "khanhas/tap"
|
||||||
|
tap "koekeishiya/formulae"
|
||||||
|
tap "lucassabreu/tap"
|
||||||
|
tap "stripe/stripe-cli"
|
||||||
|
tap "xorpse/formulae"
|
||||||
|
tap "xwmx/taps"
|
||||||
|
brew "amazon-ecs-cli"
|
||||||
|
brew "python@3.9"
|
||||||
|
brew "awscli"
|
||||||
|
brew "bat"
|
||||||
|
brew "glib"
|
||||||
|
brew "pkg-config"
|
||||||
|
brew "dash"
|
||||||
|
brew "exa"
|
||||||
|
brew "fd"
|
||||||
|
brew "fish"
|
||||||
|
brew "fzf"
|
||||||
|
brew "gh"
|
||||||
|
brew "git"
|
||||||
|
brew "git-delta"
|
||||||
|
brew "libusb"
|
||||||
|
brew "gnupg"
|
||||||
|
brew "go"
|
||||||
|
brew "hasura-cli"
|
||||||
|
brew "hyperfine"
|
||||||
|
brew "jq"
|
||||||
|
brew "lazydocker"
|
||||||
|
brew "lf"
|
||||||
|
brew "lsd"
|
||||||
|
brew "luajit", args: ["HEAD"]
|
||||||
|
brew "mackup"
|
||||||
|
brew "mosh"
|
||||||
|
brew "ncdu"
|
||||||
|
brew "neofetch"
|
||||||
|
brew "neovim", args: ["HEAD"]
|
||||||
|
brew "node"
|
||||||
|
brew "node@14"
|
||||||
|
brew "nvm"
|
||||||
|
brew "tmux"
|
||||||
|
brew "overmind"
|
||||||
|
brew "pgcli"
|
||||||
|
brew "postgresql"
|
||||||
|
brew "ripgrep"
|
||||||
|
brew "spotify-tui"
|
||||||
|
brew "starship"
|
||||||
|
brew "switchaudio-osx"
|
||||||
|
brew "tealdeer"
|
||||||
|
brew "terminal-notifier"
|
||||||
|
brew "trash-cli"
|
||||||
|
brew "wallpaper"
|
||||||
|
brew "wget"
|
||||||
|
brew "yarn"
|
||||||
|
brew "zlib"
|
||||||
|
brew "zoxide"
|
||||||
|
brew "aws/tap/aws-sam-cli"
|
||||||
|
brew "clementtsang/bottom/bottom"
|
||||||
|
brew "federico-terzi/espanso/espanso"
|
||||||
|
brew "jesseduffield/lazygit/lazygit"
|
||||||
|
brew "koekeishiya/formulae/skhd"
|
||||||
|
brew "stripe/stripe-cli/stripe"
|
||||||
|
brew "xorpse/formulae/yabai", args: ["HEAD"]
|
||||||
|
brew "tree"
|
||||||
|
brew "repo"
|
||||||
|
cask "1password"
|
||||||
|
cask "alacritty"
|
||||||
|
cask "alfred"
|
||||||
|
cask "appcleaner"
|
||||||
|
cask "balenaetcher"
|
||||||
|
cask "daisydisk"
|
||||||
|
cask "discord"
|
||||||
|
cask "evernote"
|
||||||
|
cask "fantastical"
|
||||||
|
cask "figma"
|
||||||
|
cask "ganache"
|
||||||
|
cask "home-assistant"
|
||||||
|
cask "hyper"
|
||||||
|
cask "imageoptim"
|
||||||
|
cask "ipfs"
|
||||||
|
cask "keycastr"
|
||||||
|
cask "obs"
|
||||||
|
cask "obsidian"
|
||||||
|
cask "plover"
|
||||||
|
cask "postgres"
|
||||||
|
cask "postman"
|
||||||
|
cask "raycast"
|
||||||
|
cask "rocket"
|
||||||
|
cask "sequel-pro"
|
||||||
|
cask "signal"
|
||||||
|
cask "skitch"
|
||||||
|
cask "slack"
|
||||||
|
cask "spacelauncher"
|
||||||
|
cask "spotify"
|
||||||
|
cask "twitch"
|
||||||
|
cask "visual-studio-code"
|
||||||
|
cask "vivaldi"
|
||||||
|
cask "whatsapp"
|
||||||
|
cask "capacities"
|
|
@ -1,2 +1,2 @@
|
||||||
git clone https://git.marsway.red/liwei/shellconfig.git ~/.vvconfig
|
git clone https://git.marsway.red/liwei/shellconfig.git ~/.vvconfig --recurisve
|
||||||
echo "source ~/.vvconfig/zshrc" >> ~/.zshrc
|
source ~/.vvconfig/init.sh
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
SHELL=/bin/bash
|
||||||
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||||
|
|
||||||
|
0 1 * * * bash /Users/$USER/.vvconfig/scripts/backup_forgejo.sh
|
|
@ -0,0 +1 @@
|
||||||
|
40 15 * * * "mackup backup"
|
|
@ -0,0 +1,15 @@
|
||||||
|
export all_proxy=localhost:7897
|
||||||
|
# 安装 oh-my-fish
|
||||||
|
curl -L https://get.oh-my.fish | fish
|
||||||
|
# 保存全局路径
|
||||||
|
#set -Ux
|
||||||
|
## 使 fish 能读取 brew
|
||||||
|
if ! contains -- /opt/homebrew/bin $fish_user_paths
|
||||||
|
fish_add_path /opt/homebrew/bin
|
||||||
|
end
|
||||||
|
# 快速跳转工具z
|
||||||
|
omf install z
|
||||||
|
# 主题
|
||||||
|
omf install pure
|
||||||
|
# 兼容 bash 命令
|
||||||
|
omf install bass
|
|
@ -0,0 +1,27 @@
|
||||||
|
set -x
|
||||||
|
if ! command -v fish &>/dev/null; then
|
||||||
|
echo "Installing fish..."
|
||||||
|
brew install fish
|
||||||
|
echo "/opt/homebrew/bin/fish" | sudo tee -a /etc/shell
|
||||||
|
chsh -s /opt/homebrew/bin/fish
|
||||||
|
fi
|
||||||
|
# Install cronmonitor
|
||||||
|
if ! command -v cronitor &>/dev/null; then
|
||||||
|
echo "Installing cronitor..."
|
||||||
|
curl https://cronitor.io/install-linux?sudo=1 -H "API-KEY: 66888414133740d8b3f0d1325e61484e" | sh
|
||||||
|
cronitor discover
|
||||||
|
fi
|
||||||
|
|
||||||
|
# For shell configs
|
||||||
|
if ! command -v starship &>/dev/null; then
|
||||||
|
echo "Installing starship..."
|
||||||
|
brew install starship
|
||||||
|
echo eval "$(starship init zsh)" >>~/.zshrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Tmux
|
||||||
|
if ! command -v tmux &>/dev/null; then
|
||||||
|
echo "Installing tmux..."
|
||||||
|
brew install tmux
|
||||||
|
fi
|
||||||
|
brew install stow
|
|
@ -0,0 +1,8 @@
|
||||||
|
mas install 1295203466 # Windows
|
||||||
|
mas install 497799835 # Xcode
|
||||||
|
mas install 1444383602 # Goodnotes
|
||||||
|
mas install 640199958 # Developer
|
||||||
|
mas install 899247664 # TestFlight
|
||||||
|
mas install 1473785373 # 钱迹
|
||||||
|
mas install 1665341561 # Flomo
|
||||||
|
mas install 571213070 # Davinci Resolve
|
|
@ -0,0 +1,28 @@
|
||||||
|
set t_Co=256
|
||||||
|
set laststatus=2
|
||||||
|
" let g:airline_theme='default'
|
||||||
|
|
||||||
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
let g:airline#extensions#tabline#right_sep= '▎'
|
||||||
|
let g:airline#extensions#tabline#left_sep = '▎'
|
||||||
|
let g:airline#extensions#tabline#left_alt_sep = '▎'
|
||||||
|
let g:airline#extensions#tabline#right_alt_sep= '▎'
|
||||||
|
" let g:airline#extensions#tabline#formatter = 'default'
|
||||||
|
|
||||||
|
let g:airline_stl_path_style = 'short'
|
||||||
|
|
||||||
|
if !exists('g:airline_symbols')
|
||||||
|
let g:airline_symbols = {}
|
||||||
|
endif
|
||||||
|
let g:airline_symbols.branch = '⚡'
|
||||||
|
let g:airline_symbols.readonly = '⚡'
|
||||||
|
let g:airline_symbols.linenr = '⚡'
|
||||||
|
let g:airline_symbols.maxlinenr = '⚡'
|
||||||
|
let g:airline_symbols.dirty= '⚡'
|
||||||
|
|
||||||
|
let g:airline_left_sep = '▶'
|
||||||
|
let g:airline_left_alt_sep = '❯'
|
||||||
|
let g:airline_right_sep = '◀'
|
||||||
|
let g:airline_right_alt_sep = '❮'
|
||||||
|
let g:airline_symbols.linenr = '¶'
|
||||||
|
let g:airline_symbols.branch = '⎇'
|
|
@ -0,0 +1,276 @@
|
||||||
|
" Vim color file
|
||||||
|
"
|
||||||
|
" Author: Tomas Restrepo <tomas@winterdom.com>
|
||||||
|
" https://github.com/tomasr/molokai
|
||||||
|
"
|
||||||
|
" Note: Based on the Monokai theme for TextMate
|
||||||
|
" by Wimer Hazenberg and its darker variant
|
||||||
|
" by Hamish Stuart Macpherson
|
||||||
|
"
|
||||||
|
|
||||||
|
hi clear
|
||||||
|
|
||||||
|
if version > 580
|
||||||
|
" no guarantees for version 5.8 and below, but this makes it stop
|
||||||
|
" complaining
|
||||||
|
hi clear
|
||||||
|
if exists("syntax_on")
|
||||||
|
syntax reset
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
let g:colors_name="molokai"
|
||||||
|
|
||||||
|
if exists("g:molokai_original")
|
||||||
|
let s:molokai_original = g:molokai_original
|
||||||
|
else
|
||||||
|
let s:molokai_original = 0
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
hi Boolean guifg=#AE81FF
|
||||||
|
hi Character guifg=#E6DB74
|
||||||
|
hi Number guifg=#AE81FF
|
||||||
|
hi String guifg=#E6DB74
|
||||||
|
hi Conditional guifg=#F92672 gui=bold
|
||||||
|
hi Constant guifg=#AE81FF gui=bold
|
||||||
|
hi Cursor guifg=#000000 guibg=#F8F8F0
|
||||||
|
hi iCursor guifg=#000000 guibg=#F8F8F0
|
||||||
|
hi Debug guifg=#BCA3A3 gui=bold
|
||||||
|
hi Define guifg=#66D9EF
|
||||||
|
hi Delimiter guifg=#8F8F8F
|
||||||
|
hi DiffAdd guibg=#13354A
|
||||||
|
hi DiffChange guifg=#89807D guibg=#4C4745
|
||||||
|
hi DiffDelete guifg=#960050 guibg=#1E0010
|
||||||
|
hi DiffText guibg=#4C4745 gui=italic,bold
|
||||||
|
|
||||||
|
hi Directory guifg=#A6E22E gui=bold
|
||||||
|
hi Error guifg=#E6DB74 guibg=#1E0010
|
||||||
|
hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold
|
||||||
|
hi Exception guifg=#A6E22E gui=bold
|
||||||
|
hi Float guifg=#AE81FF
|
||||||
|
hi FoldColumn guifg=#465457 guibg=#000000
|
||||||
|
hi Folded guifg=#465457 guibg=#000000
|
||||||
|
hi Function guifg=#A6E22E
|
||||||
|
hi Identifier guifg=#FD971F
|
||||||
|
hi Ignore guifg=#808080 guibg=bg
|
||||||
|
hi IncSearch guifg=#C4BE89 guibg=#000000
|
||||||
|
|
||||||
|
hi Keyword guifg=#F92672 gui=bold
|
||||||
|
hi Label guifg=#E6DB74 gui=none
|
||||||
|
hi Macro guifg=#C4BE89 gui=italic
|
||||||
|
hi SpecialKey guifg=#66D9EF gui=italic
|
||||||
|
|
||||||
|
hi MatchParen guifg=#000000 guibg=#FD971F gui=bold
|
||||||
|
hi ModeMsg guifg=#E6DB74
|
||||||
|
hi MoreMsg guifg=#E6DB74
|
||||||
|
hi Operator guifg=#F92672
|
||||||
|
|
||||||
|
" complete menu
|
||||||
|
hi Pmenu guifg=#66D9EF guibg=#000000
|
||||||
|
hi PmenuSel guibg=#808080
|
||||||
|
hi PmenuSbar guibg=#080808
|
||||||
|
hi PmenuThumb guifg=#66D9EF
|
||||||
|
|
||||||
|
hi PreCondit guifg=#A6E22E gui=bold
|
||||||
|
hi PreProc guifg=#A6E22E
|
||||||
|
hi Question guifg=#66D9EF
|
||||||
|
hi Repeat guifg=#F92672 gui=bold
|
||||||
|
hi Search guifg=#000000 guibg=#FFE792
|
||||||
|
" marks
|
||||||
|
hi SignColumn guifg=#A6E22E guibg=#232526
|
||||||
|
hi SpecialChar guifg=#F92672 gui=bold
|
||||||
|
hi SpecialComment guifg=#7E8E91 gui=bold
|
||||||
|
hi Special guifg=#66D9EF guibg=bg gui=italic
|
||||||
|
if has("spell")
|
||||||
|
hi SpellBad guisp=#FF0000 gui=undercurl
|
||||||
|
hi SpellCap guisp=#7070F0 gui=undercurl
|
||||||
|
hi SpellLocal guisp=#70F0F0 gui=undercurl
|
||||||
|
hi SpellRare guisp=#FFFFFF gui=undercurl
|
||||||
|
endif
|
||||||
|
hi Statement guifg=#F92672 gui=bold
|
||||||
|
hi StatusLine guifg=#455354 guibg=fg
|
||||||
|
hi StatusLineNC guifg=#808080 guibg=#080808
|
||||||
|
hi StorageClass guifg=#FD971F gui=italic
|
||||||
|
hi Structure guifg=#66D9EF
|
||||||
|
hi Tag guifg=#F92672 gui=italic
|
||||||
|
hi Title guifg=#ef5939
|
||||||
|
hi Todo guifg=#FFFFFF guibg=bg gui=bold
|
||||||
|
|
||||||
|
hi Typedef guifg=#66D9EF
|
||||||
|
hi Type guifg=#66D9EF gui=none
|
||||||
|
hi Underlined guifg=#808080 gui=underline
|
||||||
|
|
||||||
|
hi VertSplit guifg=#808080 guibg=#080808 gui=bold
|
||||||
|
hi VisualNOS guibg=#403D3D
|
||||||
|
hi Visual guibg=#403D3D
|
||||||
|
hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
|
||||||
|
hi WildMenu guifg=#66D9EF guibg=#000000
|
||||||
|
|
||||||
|
hi TabLineFill guifg=#1B1D1E guibg=#1B1D1E
|
||||||
|
hi TabLine guibg=#1B1D1E guifg=#808080 gui=none
|
||||||
|
|
||||||
|
if s:molokai_original == 1
|
||||||
|
hi Normal guifg=#F8F8F2 guibg=#272822
|
||||||
|
hi Comment guifg=#75715E
|
||||||
|
hi CursorLine guibg=#3E3D32
|
||||||
|
hi CursorLineNr guifg=#FD971F gui=none
|
||||||
|
hi CursorColumn guibg=#3E3D32
|
||||||
|
hi ColorColumn guibg=#3B3A32
|
||||||
|
hi LineNr guifg=#BCBCBC guibg=#3B3A32
|
||||||
|
hi NonText guifg=#75715E
|
||||||
|
hi SpecialKey guifg=#75715E
|
||||||
|
else
|
||||||
|
hi Normal guifg=#F8F8F2 guibg=#1B1D1E
|
||||||
|
hi Comment guifg=#7E8E91
|
||||||
|
hi CursorLine guibg=#293739
|
||||||
|
hi CursorLineNr guifg=#FD971F gui=none
|
||||||
|
hi CursorColumn guibg=#293739
|
||||||
|
hi ColorColumn guibg=#232526
|
||||||
|
hi LineNr guifg=#465457 guibg=#232526
|
||||||
|
hi NonText guifg=#465457
|
||||||
|
hi SpecialKey guifg=#465457
|
||||||
|
end
|
||||||
|
|
||||||
|
"
|
||||||
|
" Support for 256-color terminal
|
||||||
|
"
|
||||||
|
if &t_Co > 255
|
||||||
|
if s:molokai_original == 1
|
||||||
|
hi Normal ctermbg=234
|
||||||
|
hi CursorLine ctermbg=235 cterm=none
|
||||||
|
hi CursorLineNr ctermfg=208 cterm=none
|
||||||
|
else
|
||||||
|
hi Normal ctermfg=252 ctermbg=233
|
||||||
|
hi CursorLine ctermbg=234 cterm=none
|
||||||
|
hi CursorLineNr ctermfg=208 cterm=none
|
||||||
|
endif
|
||||||
|
hi Boolean ctermfg=135
|
||||||
|
hi Character ctermfg=144
|
||||||
|
hi Number ctermfg=135
|
||||||
|
hi String ctermfg=144
|
||||||
|
hi Conditional ctermfg=161 cterm=bold
|
||||||
|
hi Constant ctermfg=135 cterm=bold
|
||||||
|
hi Cursor ctermfg=16 ctermbg=253
|
||||||
|
hi Debug ctermfg=225 cterm=bold
|
||||||
|
hi Define ctermfg=81
|
||||||
|
hi Delimiter ctermfg=241
|
||||||
|
|
||||||
|
hi DiffAdd ctermbg=24
|
||||||
|
hi DiffChange ctermfg=181 ctermbg=239
|
||||||
|
hi DiffDelete ctermfg=162 ctermbg=53
|
||||||
|
hi DiffText ctermbg=102 cterm=bold
|
||||||
|
|
||||||
|
hi Directory ctermfg=118 cterm=bold
|
||||||
|
hi Error ctermfg=219 ctermbg=89
|
||||||
|
hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold
|
||||||
|
hi Exception ctermfg=118 cterm=bold
|
||||||
|
hi Float ctermfg=135
|
||||||
|
hi FoldColumn ctermfg=67 ctermbg=16
|
||||||
|
hi Folded ctermfg=67 ctermbg=16
|
||||||
|
hi Function ctermfg=118
|
||||||
|
hi Identifier ctermfg=208 cterm=none
|
||||||
|
hi Ignore ctermfg=244 ctermbg=232
|
||||||
|
hi IncSearch ctermfg=193 ctermbg=16
|
||||||
|
|
||||||
|
hi keyword ctermfg=161 cterm=bold
|
||||||
|
hi Label ctermfg=229 cterm=none
|
||||||
|
hi Macro ctermfg=193
|
||||||
|
hi SpecialKey ctermfg=81
|
||||||
|
|
||||||
|
hi MatchParen ctermfg=233 ctermbg=208 cterm=bold
|
||||||
|
hi ModeMsg ctermfg=229
|
||||||
|
hi MoreMsg ctermfg=229
|
||||||
|
hi Operator ctermfg=161
|
||||||
|
|
||||||
|
" complete menu
|
||||||
|
hi Pmenu ctermfg=81 ctermbg=16
|
||||||
|
hi PmenuSel ctermfg=255 ctermbg=242
|
||||||
|
hi PmenuSbar ctermbg=232
|
||||||
|
hi PmenuThumb ctermfg=81
|
||||||
|
|
||||||
|
hi PreCondit ctermfg=118 cterm=bold
|
||||||
|
hi PreProc ctermfg=118
|
||||||
|
hi Question ctermfg=81
|
||||||
|
hi Repeat ctermfg=161 cterm=bold
|
||||||
|
hi Search ctermfg=0 ctermbg=222 cterm=NONE
|
||||||
|
|
||||||
|
" marks column
|
||||||
|
hi SignColumn ctermfg=118 ctermbg=235
|
||||||
|
hi SpecialChar ctermfg=161 cterm=bold
|
||||||
|
hi SpecialComment ctermfg=245 cterm=bold
|
||||||
|
hi Special ctermfg=81
|
||||||
|
if has("spell")
|
||||||
|
hi SpellBad ctermbg=52
|
||||||
|
hi SpellCap ctermbg=17
|
||||||
|
hi SpellLocal ctermbg=17
|
||||||
|
hi SpellRare ctermfg=none ctermbg=none cterm=reverse
|
||||||
|
endif
|
||||||
|
hi Statement ctermfg=161 cterm=bold
|
||||||
|
hi StatusLine ctermfg=238 ctermbg=253
|
||||||
|
hi StatusLineNC ctermfg=244 ctermbg=232
|
||||||
|
hi StorageClass ctermfg=208
|
||||||
|
hi Structure ctermfg=81
|
||||||
|
hi Tag ctermfg=161
|
||||||
|
hi Title ctermfg=166
|
||||||
|
hi Todo ctermfg=231 ctermbg=232 cterm=bold
|
||||||
|
|
||||||
|
hi Typedef ctermfg=81
|
||||||
|
hi Type ctermfg=81 cterm=none
|
||||||
|
hi Underlined ctermfg=244 cterm=underline
|
||||||
|
|
||||||
|
hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
|
||||||
|
hi VisualNOS ctermbg=238
|
||||||
|
hi Visual ctermbg=235
|
||||||
|
hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
|
||||||
|
hi WildMenu ctermfg=81 ctermbg=16
|
||||||
|
|
||||||
|
hi Comment ctermfg=59
|
||||||
|
hi CursorColumn ctermbg=236
|
||||||
|
hi ColorColumn ctermbg=236
|
||||||
|
hi LineNr ctermfg=250 ctermbg=236
|
||||||
|
hi NonText ctermfg=59
|
||||||
|
|
||||||
|
hi SpecialKey ctermfg=59
|
||||||
|
|
||||||
|
if exists("g:rehash256") && g:rehash256 == 1
|
||||||
|
hi Normal ctermfg=252 ctermbg=234
|
||||||
|
hi CursorLine ctermbg=236 cterm=none
|
||||||
|
hi CursorLineNr ctermfg=208 cterm=none
|
||||||
|
|
||||||
|
hi Boolean ctermfg=141
|
||||||
|
hi Character ctermfg=222
|
||||||
|
hi Number ctermfg=141
|
||||||
|
hi String ctermfg=222
|
||||||
|
hi Conditional ctermfg=197 cterm=bold
|
||||||
|
hi Constant ctermfg=141 cterm=bold
|
||||||
|
|
||||||
|
hi DiffDelete ctermfg=125 ctermbg=233
|
||||||
|
|
||||||
|
hi Directory ctermfg=154 cterm=bold
|
||||||
|
hi Error ctermfg=222 ctermbg=233
|
||||||
|
hi Exception ctermfg=154 cterm=bold
|
||||||
|
hi Float ctermfg=141
|
||||||
|
hi Function ctermfg=154
|
||||||
|
hi Identifier ctermfg=208
|
||||||
|
|
||||||
|
hi Keyword ctermfg=197 cterm=bold
|
||||||
|
hi Operator ctermfg=197
|
||||||
|
hi PreCondit ctermfg=154 cterm=bold
|
||||||
|
hi PreProc ctermfg=154
|
||||||
|
hi Repeat ctermfg=197 cterm=bold
|
||||||
|
|
||||||
|
hi Statement ctermfg=197 cterm=bold
|
||||||
|
hi Tag ctermfg=197
|
||||||
|
hi Title ctermfg=203
|
||||||
|
hi Visual ctermbg=238
|
||||||
|
|
||||||
|
hi Comment ctermfg=244
|
||||||
|
hi LineNr ctermfg=239 ctermbg=235
|
||||||
|
hi NonText ctermfg=239
|
||||||
|
hi SpecialKey ctermfg=239
|
||||||
|
endif
|
||||||
|
end
|
||||||
|
|
||||||
|
" Must be at the end, because of ctermbg=234 bug.
|
||||||
|
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
|
||||||
|
set background=dark
|
|
@ -0,0 +1,5 @@
|
||||||
|
let g:onedark_config = {
|
||||||
|
\ 'style': 'deep',
|
||||||
|
\ 'TSKeyword': {'fg': '$green'},
|
||||||
|
\ }
|
||||||
|
colorscheme onedark
|
|
@ -0,0 +1,224 @@
|
||||||
|
" ==============================================================================
|
||||||
|
" Name: One Half Dark
|
||||||
|
" Author: Son A. Pham <sp@sonpham.me>
|
||||||
|
" Url: https://github.com/sonph/onehalf
|
||||||
|
" License: The MIT License (MIT)
|
||||||
|
"
|
||||||
|
" A dark vim color scheme based on Atom's One. See github.com/sonph/onehalf
|
||||||
|
" for installation instructions, a light color scheme, versions for other
|
||||||
|
" editors/terminals, and a matching theme for vim-airline.
|
||||||
|
" ==============================================================================
|
||||||
|
|
||||||
|
set background=dark
|
||||||
|
highlight clear
|
||||||
|
syntax reset
|
||||||
|
|
||||||
|
let g:colors_name="onehalfdark"
|
||||||
|
let colors_name="onehalfdark"
|
||||||
|
|
||||||
|
|
||||||
|
let s:black = { "gui": "#282c34", "cterm": "236" }
|
||||||
|
let s:red = { "gui": "#e06c75", "cterm": "168" }
|
||||||
|
let s:green = { "gui": "#98c379", "cterm": "114" }
|
||||||
|
let s:yellow = { "gui": "#e5c07b", "cterm": "180" }
|
||||||
|
let s:blue = { "gui": "#61afef", "cterm": "75" }
|
||||||
|
let s:purple = { "gui": "#c678dd", "cterm": "176" }
|
||||||
|
let s:cyan = { "gui": "#56b6c2", "cterm": "73" }
|
||||||
|
let s:white = { "gui": "#dcdfe4", "cterm": "188" }
|
||||||
|
|
||||||
|
let s:fg = s:white
|
||||||
|
let s:bg = s:black
|
||||||
|
|
||||||
|
let s:comment_fg = { "gui": "#5c6370", "cterm": "241" }
|
||||||
|
let s:gutter_bg = { "gui": "#282c34", "cterm": "236" }
|
||||||
|
let s:gutter_fg = { "gui": "#919baa", "cterm": "247" }
|
||||||
|
let s:non_text = { "gui": "#373C45", "cterm": "239" }
|
||||||
|
|
||||||
|
let s:cursor_line = { "gui": "#313640", "cterm": "237" }
|
||||||
|
let s:color_col = { "gui": "#313640", "cterm": "237" }
|
||||||
|
|
||||||
|
let s:selection = { "gui": "#474e5d", "cterm": "239" }
|
||||||
|
let s:vertsplit = { "gui": "#313640", "cterm": "237" }
|
||||||
|
|
||||||
|
|
||||||
|
function! s:h(group, fg, bg, attr)
|
||||||
|
if type(a:fg) == type({})
|
||||||
|
exec "hi " . a:group . " guifg=" . a:fg.gui . " ctermfg=" . a:fg.cterm
|
||||||
|
else
|
||||||
|
exec "hi " . a:group . " guifg=NONE cterm=NONE"
|
||||||
|
endif
|
||||||
|
if type(a:bg) == type({})
|
||||||
|
exec "hi " . a:group . " guibg=" . a:bg.gui . " ctermbg=" . a:bg.cterm
|
||||||
|
else
|
||||||
|
exec "hi " . a:group . " guibg=NONE ctermbg=NONE"
|
||||||
|
endif
|
||||||
|
if a:attr != ""
|
||||||
|
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
|
||||||
|
else
|
||||||
|
exec "hi " . a:group . " gui=NONE cterm=NONE"
|
||||||
|
endif
|
||||||
|
endfun
|
||||||
|
|
||||||
|
|
||||||
|
" User interface colors {
|
||||||
|
call s:h("Normal", s:fg, s:bg, "")
|
||||||
|
|
||||||
|
call s:h("Cursor", s:bg, s:blue, "")
|
||||||
|
call s:h("CursorColumn", "", s:cursor_line, "")
|
||||||
|
call s:h("CursorLine", "", s:cursor_line, "")
|
||||||
|
|
||||||
|
call s:h("LineNr", s:gutter_fg, s:gutter_bg, "")
|
||||||
|
call s:h("CursorLineNr", s:fg, "", "")
|
||||||
|
|
||||||
|
call s:h("DiffAdd", s:green, "", "")
|
||||||
|
call s:h("DiffChange", s:yellow, "", "")
|
||||||
|
call s:h("DiffDelete", s:red, "", "")
|
||||||
|
call s:h("DiffText", s:blue, "", "")
|
||||||
|
|
||||||
|
call s:h("IncSearch", s:bg, s:yellow, "")
|
||||||
|
call s:h("Search", s:bg, s:yellow, "")
|
||||||
|
|
||||||
|
call s:h("ErrorMsg", s:fg, "", "")
|
||||||
|
call s:h("ModeMsg", s:fg, "", "")
|
||||||
|
call s:h("MoreMsg", s:fg, "", "")
|
||||||
|
call s:h("WarningMsg", s:red, "", "")
|
||||||
|
call s:h("Question", s:purple, "", "")
|
||||||
|
|
||||||
|
call s:h("Pmenu", s:bg, s:fg, "")
|
||||||
|
call s:h("PmenuSel", s:fg, s:blue, "")
|
||||||
|
call s:h("PmenuSbar", "", s:selection, "")
|
||||||
|
call s:h("PmenuThumb", "", s:fg, "")
|
||||||
|
|
||||||
|
call s:h("SpellBad", s:red, "", "")
|
||||||
|
call s:h("SpellCap", s:yellow, "", "")
|
||||||
|
call s:h("SpellLocal", s:yellow, "", "")
|
||||||
|
call s:h("SpellRare", s:yellow, "", "")
|
||||||
|
|
||||||
|
call s:h("StatusLine", s:blue, s:cursor_line, "")
|
||||||
|
call s:h("StatusLineNC", s:comment_fg, s:cursor_line, "")
|
||||||
|
call s:h("TabLine", s:comment_fg, s:cursor_line, "")
|
||||||
|
call s:h("TabLineFill", s:comment_fg, s:cursor_line, "")
|
||||||
|
call s:h("TabLineSel", s:fg, s:bg, "")
|
||||||
|
|
||||||
|
call s:h("Visual", "", s:selection, "")
|
||||||
|
call s:h("VisualNOS", "", s:selection, "")
|
||||||
|
|
||||||
|
call s:h("ColorColumn", "", s:color_col, "")
|
||||||
|
call s:h("Conceal", s:fg, "", "")
|
||||||
|
call s:h("Directory", s:blue, "", "")
|
||||||
|
call s:h("VertSplit", s:vertsplit, s:vertsplit, "")
|
||||||
|
call s:h("Folded", s:fg, "", "")
|
||||||
|
call s:h("FoldColumn", s:fg, "", "")
|
||||||
|
call s:h("SignColumn", s:fg, "", "")
|
||||||
|
|
||||||
|
call s:h("MatchParen", s:blue, "", "underline")
|
||||||
|
call s:h("SpecialKey", s:fg, "", "")
|
||||||
|
call s:h("Title", s:green, "", "")
|
||||||
|
call s:h("WildMenu", s:fg, "", "")
|
||||||
|
" }
|
||||||
|
|
||||||
|
|
||||||
|
" Syntax colors {
|
||||||
|
" Whitespace is defined in Neovim, not Vim.
|
||||||
|
" See :help hl-Whitespace and :help hl-SpecialKey
|
||||||
|
call s:h("Whitespace", s:non_text, "", "")
|
||||||
|
call s:h("NonText", s:non_text, "", "")
|
||||||
|
call s:h("Comment", s:comment_fg, "", "italic")
|
||||||
|
call s:h("Constant", s:cyan, "", "")
|
||||||
|
call s:h("String", s:green, "", "")
|
||||||
|
call s:h("Character", s:green, "", "")
|
||||||
|
call s:h("Number", s:yellow, "", "")
|
||||||
|
call s:h("Boolean", s:yellow, "", "")
|
||||||
|
call s:h("Float", s:yellow, "", "")
|
||||||
|
|
||||||
|
call s:h("Identifier", s:red, "", "")
|
||||||
|
call s:h("Function", s:blue, "", "")
|
||||||
|
call s:h("Statement", s:purple, "", "")
|
||||||
|
|
||||||
|
call s:h("Conditional", s:purple, "", "")
|
||||||
|
call s:h("Repeat", s:purple, "", "")
|
||||||
|
call s:h("Label", s:purple, "", "")
|
||||||
|
call s:h("Operator", s:fg, "", "")
|
||||||
|
call s:h("Keyword", s:red, "", "")
|
||||||
|
call s:h("Exception", s:purple, "", "")
|
||||||
|
|
||||||
|
call s:h("PreProc", s:yellow, "", "")
|
||||||
|
call s:h("Include", s:purple, "", "")
|
||||||
|
call s:h("Define", s:purple, "", "")
|
||||||
|
call s:h("Macro", s:purple, "", "")
|
||||||
|
call s:h("PreCondit", s:yellow, "", "")
|
||||||
|
|
||||||
|
call s:h("Type", s:yellow, "", "")
|
||||||
|
call s:h("StorageClass", s:yellow, "", "")
|
||||||
|
call s:h("Structure", s:yellow, "", "")
|
||||||
|
call s:h("Typedef", s:yellow, "", "")
|
||||||
|
|
||||||
|
call s:h("Special", s:blue, "", "")
|
||||||
|
call s:h("SpecialChar", s:fg, "", "")
|
||||||
|
call s:h("Tag", s:fg, "", "")
|
||||||
|
call s:h("Delimiter", s:fg, "", "")
|
||||||
|
call s:h("SpecialComment", s:fg, "", "")
|
||||||
|
call s:h("Debug", s:fg, "", "")
|
||||||
|
call s:h("Underlined", s:fg, "", "")
|
||||||
|
call s:h("Ignore", s:fg, "", "")
|
||||||
|
call s:h("Error", s:red, s:gutter_bg, "")
|
||||||
|
call s:h("Todo", s:purple, "", "")
|
||||||
|
" }
|
||||||
|
|
||||||
|
|
||||||
|
" Plugins {
|
||||||
|
" GitGutter
|
||||||
|
call s:h("GitGutterAdd", s:green, s:gutter_bg, "")
|
||||||
|
call s:h("GitGutterDelete", s:red, s:gutter_bg, "")
|
||||||
|
call s:h("GitGutterChange", s:yellow, s:gutter_bg, "")
|
||||||
|
call s:h("GitGutterChangeDelete", s:red, s:gutter_bg, "")
|
||||||
|
" Fugitive
|
||||||
|
call s:h("diffAdded", s:green, "", "")
|
||||||
|
call s:h("diffRemoved", s:red, "", "")
|
||||||
|
" }
|
||||||
|
|
||||||
|
|
||||||
|
" Git {
|
||||||
|
call s:h("gitcommitComment", s:comment_fg, "", "")
|
||||||
|
call s:h("gitcommitUnmerged", s:red, "", "")
|
||||||
|
call s:h("gitcommitOnBranch", s:fg, "", "")
|
||||||
|
call s:h("gitcommitBranch", s:purple, "", "")
|
||||||
|
call s:h("gitcommitDiscardedType", s:red, "", "")
|
||||||
|
call s:h("gitcommitSelectedType", s:green, "", "")
|
||||||
|
call s:h("gitcommitHeader", s:fg, "", "")
|
||||||
|
call s:h("gitcommitUntrackedFile", s:cyan, "", "")
|
||||||
|
call s:h("gitcommitDiscardedFile", s:red, "", "")
|
||||||
|
call s:h("gitcommitSelectedFile", s:green, "", "")
|
||||||
|
call s:h("gitcommitUnmergedFile", s:yellow, "", "")
|
||||||
|
call s:h("gitcommitFile", s:fg, "", "")
|
||||||
|
hi link gitcommitNoBranch gitcommitBranch
|
||||||
|
hi link gitcommitUntracked gitcommitComment
|
||||||
|
hi link gitcommitDiscarded gitcommitComment
|
||||||
|
hi link gitcommitSelected gitcommitComment
|
||||||
|
hi link gitcommitDiscardedArrow gitcommitDiscardedFile
|
||||||
|
hi link gitcommitSelectedArrow gitcommitSelectedFile
|
||||||
|
hi link gitcommitUnmergedArrow gitcommitUnmergedFile
|
||||||
|
" }
|
||||||
|
|
||||||
|
" Fix colors in neovim terminal buffers {
|
||||||
|
if has('nvim')
|
||||||
|
let g:terminal_color_0 = s:black.gui
|
||||||
|
let g:terminal_color_1 = s:red.gui
|
||||||
|
let g:terminal_color_2 = s:green.gui
|
||||||
|
let g:terminal_color_3 = s:yellow.gui
|
||||||
|
let g:terminal_color_4 = s:blue.gui
|
||||||
|
let g:terminal_color_5 = s:purple.gui
|
||||||
|
let g:terminal_color_6 = s:cyan.gui
|
||||||
|
let g:terminal_color_7 = s:white.gui
|
||||||
|
let g:terminal_color_8 = s:black.gui
|
||||||
|
let g:terminal_color_9 = s:red.gui
|
||||||
|
let g:terminal_color_10 = s:green.gui
|
||||||
|
let g:terminal_color_11 = s:yellow.gui
|
||||||
|
let g:terminal_color_12 = s:blue.gui
|
||||||
|
let g:terminal_color_13 = s:purple.gui
|
||||||
|
let g:terminal_color_14 = s:cyan.gui
|
||||||
|
let g:terminal_color_15 = s:white.gui
|
||||||
|
let g:terminal_color_background = s:bg.gui
|
||||||
|
let g:terminal_color_foreground = s:fg.gui
|
||||||
|
endif
|
||||||
|
" }
|
|
@ -0,0 +1,224 @@
|
||||||
|
" ==============================================================================
|
||||||
|
" Name: One Half Light
|
||||||
|
" Author: Son A. Pham <sp@sonpham.me>
|
||||||
|
" Url: https://github.com/sonph/onehalf
|
||||||
|
" License: The MIT License (MIT)
|
||||||
|
"
|
||||||
|
" A light vim color scheme based on Atom's One. See github.com/sonph/onehalf
|
||||||
|
" for installation instructions, a dark color scheme, versions for other
|
||||||
|
" editors/terminals, and a matching theme for vim-airline.
|
||||||
|
" ==============================================================================
|
||||||
|
|
||||||
|
set background=light
|
||||||
|
highlight clear
|
||||||
|
syntax reset
|
||||||
|
|
||||||
|
let g:colors_name="onehalflight"
|
||||||
|
let colors_name="onehalflight"
|
||||||
|
|
||||||
|
|
||||||
|
let s:black = { "gui": "#383a42", "cterm": "237" }
|
||||||
|
let s:red = { "gui": "#e45649", "cterm": "167" }
|
||||||
|
let s:green = { "gui": "#50a14f", "cterm": "71" }
|
||||||
|
let s:yellow = { "gui": "#c18401", "cterm": "136" }
|
||||||
|
let s:blue = { "gui": "#0184bc", "cterm": "31" }
|
||||||
|
let s:purple = { "gui": "#a626a4", "cterm": "127" }
|
||||||
|
let s:cyan = { "gui": "#0997b3", "cterm": "31" }
|
||||||
|
let s:white = { "gui": "#fafafa", "cterm": "231" }
|
||||||
|
|
||||||
|
let s:fg = s:black
|
||||||
|
let s:bg = s:white
|
||||||
|
|
||||||
|
let s:comment_fg = { "gui": "#a0a1a7", "cterm": "247" }
|
||||||
|
let s:gutter_bg = { "gui": "#fafafa", "cterm": "231" }
|
||||||
|
let s:gutter_fg = { "gui": "#d4d4d4", "cterm": "252" }
|
||||||
|
let s:non_text = { "gui": "#e5e5e5", "cterm": "252" }
|
||||||
|
|
||||||
|
let s:cursor_line = { "gui": "#f0f0f0", "cterm": "255" }
|
||||||
|
let s:color_col = { "gui": "#f0f0f0", "cterm": "255" }
|
||||||
|
|
||||||
|
let s:selection = { "gui": "#bfceff", "cterm": "153" }
|
||||||
|
let s:vertsplit = { "gui": "#f0f0f0", "cterm": "255" }
|
||||||
|
|
||||||
|
|
||||||
|
function! s:h(group, fg, bg, attr)
|
||||||
|
if type(a:fg) == type({})
|
||||||
|
exec "hi " . a:group . " guifg=" . a:fg.gui . " ctermfg=" . a:fg.cterm
|
||||||
|
else
|
||||||
|
exec "hi " . a:group . " guifg=NONE cterm=NONE"
|
||||||
|
endif
|
||||||
|
if type(a:bg) == type({})
|
||||||
|
exec "hi " . a:group . " guibg=" . a:bg.gui . " ctermbg=" . a:bg.cterm
|
||||||
|
else
|
||||||
|
exec "hi " . a:group . " guibg=NONE ctermbg=NONE"
|
||||||
|
endif
|
||||||
|
if a:attr != ""
|
||||||
|
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
|
||||||
|
else
|
||||||
|
exec "hi " . a:group . " gui=NONE cterm=NONE"
|
||||||
|
endif
|
||||||
|
endfun
|
||||||
|
|
||||||
|
|
||||||
|
" User interface colors {
|
||||||
|
call s:h("Normal", s:fg, s:bg, "")
|
||||||
|
|
||||||
|
call s:h("Cursor", s:bg, s:blue, "")
|
||||||
|
call s:h("CursorColumn", "", s:cursor_line, "")
|
||||||
|
call s:h("CursorLine", "", s:cursor_line, "")
|
||||||
|
|
||||||
|
call s:h("LineNr", s:gutter_fg, s:gutter_bg, "")
|
||||||
|
call s:h("CursorLineNr", s:fg, "", "")
|
||||||
|
|
||||||
|
call s:h("DiffAdd", s:green, "", "")
|
||||||
|
call s:h("DiffChange", s:yellow, "", "")
|
||||||
|
call s:h("DiffDelete", s:red, "", "")
|
||||||
|
call s:h("DiffText", s:blue, "", "")
|
||||||
|
|
||||||
|
call s:h("IncSearch", s:bg, s:yellow, "")
|
||||||
|
call s:h("Search", s:bg, s:yellow, "")
|
||||||
|
|
||||||
|
call s:h("ErrorMsg", s:fg, "", "")
|
||||||
|
call s:h("ModeMsg", s:fg, "", "")
|
||||||
|
call s:h("MoreMsg", s:fg, "", "")
|
||||||
|
call s:h("WarningMsg", s:red, "", "")
|
||||||
|
call s:h("Question", s:purple, "", "")
|
||||||
|
|
||||||
|
call s:h("Pmenu", s:fg, s:cursor_line, "")
|
||||||
|
call s:h("PmenuSel", s:bg, s:blue, "")
|
||||||
|
call s:h("PmenuSbar", "", s:cursor_line, "")
|
||||||
|
call s:h("PmenuThumb", "", s:comment_fg, "")
|
||||||
|
|
||||||
|
call s:h("SpellBad", s:red, "", "")
|
||||||
|
call s:h("SpellCap", s:yellow, "", "")
|
||||||
|
call s:h("SpellLocal", s:yellow, "", "")
|
||||||
|
call s:h("SpellRare", s:yellow, "", "")
|
||||||
|
|
||||||
|
call s:h("StatusLine", s:blue, s:cursor_line, "")
|
||||||
|
call s:h("StatusLineNC", s:comment_fg, s:cursor_line, "")
|
||||||
|
call s:h("TabLine", s:comment_fg, s:cursor_line, "")
|
||||||
|
call s:h("TabLineFill", s:comment_fg, s:cursor_line, "")
|
||||||
|
call s:h("TabLineSel", s:fg, s:bg, "")
|
||||||
|
|
||||||
|
call s:h("Visual", "", s:selection, "")
|
||||||
|
call s:h("VisualNOS", "", s:selection, "")
|
||||||
|
|
||||||
|
call s:h("ColorColumn", "", s:color_col, "")
|
||||||
|
call s:h("Conceal", s:fg, "", "")
|
||||||
|
call s:h("Directory", s:blue, "", "")
|
||||||
|
call s:h("VertSplit", s:vertsplit, s:vertsplit, "")
|
||||||
|
call s:h("Folded", s:fg, "", "")
|
||||||
|
call s:h("FoldColumn", s:fg, "", "")
|
||||||
|
call s:h("SignColumn", s:fg, "", "")
|
||||||
|
|
||||||
|
call s:h("MatchParen", s:blue, "", "underline")
|
||||||
|
call s:h("SpecialKey", s:fg, "", "")
|
||||||
|
call s:h("Title", s:green, "", "")
|
||||||
|
call s:h("WildMenu", s:fg, "", "")
|
||||||
|
" }
|
||||||
|
|
||||||
|
|
||||||
|
" Syntax colors {
|
||||||
|
" Whitespace is defined in Neovim, not Vim.
|
||||||
|
" See :help hl-Whitespace and :help hl-SpecialKey
|
||||||
|
call s:h("Whitespace", s:non_text, "", "")
|
||||||
|
call s:h("NonText", s:non_text, "", "")
|
||||||
|
call s:h("Comment", s:comment_fg, "", "italic")
|
||||||
|
call s:h("Constant", s:cyan, "", "")
|
||||||
|
call s:h("String", s:green, "", "")
|
||||||
|
call s:h("Character", s:green, "", "")
|
||||||
|
call s:h("Number", s:yellow, "", "")
|
||||||
|
call s:h("Boolean", s:yellow, "", "")
|
||||||
|
call s:h("Float", s:yellow, "", "")
|
||||||
|
|
||||||
|
call s:h("Identifier", s:red, "", "")
|
||||||
|
call s:h("Function", s:blue, "", "")
|
||||||
|
call s:h("Statement", s:purple, "", "")
|
||||||
|
|
||||||
|
call s:h("Conditional", s:purple, "", "")
|
||||||
|
call s:h("Repeat", s:purple, "", "")
|
||||||
|
call s:h("Label", s:purple, "", "")
|
||||||
|
call s:h("Operator", s:fg, "", "")
|
||||||
|
call s:h("Keyword", s:red, "", "")
|
||||||
|
call s:h("Exception", s:purple, "", "")
|
||||||
|
|
||||||
|
call s:h("PreProc", s:yellow, "", "")
|
||||||
|
call s:h("Include", s:purple, "", "")
|
||||||
|
call s:h("Define", s:purple, "", "")
|
||||||
|
call s:h("Macro", s:purple, "", "")
|
||||||
|
call s:h("PreCondit", s:yellow, "", "")
|
||||||
|
|
||||||
|
call s:h("Type", s:yellow, "", "")
|
||||||
|
call s:h("StorageClass", s:yellow, "", "")
|
||||||
|
call s:h("Structure", s:yellow, "", "")
|
||||||
|
call s:h("Typedef", s:yellow, "", "")
|
||||||
|
|
||||||
|
call s:h("Special", s:blue, "", "")
|
||||||
|
call s:h("SpecialChar", s:fg, "", "")
|
||||||
|
call s:h("Tag", s:fg, "", "")
|
||||||
|
call s:h("Delimiter", s:fg, "", "")
|
||||||
|
call s:h("SpecialComment", s:fg, "", "")
|
||||||
|
call s:h("Debug", s:fg, "", "")
|
||||||
|
call s:h("Underlined", s:fg, "", "")
|
||||||
|
call s:h("Ignore", s:fg, "", "")
|
||||||
|
call s:h("Error", s:red, s:gutter_bg, "")
|
||||||
|
call s:h("Todo", s:purple, "", "")
|
||||||
|
" }
|
||||||
|
|
||||||
|
|
||||||
|
" Plugins {
|
||||||
|
" GitGutter
|
||||||
|
call s:h("GitGutterAdd", s:green, s:gutter_bg, "")
|
||||||
|
call s:h("GitGutterDelete", s:red, s:gutter_bg, "")
|
||||||
|
call s:h("GitGutterChange", s:yellow, s:gutter_bg, "")
|
||||||
|
call s:h("GitGutterChangeDelete", s:red, s:gutter_bg, "")
|
||||||
|
" Fugitive
|
||||||
|
call s:h("diffAdded", s:green, "", "")
|
||||||
|
call s:h("diffRemoved", s:red, "", "")
|
||||||
|
" }
|
||||||
|
|
||||||
|
|
||||||
|
" Git {
|
||||||
|
call s:h("gitcommitComment", s:comment_fg, "", "")
|
||||||
|
call s:h("gitcommitUnmerged", s:red, "", "")
|
||||||
|
call s:h("gitcommitOnBranch", s:fg, "", "")
|
||||||
|
call s:h("gitcommitBranch", s:purple, "", "")
|
||||||
|
call s:h("gitcommitDiscardedType", s:red, "", "")
|
||||||
|
call s:h("gitcommitSelectedType", s:green, "", "")
|
||||||
|
call s:h("gitcommitHeader", s:fg, "", "")
|
||||||
|
call s:h("gitcommitUntrackedFile", s:cyan, "", "")
|
||||||
|
call s:h("gitcommitDiscardedFile", s:red, "", "")
|
||||||
|
call s:h("gitcommitSelectedFile", s:green, "", "")
|
||||||
|
call s:h("gitcommitUnmergedFile", s:yellow, "", "")
|
||||||
|
call s:h("gitcommitFile", s:fg, "", "")
|
||||||
|
hi link gitcommitNoBranch gitcommitBranch
|
||||||
|
hi link gitcommitUntracked gitcommitComment
|
||||||
|
hi link gitcommitDiscarded gitcommitComment
|
||||||
|
hi link gitcommitSelected gitcommitComment
|
||||||
|
hi link gitcommitDiscardedArrow gitcommitDiscardedFile
|
||||||
|
hi link gitcommitSelectedArrow gitcommitSelectedFile
|
||||||
|
hi link gitcommitUnmergedArrow gitcommitUnmergedFile
|
||||||
|
" }
|
||||||
|
|
||||||
|
" Fix colors in neovim terminal buffers {
|
||||||
|
if has('nvim')
|
||||||
|
let g:terminal_color_0 = s:black.gui
|
||||||
|
let g:terminal_color_1 = s:red.gui
|
||||||
|
let g:terminal_color_2 = s:green.gui
|
||||||
|
let g:terminal_color_3 = s:yellow.gui
|
||||||
|
let g:terminal_color_4 = s:blue.gui
|
||||||
|
let g:terminal_color_5 = s:purple.gui
|
||||||
|
let g:terminal_color_6 = s:cyan.gui
|
||||||
|
let g:terminal_color_7 = s:white.gui
|
||||||
|
let g:terminal_color_8 = s:black.gui
|
||||||
|
let g:terminal_color_9 = s:red.gui
|
||||||
|
let g:terminal_color_10 = s:green.gui
|
||||||
|
let g:terminal_color_11 = s:yellow.gui
|
||||||
|
let g:terminal_color_12 = s:blue.gui
|
||||||
|
let g:terminal_color_13 = s:purple.gui
|
||||||
|
let g:terminal_color_14 = s:cyan.gui
|
||||||
|
let g:terminal_color_15 = s:white.gui
|
||||||
|
let g:terminal_color_background = s:bg.gui
|
||||||
|
let g:terminal_color_foreground = s:fg.gui
|
||||||
|
endif
|
||||||
|
" }
|
|
@ -0,0 +1,25 @@
|
||||||
|
let g:rainbow_active = 1
|
||||||
|
|
||||||
|
let g:rainbow_conf = {
|
||||||
|
\ 'guifgs': ['royalblue3', 'darkorange3', 'seagreen3', 'firebrick'],
|
||||||
|
\ 'ctermfgs': ['blue', 'yellow', 'cyan', 'magenta'],
|
||||||
|
\ 'operators': '_,_',
|
||||||
|
\ 'parentheses': ['start=/(/ end=/)/ fold', 'start=/\[/ end=/\]/ fold', 'start=/{/ end=/}/ fold'],
|
||||||
|
\ 'separately': {
|
||||||
|
\ '*': {},
|
||||||
|
\ 'tex': {
|
||||||
|
\ 'parentheses': ['start=/(/ end=/)/', 'start=/\[/ end=/\]/'],
|
||||||
|
\ },
|
||||||
|
\ 'lisp': {
|
||||||
|
\ 'guifgs': ['royalblue3', 'darkorange3', 'seagreen3', 'firebrick', 'darkorchid3'],
|
||||||
|
\ },
|
||||||
|
\ 'vim': {
|
||||||
|
\ 'parentheses': ['start=/(/ end=/)/', 'start=/\[/ end=/\]/', 'start=/{/ end=/}/ fold', 'start=/(/ end=/)/ containedin=vimFuncBody', 'start=/\[/ end=/\]/ containedin=vimFuncBody', 'start=/{/ end=/}/ fold containedin=vimFuncBody'],
|
||||||
|
\ },
|
||||||
|
\ 'html': {
|
||||||
|
\ 'parentheses': ['start=/\v\<((area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)[ >])@!\z([-_:a-zA-Z0-9]+)(\s+[-_:a-zA-Z0-9]+(\=("[^"]*"|'."'".'[^'."'".']*'."'".'|[^ '."'".'"><=`]*))?)*\>/ end=#</\z1># fold'],
|
||||||
|
\ },
|
||||||
|
\ 'css': 0,
|
||||||
|
\ 'nerdtree': 0,
|
||||||
|
\ }
|
||||||
|
\ }
|
|
@ -0,0 +1,6 @@
|
||||||
|
let g:cpp_class_scope_highlight = 1
|
||||||
|
let g:cpp_member_variable_highlight = 1
|
||||||
|
let g:cpp_class_decl_highlight = 1
|
||||||
|
let g:cpp_experimental_simple_template_highlight = 1
|
||||||
|
let g:cpp_concepts_highlight = 1
|
||||||
|
let g:cpp_no_function_highlight = 1
|
|
@ -0,0 +1,148 @@
|
||||||
|
Solarized Changelog
|
||||||
|
===================
|
||||||
|
|
||||||
|
## Current release 1.0.0beta2
|
||||||
|
|
||||||
|
1.0.0beta2
|
||||||
|
----------
|
||||||
|
|
||||||
|
### Summary
|
||||||
|
|
||||||
|
Switch to the alternative red hue (final and only hue change), included a whole
|
||||||
|
heap of new ports and updates to the existing Vim colorscheme. The list of all
|
||||||
|
currently included ports, highlighted items are new, updates noted:
|
||||||
|
|
||||||
|
#### Editors & IDEs
|
||||||
|
|
||||||
|
* \[UPDATED\] **Vim**
|
||||||
|
* \[NEW\] ***Emacs***
|
||||||
|
* \[NEW\] ***IntelliJ IDEA***
|
||||||
|
* \[NEW\] ***NetBeans***
|
||||||
|
* \[NEW\] ***SeeStyle theme for Coda & SubEthaEdit***
|
||||||
|
* \[NEW\] ***TextMate***
|
||||||
|
* \[NEW\] ***Visual Studio***
|
||||||
|
|
||||||
|
#### Terminal Emulators
|
||||||
|
|
||||||
|
* \[UPDATED\] **iTerm2 colorschemes**
|
||||||
|
* \[UPDATED\] **OS X Terminal.app colors**
|
||||||
|
* \[UPDATED\] **Xresources colors**
|
||||||
|
|
||||||
|
#### Other Applications
|
||||||
|
|
||||||
|
* \[UPDATED\] **Mutt mail client colorschemes**
|
||||||
|
|
||||||
|
#### Palettes
|
||||||
|
|
||||||
|
* \[UPDATED\] **Adobe Photoshop Swatches**
|
||||||
|
* \[UPDATED\] **Apple Color Picker Palette**
|
||||||
|
* \[UPDATED\] **Gimp Palette**
|
||||||
|
|
||||||
|
|
||||||
|
### Critical Changes
|
||||||
|
|
||||||
|
These changes may require you to change your configuration.
|
||||||
|
|
||||||
|
* **GLOBAL : IMPROVEMENT : New red accent color value**
|
||||||
|
Modified red from L\*a\*b lightness value 45 to 50 to bring it in
|
||||||
|
line with the other accent colors and address bleed into dark background on
|
||||||
|
some displays, as well as reducing shift of red against base03 when viewed
|
||||||
|
with glasses (chromatic aberration). All instances of the colorscheme and
|
||||||
|
palettes updated to new red and avalailable for use/import without further
|
||||||
|
modification. Forks and ports should pull new changes and/or update ported
|
||||||
|
red value accordingly. The new red:
|
||||||
|
|
||||||
|
red #dc322f
|
||||||
|
|
||||||
|
* **VIM : CHANGE : Default mode now 16 color**
|
||||||
|
Default terminal mode is now ***16 colors***. Most of the users of terminal
|
||||||
|
mode seem comfortabel and capable changing terminal colors. This is the
|
||||||
|
preferred method of implementing Solarized in Terminal mode. If you wish to
|
||||||
|
instead use the degraded 256 color palette, you may do so with the
|
||||||
|
following line in your .vimrc:
|
||||||
|
|
||||||
|
let g:solarized_termcolors=256
|
||||||
|
|
||||||
|
You no longer need to specify "let g:solarized_termcolors=16" as it is now
|
||||||
|
the default; leaving it in your .vimrc won't hurt anything, however.
|
||||||
|
|
||||||
|
* **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>`:
|
||||||
|
|
||||||
|
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).
|
||||||
|
|
||||||
|
* **VIM : IMPROVEMENT : Special & Non-text items now more visible**
|
||||||
|
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.
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
let g:solarized_visibility = "low"
|
||||||
|
|
||||||
|
### Non Critical Changes
|
||||||
|
|
||||||
|
These changes should not impact your usage of the Solarized.
|
||||||
|
|
||||||
|
* **PALETTES : IMPROVEMENT : Colorspace tagged and untagged versions**
|
||||||
|
Changed default OS X color picker palatte swatches to tagged colors (sRGB)
|
||||||
|
and included alternate palette with untagged color swatches for advanced
|
||||||
|
users (v1.0.0beta1 had untagged as default).
|
||||||
|
|
||||||
|
* **VIM : BUGFIX : Better display in Terminal.app, other emulators**
|
||||||
|
Terminal.app and other common terminal emulators that report 8 color mode
|
||||||
|
had display issues due to order of synt highlighting definitions and color
|
||||||
|
values specified. These have been conformed and reordered in such a way
|
||||||
|
that there is a more graceful degrading of the Solarized color palette on
|
||||||
|
8 color terminals. Infact, the experience should be almost identical to gui
|
||||||
|
other than lack of bold typeface.
|
||||||
|
|
||||||
|
* **VIM : BUGFIX : Better distinction between status bar and split windows**
|
||||||
|
Status bar was previously too similar to the cursor line and window splits.
|
||||||
|
This has now been changed significantly to improve the clarity of what is
|
||||||
|
status, cursor line and window separator.
|
||||||
|
|
||||||
|
* **VIM : STREAMLINED : Removed simultaneous gui/cterm definitions**
|
||||||
|
* Refactored solarized.vim to eliminate simultaneous definition of gui and
|
||||||
|
cterm values.
|
||||||
|
|
||||||
|
* **VIM : BUGFIX : Removed italicized front in terminal mode**
|
||||||
|
Removed default italicized font in terminal mode in the Solarized Vim
|
||||||
|
colorscheme (many terminal emulators display Vim italics as reversed type).
|
||||||
|
Italics still used in GUI mode by default and can still be turned off in
|
||||||
|
both modes by setting a variable: `let g:solarized_italic=0`.
|
||||||
|
|
||||||
|
1.0.0beta1
|
||||||
|
----------
|
||||||
|
|
||||||
|
First public release. Included:
|
||||||
|
|
||||||
|
* Adobe Photoshop Swatches
|
||||||
|
* Apple Color Picker Palette
|
||||||
|
* Gimp Palette
|
||||||
|
* iTerm2 colorschemes
|
||||||
|
* Mutt mail client colorschemes
|
||||||
|
* OS X Terminal.app colors
|
||||||
|
* Vim Colorscheme
|
||||||
|
* Xresources colors
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
|
MODIFIED: 2011 Apr 16
|
|
@ -0,0 +1,57 @@
|
||||||
|
---
|
||||||
|
Title: Solarized Developers
|
||||||
|
Description: Notes and Guidelines on Port Development
|
||||||
|
Author: Ethan Schoonover
|
||||||
|
Tags: test, testing, test123
|
||||||
|
Colors: light yellow
|
||||||
|
Created: 2011 Mar 15
|
||||||
|
Modified: 2011 Apr 14
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Solarized Developers
|
||||||
|
====================
|
||||||
|
|
||||||
|
## Notes and Guidelines on Port Development
|
||||||
|
|
||||||
|
When developing a port of the Solarized colorscheme that you'd like to see
|
||||||
|
included in the main project repository, please consider the following
|
||||||
|
guidelines:
|
||||||
|
|
||||||
|
1. No hue or color changes. Please keep the same hex/rgb/L*a*b values. If you
|
||||||
|
want to change them, that's fine, but I'd recommend setting it up as a
|
||||||
|
|
||||||
|
2. If you are making a new port, consider creating a repository with just the
|
||||||
|
theme/plugin for your particular port, rather than forking the entire
|
||||||
|
Solarized master repository. This allows your users to pull down just the
|
||||||
|
theme for the application easily. I can also pull in your repository using
|
||||||
|
git-subtree as a subdirectory of the master Solarized project. This is what
|
||||||
|
I do with the Vim and Mutt themes (they each have an independent repo for
|
||||||
|
the convenience of those cloning the project directly into their vim/mutt
|
||||||
|
configuration).
|
||||||
|
|
||||||
|
3. If you are going to fork and modify code, please check to see who the
|
||||||
|
maintainer for the specific Solarized component is. Mail me if you can't
|
||||||
|
find that information in the README for the specific port.
|
||||||
|
|
||||||
|
### README guidlines
|
||||||
|
|
||||||
|
Please include a README for your project that contains the following
|
||||||
|
information:
|
||||||
|
|
||||||
|
1. A link to the main solarized project page:
|
||||||
|
http://ethanschoonover.com/solarized
|
||||||
|
This page will also have links back to your port/repo as well as
|
||||||
|
attribution. I want to maintain it as the canonical clearing house for all
|
||||||
|
ports, etc.
|
||||||
|
|
||||||
|
2. A link to your project repository
|
||||||
|
|
||||||
|
3. A link to the main solarized repository on github (in addition to the link
|
||||||
|
to the main site above)
|
||||||
|
|
||||||
|
4. Installation instructions as necessary for your port
|
||||||
|
|
||||||
|
See the vim-colors-solarized subdirectory for an example of this. Your README
|
||||||
|
doesn't need to be this elaborate, of course, but should be clear enough that
|
||||||
|
users can get up and running.
|
|
@ -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.
|
||||||
|
|
|
@ -0,0 +1,413 @@
|
||||||
|
---
|
||||||
|
title: Solarized
|
||||||
|
description: Precision colors for machines and people
|
||||||
|
author: Ethan Schoonover
|
||||||
|
tags: test, testing, test123
|
||||||
|
colors: light yellow
|
||||||
|
created: 2011 Mar 15
|
||||||
|
modified: 2011 Apr 16
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Solarized
|
||||||
|
=========
|
||||||
|
|
||||||
|
## Precision colors for machines and people
|
||||||
|
|
||||||
|
[](#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
|
||||||
|
conditions.
|
||||||
|
|
||||||
|
***See the [changelog] for what's new in the most recent release.***
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Currently available in formats for (cf [screenshots](#screenshots) below):
|
||||||
|
|
||||||
|
### Editors & IDEs
|
||||||
|
|
||||||
|
* **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**
|
||||||
|
courtesy of [Johan Kaving](https://github.com/jkaving) and
|
||||||
|
([@flangy](http://twitter.com/flangy))
|
||||||
|
in the main repo and in a [standalone repository][IntelliJ Repository]
|
||||||
|
* **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/)
|
||||||
|
([@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/)
|
||||||
|
([@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)
|
||||||
|
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)
|
||||||
|
([@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]
|
||||||
|
and will be pulled into the main Solarized project soon.
|
||||||
|
|
||||||
|
### Terminal Emulators
|
||||||
|
|
||||||
|
* **Xresources** / Xdefaults
|
||||||
|
* **iTerm2**
|
||||||
|
* **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
|
||||||
|
|
||||||
|
* **Mutt** e-mail client also by [me] (*just* the Mutt colorscheme is
|
||||||
|
[available here][Mutt Repository])
|
||||||
|
|
||||||
|
### Palettes
|
||||||
|
|
||||||
|
* **Adobe Photoshop** Palette (inc. L\*a\*b values)
|
||||||
|
* **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
|
||||||
|
specific values to be used in different contexts.
|
||||||
|
|
||||||
|
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
|
||||||
|
new in this release.
|
||||||
|
|
||||||
|
### Fresh Code on GitHub
|
||||||
|
|
||||||
|
You can also use the following links to access application specific downloads
|
||||||
|
and git repositories:
|
||||||
|
|
||||||
|
* **Canonical Project Page:**
|
||||||
|
|
||||||
|
Downloads, screenshots and more information are always available from the
|
||||||
|
project page: <http://ethanschoonover.com/solarized>
|
||||||
|
|
||||||
|
* **Full Git Repository:**
|
||||||
|
|
||||||
|
The full git repository is at: <https://github.com/altercation/solarized>
|
||||||
|
Get it using the following command:
|
||||||
|
|
||||||
|
$ git clone git://github.com/altercation/solarized.git
|
||||||
|
|
||||||
|
* **Application Specific Repositories:**
|
||||||
|
|
||||||
|
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]
|
||||||
|
* [Mutt Repository]
|
||||||
|
* [Emacs Repository]
|
||||||
|
* [IntelliJ Repository]
|
||||||
|
* [NetBeans Repository]
|
||||||
|
* [SeeStyle-Coda-SubEthaEdit Repository]
|
||||||
|
* [TextMate Repository]
|
||||||
|
* [TextWrangler-BBEdit Repository]
|
||||||
|
* [Visual Studio Repository]
|
||||||
|
|
||||||
|
* [Xcode 3 work in progress][Xcode 3]
|
||||||
|
* [Xcode 4 work in progress][Xcode 4]
|
||||||
|
|
||||||
|
Note that through the magic of [git-subtree](https://github.com/apenwarr/git-subtree)
|
||||||
|
these repositories are all kept in sync, so you can pull any of them and get the most up-to-date version.
|
||||||
|
|
||||||
|
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 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
|
||||||
|
direct sunlight and tires the eye.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
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**
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
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
|
||||||
|
part of a unified colorscheme.
|
||||||
|
|
||||||
|
3. **16/5 palette modes**
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
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
|
||||||
|
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**
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
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
|
||||||
|
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
|
||||||
|
(e.g. `<html class="dark red">` to give a dark background with red accent):
|
||||||
|
|
||||||
|
$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;
|
||||||
|
@mixin rebase($rebase03,$rebase02,$rebase01,$rebase00,$rebase0,$rebase1,$rebase2,$rebase3)
|
||||||
|
{
|
||||||
|
background-color:$rebase03;
|
||||||
|
color:$rebase0;
|
||||||
|
* { color:$rebase0; }
|
||||||
|
h1,h2,h3,h4,h5,h6 { color:$rebase1; border-color: $rebase0; }
|
||||||
|
a, a:active, a:visited { color: $rebase1; }
|
||||||
|
}
|
||||||
|
@mixin accentize($accent) {
|
||||||
|
a, a:active, a:visited, code.url { color: $accent; }
|
||||||
|
h1,h2,h3,h4,h5,h6 {color:$accent}
|
||||||
|
}
|
||||||
|
/* light is default mode, so pair with general html definition */
|
||||||
|
html, .light { @include rebase($base3,$base2,$base1,$base0,$base00,$base01,$base02,$base03)}
|
||||||
|
.dark { @include rebase($base03,$base02,$base01,$base00,$base0,$base1,$base2,$base3)}
|
||||||
|
html * {
|
||||||
|
color-profile: sRGB;
|
||||||
|
rendering-intent: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
See also [the full css stylesheet for this site](https://github.com/altercation/ethanschoonover.com/blob/master/resources/css/style.css).
|
||||||
|
|
||||||
|
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
|
||||||
|
Pathogen). See the links at the top of this file.
|
||||||
|
|
||||||
|
Font Samples
|
||||||
|
------------
|
||||||
|
|
||||||
|
Solarized has been designed to handle fonts of various weights and retain
|
||||||
|
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
|
||||||
|
list:
|
||||||
|
|
||||||
|
* [DejaVu Sans 18](http://ethanschoonover.com/solarized/img/dejavusans18/)
|
||||||
|
* [DejaVu Sans 14](http://ethanschoonover.com/solarized/img/dejavusans14/)
|
||||||
|
* [Letter Gothic 18](http://ethanschoonover.com/solarized/img/lettergothic18/)
|
||||||
|
* [Letter Gothic 14](http://ethanschoonover.com/solarized/img/lettergothic14/)
|
||||||
|
|
||||||
|
* [Andale Mono 14](http://ethanschoonover.com/solarized/img/andalemono14/)
|
||||||
|
* [Monaco 14](http://ethanschoonover.com/solarized/img/monaco14/)
|
||||||
|
* [Skyhook Mono 14](http://ethanschoonover.com/solarized/img/skyhookmono14/)
|
||||||
|
|
||||||
|
* [Terminus 12](http://ethanschoonover.com/solarized/img/terminus12/)
|
||||||
|
* [Terminus 20](http://ethanschoonover.com/solarized/img/terminus20/)
|
||||||
|
|
||||||
|
Screenshots
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Click to view.
|
||||||
|
|
||||||
|
### Mutt
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-mutt-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-mutt-light.png)
|
||||||
|
|
||||||
|
### C (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-c-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-c-light.png)
|
||||||
|
|
||||||
|
### Haskell (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-haskell-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-haskell-light.png)
|
||||||
|
|
||||||
|
### HTML (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-html-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-html-light.png)
|
||||||
|
|
||||||
|
### Java (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-java-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-java-light.png)
|
||||||
|
|
||||||
|
### Javascript (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-javascript-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-javascript-light.png)
|
||||||
|
|
||||||
|
### Pandoc Markdown (Vim)
|
||||||
|
|
||||||
|
These screen shots show Vim running with my own [Pandoc Kit Syntax](http://ethanschoonover.com/pandockit/).
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-pandoc-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-pandoc-light.png)
|
||||||
|
|
||||||
|
### Perl (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-perl-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-perl-light.png)
|
||||||
|
|
||||||
|
### PHP (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-php-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-php-light.png)
|
||||||
|
|
||||||
|
### Python (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-python-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-python-light.png)
|
||||||
|
|
||||||
|
### Ruby (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-ruby-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-ruby-light.png)
|
||||||
|
|
||||||
|
### Shell (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-shell-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-shell-light.png)
|
||||||
|
|
||||||
|
### TeX (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-tex-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/screen-tex-light.png)
|
||||||
|
|
||||||
|
The Values
|
||||||
|
----------
|
||||||
|
|
||||||
|
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
|
||||||
|
--------- ------- ---- ------- ----------- ---------- ----------- -----------
|
||||||
|
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
|
||||||
|
|
||||||
|
Usage & Development
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
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
|
||||||
|
the core values (with an optional fifth for emphasized content).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
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
|
||||||
|
background.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[Vim Repository]: https://github.com/altercation/vim-colors-solarized
|
||||||
|
[Mutt Repository]: https://github.com/altercation/mutt-colors-solarized
|
||||||
|
[Emacs Repository]: https://github.com/sellout/emacs-color-theme-solarized
|
||||||
|
[IntelliJ Repository]: https://github.com/jkaving/intellij-colors-solarized
|
||||||
|
[NetBeans Repository]: https://github.com/fentie/netbeans-colors-solarized
|
||||||
|
[SeeStyle-Coda-SubEthaEdit Repository]: https://github.com/bobthecow/solarized-seestyle
|
||||||
|
[TextMate Repository]: https://github.com/deplorableword/textmate-solarized
|
||||||
|
[TextWrangler-BBEdit Repository]: https://github.com/rcarmo/textwrangler-bbedit-solarized
|
||||||
|
[Visual Studio Repository]: https://github.com/leddt/visualstudio-colors-solarized
|
||||||
|
[Xcode 3]: https://github.com/shayne/solarized/tree/master/apple-xcode3-solarized
|
||||||
|
[Xcode 4]: https://github.com/brianmichel/solarized/tree/master/apple-xcode4-solarized
|
||||||
|
[me]: http://ethanschoonover.com/colophon
|
||||||
|
[changelog]: http://ethanschoonover.com/solarized/CHANGELOG
|
||||||
|
[Vim README]: http://ethanschoonover.com/solarized/vim-colors-solarized
|
|
@ -0,0 +1,34 @@
|
||||||
|
Solarized - Adobe Photoshop Swatches
|
||||||
|
====================================
|
||||||
|
|
||||||
|
### [See official homepage for full content](http://ethanschoonover.com/solarized)
|
||||||
|
|
||||||
|
Installation
|
||||||
|
------------
|
||||||
|
|
||||||
|
Import using the Photoshop swatches palette. Colors are referenced below:
|
||||||
|
|
||||||
|
The Values
|
||||||
|
----------
|
||||||
|
|
||||||
|
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
|
||||||
|
--------- ------- ---- ------- ----------- ---------- ----------- -----------
|
||||||
|
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 #4e4e4e 45 -07 -07 88 110 117 194 25 46
|
||||||
|
base00 #657b83 11/7 bryellow 241 #585858 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 #d7d7af 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
|
|
@ -0,0 +1,81 @@
|
||||||
|
Solarized - Apple Color Picker Palette
|
||||||
|
======================================
|
||||||
|
|
||||||
|
### [See official homepage for full content](http://ethanschoonover.com/solarized)
|
||||||
|
|
||||||
|
Installation
|
||||||
|
------------
|
||||||
|
|
||||||
|
Copy or move the `solarized.clr` file to your `~/Library/Colors` directory.
|
||||||
|
|
||||||
|
Use the included colorpicker launcher to confirm installation. Launch the
|
||||||
|
`launch-colorpicker` application, navigate to the color palette view (usually
|
||||||
|
the third icon from the left) and select 'Solarized' from the drop-down palette
|
||||||
|
list. Click the cancel button to dismiss the color picker.
|
||||||
|
|
||||||
|
Alternate Palette
|
||||||
|
------------------
|
||||||
|
|
||||||
|
NOT FOR USE UNLESS YOU UNDERSTAND THE HELL THAT IS COLOR MANAGEMENT.
|
||||||
|
|
||||||
|
The `alternate palettes` directory contains two Apple Color Picker palettes.
|
||||||
|
The "tagged" palette is identical to the main Solarized.clr palette. The
|
||||||
|
untagged palette contains untagged sRGB values (Apple calls untagged values
|
||||||
|
"device colors"). Don't use this unless you are using an application that
|
||||||
|
otherwise can't handle tagged values.
|
||||||
|
|
||||||
|
An example: If you are a web developer working on OS X and you wish to use one
|
||||||
|
of the Solarized hex values, you have a couple choices:
|
||||||
|
|
||||||
|
1. Enter the code manually (easy, you should do this)
|
||||||
|
2. Use the color picker (possible, but do it the right way! See below...)
|
||||||
|
|
||||||
|
A popular colorpicker plugin is the "Hex Color Picker" from
|
||||||
|
<http://wafflesoftware.net/hexpicker/>. If you wish to use this with the
|
||||||
|
colorpicker and a preset palette like Solarized, here's what you do:
|
||||||
|
|
||||||
|
1. Instead of the plain old "solarized.clr" palette, use the "solarized-tagged"
|
||||||
|
and "solarized-untagged" palettes (solarized-tagged is the same as
|
||||||
|
solarized.clr, just renamed for clarity).
|
||||||
|
|
||||||
|
2. In the Hex Color picker (inside the Apple Color Picker) click the options
|
||||||
|
button and ensure that "Don't generate calibrated colors" is **checked**.
|
||||||
|
Ideally, Hex Color Picker would be aware of a particular color being
|
||||||
|
untagged (a "device" color in Apple parlance) and hand it over to you in
|
||||||
|
unaltered form, even if it was otherwise pulling calibrated colors off your
|
||||||
|
display.
|
||||||
|
|
||||||
|
3. If you desire a Solarized color **for web use** (not for use in an
|
||||||
|
application that uses Mac color swatches) then you switch to the
|
||||||
|
Solarized-untagged palette in Color Picker, choose a color, switch to the
|
||||||
|
Hex Color Picker tab and grab the correct color. Double check against the
|
||||||
|
chart below to confirm it's working as expected.
|
||||||
|
|
||||||
|
This is just one of many examples of how, even with applications/plugins that
|
||||||
|
deal exclusively with color, there are unexpected or unintuitive exceptions to
|
||||||
|
take into account.
|
||||||
|
|
||||||
|
The Values
|
||||||
|
----------
|
||||||
|
|
||||||
|
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
|
||||||
|
--------- ------- ---- ------- ----------- ---------- ----------- -----------
|
||||||
|
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 #4e4e4e 45 -07 -07 88 110 117 194 25 46
|
||||||
|
base00 #657b83 11/7 bryellow 241 #585858 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 #d7d7af 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
|
|
@ -0,0 +1,66 @@
|
||||||
|
Alternate Palette
|
||||||
|
------------------
|
||||||
|
|
||||||
|
NOT FOR USE UNLESS YOU UNDERSTAND THE HELL THAT IS COLOR MANAGEMENT.
|
||||||
|
|
||||||
|
The `alternate palettes` directory contains two Apple Color Picker palettes.
|
||||||
|
The "tagged" palette is identical to the main Solarized.clr palette. The
|
||||||
|
untagged palette contains untagged sRGB values (Apple calls untagged values
|
||||||
|
"device colors"). Don't use this unless you are using an application that
|
||||||
|
otherwise can't handle tagged values.
|
||||||
|
|
||||||
|
An example: If you are a web developer working on OS X and you wish to use one
|
||||||
|
of the Solarized hex values, you have a couple choices:
|
||||||
|
|
||||||
|
1. Enter the code manually (easy, you should do this)
|
||||||
|
2. Use the color picker (possible, but do it the right way! See below...)
|
||||||
|
|
||||||
|
A popular colorpicker plugin is the "Hex Color Picker" from
|
||||||
|
<http://wafflesoftware.net/hexpicker/>. If you wish to use this with the
|
||||||
|
colorpicker and a preset palette like Solarized, here's what you do:
|
||||||
|
|
||||||
|
1. Instead of the plain old "solarized.clr" palette, use the "solarized-tagged"
|
||||||
|
and "solarized-untagged" palettes (solarized-tagged is the same as
|
||||||
|
solarized.clr, just renamed for clarity).
|
||||||
|
|
||||||
|
2. In the Hex Color picker (inside the Apple Color Picker) click the options
|
||||||
|
button and ensure that "Don't generate calibrated colors" is **checked**.
|
||||||
|
Ideally, Hex Color Picker would be aware of a particular color being
|
||||||
|
untagged (a "device" color in Apple parlance) and hand it over to you in
|
||||||
|
unaltered form, even if it was otherwise pulling calibrated colors off your
|
||||||
|
display.
|
||||||
|
|
||||||
|
3. If you desire a Solarized color **for web use** (not for use in an
|
||||||
|
application that uses Mac color swatches) then you switch to the
|
||||||
|
Solarized-untagged palette in Color Picker, choose a color, switch to the
|
||||||
|
Hex Color Picker tab and grab the correct color. Double check against the
|
||||||
|
chart below to confirm it's working as expected.
|
||||||
|
|
||||||
|
This is just one of many examples of how, even with applications/plugins that
|
||||||
|
deal exclusively with color, there are unexpected or unintuitive exceptions to
|
||||||
|
take into account.
|
||||||
|
|
||||||
|
The Values
|
||||||
|
----------
|
||||||
|
|
||||||
|
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
|
||||||
|
--------- ------- ---- ------- ----------- ---------- ----------- -----------
|
||||||
|
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 #4e4e4e 45 -07 -07 88 110 117 194 25 46
|
||||||
|
base00 #657b83 11/7 bryellow 241 #585858 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 #d7d7af 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
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleAllowMixedLocalizations</key>
|
||||||
|
<true/>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>applet</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>applet</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>launch-colorpicker</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>aplt</string>
|
||||||
|
<key>LSMinimumSystemVersionByArchitecture</key>
|
||||||
|
<dict>
|
||||||
|
<key>x86_64</key>
|
||||||
|
<string>10.6</string>
|
||||||
|
</dict>
|
||||||
|
<key>LSRequiresCarbon</key>
|
||||||
|
<true/>
|
||||||
|
<key>WindowState</key>
|
||||||
|
<dict>
|
||||||
|
<key>dividerCollapsed</key>
|
||||||
|
<false/>
|
||||||
|
<key>eventLogLevel</key>
|
||||||
|
<integer>-1</integer>
|
||||||
|
<key>name</key>
|
||||||
|
<string>ScriptWindowState</string>
|
||||||
|
<key>positionOfDivider</key>
|
||||||
|
<real>333</real>
|
||||||
|
<key>savedFrame</key>
|
||||||
|
<string>159 537 602 597 0 0 1920 1178 </string>
|
||||||
|
<key>selectedTabView</key>
|
||||||
|
<string>event log</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1 @@
|
||||||
|
APPLaplt
|
After Width: | Height: | Size: 362 B |
|
@ -0,0 +1,4 @@
|
||||||
|
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350
|
||||||
|
{\fonttbl}
|
||||||
|
{\colortbl;\red255\green255\blue255;}
|
||||||
|
}
|
BIN
install/vim/vimcolor/solarized-master/apple-colorpalette-solarized/solarized.clr
Executable 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.
|
||||||
|
|
|
@ -0,0 +1,277 @@
|
||||||
|
Solarized
|
||||||
|
=========
|
||||||
|
|
||||||
|
### [See official homepage for full content](http://ethanschoonover.com/solarized)
|
||||||
|
|
||||||
|
## Precision colors for machines and people
|
||||||
|
|
||||||
|
[](#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
|
||||||
|
conditions.
|
||||||
|
|
||||||
|
\
|
||||||
|
|
||||||
|
Currently available in formats for (cf [screenshots](#screenshots) below):
|
||||||
|
|
||||||
|
* **Vim** (the Vim-only portion of Solarized is [available
|
||||||
|
here](https://github.com/altercation/vim-colors-solarized), for use with
|
||||||
|
Pathogen, etc.)
|
||||||
|
* **Mutt** e-mail client (*just* the Mutt colorscheme is [available
|
||||||
|
here](https://github.com/altercation/mutt-colors-solarized))
|
||||||
|
* **Xresources** / Xdefaults
|
||||||
|
* **iTerm2**
|
||||||
|
* OS X **Terminal.app**
|
||||||
|
* Adobe Photoshop Palette (inc. L\*a\*b values)
|
||||||
|
* Apple Color Picker Palette
|
||||||
|
* 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.
|
||||||
|
|
||||||
|
**Note:** I am still tweaking the Vim highlighting for specific syntaxes and
|
||||||
|
welcome feedback on these.
|
||||||
|
|
||||||
|
Download
|
||||||
|
--------
|
||||||
|
|
||||||
|
### [Click here to download latest version](http://ethanschoonover.com/files/solarized/solarized.tar.gz)
|
||||||
|
|
||||||
|
Or use the following links to access application specific downloads and git
|
||||||
|
repositories:
|
||||||
|
|
||||||
|
* **Git repo:**
|
||||||
|
|
||||||
|
The full git repository is at: <https://github.com/altercation/solarized>
|
||||||
|
Get it using the following command:
|
||||||
|
|
||||||
|
$ git clone git://github.com/altercation/solarized.git
|
||||||
|
|
||||||
|
* **Vim only:**
|
||||||
|
|
||||||
|
The vim-only colorscheme (Pathogen ready) is available at:
|
||||||
|
<https://github.com/altercation/vim-colors-solarized>.
|
||||||
|
|
||||||
|
$ git clone git://github.com/altercation/vim-colors-solarized.git
|
||||||
|
|
||||||
|
You can also download it from [vim.org](http://www.vim.org/scripts/script.php?script_id=3520).
|
||||||
|
|
||||||
|
* **Mutt only:**
|
||||||
|
|
||||||
|
The mutt-only variants can be cloned from
|
||||||
|
<https://github.com/altercation/mutt-colors-solarized>
|
||||||
|
|
||||||
|
$ git clone git://github.com/altercation/mutt-colors-solarized.git
|
||||||
|
|
||||||
|
* **Canonical Project Page:**
|
||||||
|
|
||||||
|
Downloads, screenshots and more information are always available from the
|
||||||
|
project page: <http://ethanschoonover.com/solarized>
|
||||||
|
|
||||||
|
Note that through the magic of
|
||||||
|
[git-subtree](https://github.com/apenwarr/git-subtree) these repositories are
|
||||||
|
all kept in sync, so you can pull any of them and get the most up-to-date
|
||||||
|
version.
|
||||||
|
|
||||||
|
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 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
|
||||||
|
direct sunlight and tires the eye.
|
||||||
|
|
||||||
|
\
|
||||||
|
|
||||||
|
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**
|
||||||
|
|
||||||
|
\
|
||||||
|
|
||||||
|
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
|
||||||
|
part of a unified colorscheme.
|
||||||
|
|
||||||
|
3. **16/5 palette modes**
|
||||||
|
|
||||||
|
\
|
||||||
|
|
||||||
|
Solarized works as a sixteen color palette for compatibility with common
|
||||||
|
terminal based applications / emulators. In addition, it has been carefull
|
||||||
|
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**
|
||||||
|
|
||||||
|
\
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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;
|
||||||
|
$base02: #073642;
|
||||||
|
$base01: #586e75;
|
||||||
|
$base00: #657b83;
|
||||||
|
$base0: #839496;
|
||||||
|
$base1: #93a1a1;
|
||||||
|
$base2: #eee8d5;
|
||||||
|
$base3: #fdf6e3;
|
||||||
|
$yellow: #b58900;
|
||||||
|
$orange: #cb4b16;
|
||||||
|
$red: #d30102;
|
||||||
|
$magenta: #d33682;
|
||||||
|
$violet: #6c71c4;
|
||||||
|
$blue: #268bd2;
|
||||||
|
$cyan: #2aa198;
|
||||||
|
$green: #859900;
|
||||||
|
@mixin rebase($rebase03,$rebase02,$rebase01,$rebase00,$rebase0,$rebase1,$rebase2,$rebase3)
|
||||||
|
{
|
||||||
|
background-color:$rebase03;
|
||||||
|
color:$rebase0;
|
||||||
|
* { color:$rebase0; }
|
||||||
|
h1,h2,h3,h4,h5,h6 { color:$rebase1; border-color: $rebase0; }
|
||||||
|
a, a:active, a:visited { color: $rebase1; }
|
||||||
|
}
|
||||||
|
@mixin accentize($accent) {
|
||||||
|
a, a:active, a:visited, code.url { color: $accent; }
|
||||||
|
h1,h2,h3,h4,h5,h6 {color:$accent}
|
||||||
|
}
|
||||||
|
/* light is default mode, so pair with general html definition */
|
||||||
|
html, .light { @include rebase($base3,$base2,$base1,$base0,$base00,$base01,$base02,$base03)}
|
||||||
|
.dark { @include rebase($base03,$base02,$base01,$base00,$base0,$base1,$base2,$base3)}
|
||||||
|
html * {
|
||||||
|
color-profile: sRGB;
|
||||||
|
rendering-intent: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
Pathogen). See the links at the top of this file.
|
||||||
|
|
||||||
|
Font Samples
|
||||||
|
------------
|
||||||
|
|
||||||
|
Solarized has been designed to handle fonts of various weights and retain
|
||||||
|
readability, from the classic Terminus to the beefy Menlo.
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
Clockwise from upper left: Menlo, Letter Gothic, Terminus, Andale Mono
|
||||||
|
|
||||||
|
Screenshots
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Click to view.
|
||||||
|
|
||||||
|
### Mutt
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-mutt-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-mutt-light.png)
|
||||||
|
|
||||||
|
### C (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-c-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-c-light.png)
|
||||||
|
|
||||||
|
### Haskell (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-haskell-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-haskell-light.png)
|
||||||
|
|
||||||
|
### HTML (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-html-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-html-light.png)
|
||||||
|
|
||||||
|
### Java (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-java-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-java-light.png)
|
||||||
|
|
||||||
|
### Pandoc Markdown (Vim)
|
||||||
|
|
||||||
|
These screen shots show Vim running with my own [Pandoc Kit
|
||||||
|
Syntax](/pandockit).
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-pandoc-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-pandoc-light.png)
|
||||||
|
|
||||||
|
### Perl (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-perl-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-perl-light.png)
|
||||||
|
|
||||||
|
### Python (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-python-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-python-light.png)
|
||||||
|
|
||||||
|
### Ruby (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-ruby-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-ruby-light.png)
|
||||||
|
|
||||||
|
### TeX (Vim)
|
||||||
|
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-tex-dark.png)
|
||||||
|
[](https://github.com/altercation/solarized/raw/master/img/solarized-screen-tex-light.png)
|
||||||
|
|
||||||
|
|
||||||
|
The Values
|
||||||
|
----------
|
||||||
|
|
||||||
|
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
|
||||||
|
--------- ------- ---- ------- ----------- ---------- ----------- -----------
|
||||||
|
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
|
||||||
|
|
|
@ -0,0 +1,131 @@
|
||||||
|
;;; Author: Ethan Schoonover, Solarized; Greg Pfeil, Emacs adaptation
|
||||||
|
;;; URL: http://ethanschoonover.com/solarized
|
||||||
|
|
||||||
|
;;; This file is not (YET) part of GNU Emacs.
|
||||||
|
|
||||||
|
;;; # Usage
|
||||||
|
|
||||||
|
;;; 1. Install the color-theme package
|
||||||
|
;;; (http://www.emacswiki.org/cgi-bin/wiki/ColorTheme)
|
||||||
|
;;; 2. Load this file
|
||||||
|
;;; 3. M-x color-theme-solarized-[dark|light]
|
||||||
|
|
||||||
|
(eval-when-compile
|
||||||
|
(require 'color-theme))
|
||||||
|
|
||||||
|
(defun color-theme-solarized (mode)
|
||||||
|
"Color theme by Ethan Schoonover, created 2011-03-24.
|
||||||
|
Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized."
|
||||||
|
(interactive "Slight or dark? ")
|
||||||
|
(let ((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"))
|
||||||
|
(when (eq 'light mode)
|
||||||
|
(rotatef base03 base3)
|
||||||
|
(rotatef base02 base2)
|
||||||
|
(rotatef base01 base1)
|
||||||
|
(rotatef base00 base0))
|
||||||
|
(color-theme-install
|
||||||
|
`(color-theme-solarized
|
||||||
|
((foreground-color . ,base0)
|
||||||
|
(background-color . ,base03)
|
||||||
|
(background-mode . ,mode)
|
||||||
|
(cursor-color . ,base0))
|
||||||
|
;; basic
|
||||||
|
(default ((t (:foreground ,base0))))
|
||||||
|
(cursor ((t (:foreground ,base0 :background ,base03 :inverse-video t))))
|
||||||
|
(escape-glyph-face ((t (:foreground ,red))))
|
||||||
|
(fringe ((t (:foreground ,base01 :background ,base02))))
|
||||||
|
(header-line ((t (:foreground ,base0 :background ,base2))))
|
||||||
|
(highlight ((t (:background ,base02))))
|
||||||
|
(isearch ((t (:foreground ,yellow :inverse-video t))))
|
||||||
|
(menu ((t (:foreground ,base0 :background ,base02))))
|
||||||
|
(minibuffer-prompt ((t (:foreground ,blue))))
|
||||||
|
(mode-line
|
||||||
|
((t (:foreground ,base1 :background ,base02
|
||||||
|
:box (:line-width 1 :color ,base1)))))
|
||||||
|
(mode-line-buffer-id ((t (:foreground ,base1))))
|
||||||
|
(mode-line-inactive
|
||||||
|
((t (:foreground ,base0 :background ,base02
|
||||||
|
:box (:line-width 1 :color ,base02)))))
|
||||||
|
(region ((t (:background ,base02))))
|
||||||
|
(secondary-selection ((t (:background ,base02))))
|
||||||
|
(trailing-whitespace ((t (:foreground ,red :inverse-video t))))
|
||||||
|
(vertical-border ((t (:foreground ,base0))))
|
||||||
|
;; compilation
|
||||||
|
(compilation-info ((t (:forground ,green :bold t))))
|
||||||
|
(compilation-warning ((t (:foreground ,orange :bold t))))
|
||||||
|
;; customize
|
||||||
|
(custom-button
|
||||||
|
((t (:background ,base02 :box (:line-width 2 :style released-button)))))
|
||||||
|
(custom-button-mouse ((t (:inherit custom-button :foreground ,base1))))
|
||||||
|
(custom-button-pressed
|
||||||
|
((t (:inherit custom-button-mouse
|
||||||
|
:box (:line-width 2 :style pressed-button)))))
|
||||||
|
(custom-comment-tag ((t (:background ,base02))))
|
||||||
|
(custom-comment-tag ((t (:background ,base02))))
|
||||||
|
(custom-documentation ((t (:inherit default))))
|
||||||
|
(custom-group-tag ((t (:foreground ,orange :bold t))))
|
||||||
|
(custom-link ((t (:foreground ,violet))))
|
||||||
|
(custom-state ((t (:foreground ,green))))
|
||||||
|
(custom-variable-tag ((t (:foreground ,orange :bold t))))
|
||||||
|
;; diff
|
||||||
|
(diff-added ((t (:foreground ,green :inverse-video t))))
|
||||||
|
(diff-changed ((t (:foreground ,yellow :inverse-video t))))
|
||||||
|
(diff-removed ((t (:foreground ,red :inverse-video t))))
|
||||||
|
;; emacs-wiki
|
||||||
|
(emacs-wiki-bad-link-face ((t (:foreground ,red :underline t))))
|
||||||
|
(emacs-wiki-link-face ((t (:foreground ,blue :underline t))))
|
||||||
|
(emacs-wiki-verbatim-face ((t (:foreground ,base00 :underline t))))
|
||||||
|
;; font-lock
|
||||||
|
(font-lock-builtin-face ((t (:foreground ,green))))
|
||||||
|
(font-lock-comment-face ((t (:foreground ,base01 :italic t))))
|
||||||
|
(font-lock-constant-face ((t (:foreground ,cyan))))
|
||||||
|
(font-lock-function-name-face ((t (:foreground ,blue))))
|
||||||
|
(font-lock-keyword-face ((t (:foreground ,green))))
|
||||||
|
(font-lock-string-face ((t (:foreground ,cyan))))
|
||||||
|
(font-lock-type-face ((t (:foreground ,yellow))))
|
||||||
|
(font-lock-variable-name-face ((t (:foreground ,blue))))
|
||||||
|
(font-lock-warning-face ((t (:foreground ,red :bold t))))
|
||||||
|
;; info
|
||||||
|
(info-xref ((t (:foreground ,blue :underline t))))
|
||||||
|
(info-xref-visited ((t (:inherit info-xref :foreground ,magenta))))
|
||||||
|
;; org
|
||||||
|
(org-hide ((t (:foreground ,base03))))
|
||||||
|
(org-todo ((t (:foreground ,red :bold t))))
|
||||||
|
(org-done ((t (:foreground ,green :bold t))))
|
||||||
|
;; show-paren
|
||||||
|
(show-paren-match-face ((t (:background ,cyan :foreground ,base3))))
|
||||||
|
(show-paren-mismatch-face ((t (:background ,red :foreground ,base3))))))))
|
||||||
|
|
||||||
|
(defun color-theme-solarized-dark ()
|
||||||
|
(interactive)
|
||||||
|
(color-theme-solarized 'dark))
|
||||||
|
|
||||||
|
(defun color-theme-solarized-light ()
|
||||||
|
(interactive)
|
||||||
|
(color-theme-solarized 'light))
|
||||||
|
|
||||||
|
(add-to-list 'color-themes
|
||||||
|
'(color-theme-solarized-light
|
||||||
|
"Solarized Light"
|
||||||
|
"Ethan Schoonover & Greg Pfeil <greg@technomadic.org>"))
|
||||||
|
(add-to-list 'color-themes
|
||||||
|
'(color-theme-solarized-dark
|
||||||
|
"Solarized Dark"
|
||||||
|
"Ethan Schoonover & Greg Pfeil <greg@technomadic.org>"))
|
||||||
|
|
||||||
|
(provide 'color-theme-solarized)
|
|
@ -0,0 +1,10 @@
|
||||||
|
Solarized Package Downloads
|
||||||
|
===========================
|
||||||
|
|
||||||
|
If you are reviewing this on Github you probably just want to clone the project.
|
||||||
|
|
||||||
|
This project does double duty as the actual website (or rather subdirectory)
|
||||||
|
for Solarized at <http://ethanschoonover.com/solarized/>. The current release
|
||||||
|
downloads live here. I only build these for an actual release increment.
|
||||||
|
|
||||||
|
The version tagged and untagged files in this directory are identical.
|
BIN
install/vim/vimcolor/solarized-master/files/mutt-colors-solarized-1.0.0beta2.zip
Executable 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
|
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 60 KiB |
|
@ -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
|
|
@ -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>
|
|
@ -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>
|
|
@ -0,0 +1,36 @@
|
||||||
|
Solarized - Gimp Palette
|
||||||
|
========================
|
||||||
|
|
||||||
|
### [See official homepage for full content](http://ethanschoonover.com/solarized)
|
||||||
|
|
||||||
|
Note that GIMP doesn't tag its color palettes in a colorspace, which is much
|
||||||
|
like me giving you a temperature by which to set your thermostat and forgetting
|
||||||
|
to tell you if it is Celsius or Fahrenheit. Really, how different could 40
|
||||||
|
degrees be between two systems, right?
|
||||||
|
|
||||||
|
These are, for what it's worth, sRGB values.
|
||||||
|
|
||||||
|
The Values
|
||||||
|
----------
|
||||||
|
|
||||||
|
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
|
||||||
|
--------- ------- ---- ------- ----------- ---------- ----------- -----------
|
||||||
|
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 #4e4e4e 45 -07 -07 88 110 117 194 25 46
|
||||||
|
base00 #657b83 11/7 bryellow 241 #585858 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 #d7d7af 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
|
|
@ -0,0 +1,20 @@
|
||||||
|
GIMP Palette
|
||||||
|
Name: Solarized
|
||||||
|
Columns: 16
|
||||||
|
#
|
||||||
|
0 43 54 solarized-base03
|
||||||
|
7 54 66 solarized-base02
|
||||||
|
88 110 117 solarized-base01
|
||||||
|
101 123 131 solarized-base00
|
||||||
|
131 148 150 solarized-base0
|
||||||
|
147 161 161 solarized-base1
|
||||||
|
238 232 213 solarized-base2
|
||||||
|
253 246 227 solarized-base3
|
||||||
|
181 137 0 solarized-yellow
|
||||||
|
203 75 22 solarized-orange
|
||||||
|
220 50 47 solarized-red
|
||||||
|
211 54 130 solarized-magenta
|
||||||
|
108 113 196 solarized-violet
|
||||||
|
38 139 210 solarized-blue
|
||||||
|
42 161 152 solarized-cyan
|
||||||
|
133 153 0 solarized-green
|
|
@ -0,0 +1,50 @@
|
||||||
|
<head><base href="http://ethanschoonover.com/solarized/img/andalemono14/" /></head>
|
||||||
|
<h1>andalemono14</h1>
|
||||||
|
<p><a href='#c'>c</a>
|
||||||
|
<p><a href='#haskell'>haskell</a>
|
||||||
|
<p><a href='#html'>html</a>
|
||||||
|
<p><a href='#java'>java</a>
|
||||||
|
<p><a href='#javascript'>javascript</a>
|
||||||
|
<p><a href='#pandoc'>pandoc</a>
|
||||||
|
<p><a href='#perl'>perl</a>
|
||||||
|
<p><a href='#php'>php</a>
|
||||||
|
<p><a href='#python'>python</a>
|
||||||
|
<p><a href='#ruby'>ruby</a>
|
||||||
|
<p><a href='#shell'>shell</a>
|
||||||
|
<p><a href='#tex'>tex</a>
|
||||||
|
<h2 id='c'>c</h2>
|
||||||
|
<p><img src='screen-c-light.png'>
|
||||||
|
<p><img src='screen-c-dark.png'>
|
||||||
|
<h2 id='haskell'>haskell</h2>
|
||||||
|
<p><img src='screen-haskell-light.png'>
|
||||||
|
<p><img src='screen-haskell-dark.png'>
|
||||||
|
<h2 id='html'>html</h2>
|
||||||
|
<p><img src='screen-html-light.png'>
|
||||||
|
<p><img src='screen-html-dark.png'>
|
||||||
|
<h2 id='java'>java</h2>
|
||||||
|
<p><img src='screen-java-light.png'>
|
||||||
|
<p><img src='screen-java-dark.png'>
|
||||||
|
<h2 id='javascript'>javascript</h2>
|
||||||
|
<p><img src='screen-javascript-light.png'>
|
||||||
|
<p><img src='screen-javascript-dark.png'>
|
||||||
|
<h2 id='pandoc'>pandoc</h2>
|
||||||
|
<p><img src='screen-pandoc-light.png'>
|
||||||
|
<p><img src='screen-pandoc-dark.png'>
|
||||||
|
<h2 id='perl'>perl</h2>
|
||||||
|
<p><img src='screen-perl-light.png'>
|
||||||
|
<p><img src='screen-perl-dark.png'>
|
||||||
|
<h2 id='php'>php</h2>
|
||||||
|
<p><img src='screen-php-light.png'>
|
||||||
|
<p><img src='screen-php-dark.png'>
|
||||||
|
<h2 id='python'>python</h2>
|
||||||
|
<p><img src='screen-python-light.png'>
|
||||||
|
<p><img src='screen-python-dark.png'>
|
||||||
|
<h2 id='ruby'>ruby</h2>
|
||||||
|
<p><img src='screen-ruby-light.png'>
|
||||||
|
<p><img src='screen-ruby-dark.png'>
|
||||||
|
<h2 id='shell'>shell</h2>
|
||||||
|
<p><img src='screen-shell-light.png'>
|
||||||
|
<p><img src='screen-shell-dark.png'>
|
||||||
|
<h2 id='tex'>tex</h2>
|
||||||
|
<p><img src='screen-tex-light.png'>
|
||||||
|
<p><img src='screen-tex-dark.png'>
|
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 22 KiB |
BIN
install/vim/vimcolor/solarized-master/img/andalemono14/screen-pandoc-dark-th.png
Executable file
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 6.9 KiB |
After Width: | Height: | Size: 32 KiB |
BIN
install/vim/vimcolor/solarized-master/img/andalemono14/screen-python-dark-th.png
Executable file
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 6.2 KiB |
After Width: | Height: | Size: 31 KiB |
BIN
install/vim/vimcolor/solarized-master/img/andalemono14/screen-shell-light-th.png
Executable file
After Width: | Height: | Size: 6.4 KiB |