mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 15:53:39 -05:00
Better Solarized Light and Dark themes
@@ -101,4 +101,47 @@ export FZF_DEFAULT_OPTS='
|
|||||||
```sh
|
```sh
|
||||||
--color fg:240,bg:230,hl:33,fg+:241,bg+:221,hl+:33
|
--color fg:240,bg:230,hl:33,fg+:241,bg+:221,hl+:33
|
||||||
--color info:33,prompt:33,pointer:166,marker:166,spinner:33
|
--color info:33,prompt:33,pointer:166,marker:166,spinner:33
|
||||||
|
```
|
||||||
|
|
||||||
|
### Alternate Solarized Light/Dark Theme
|
||||||
|
|
||||||
|
This one is easier to read (in my opinion)
|
||||||
|
because the selected row contrasts less with the text.
|
||||||
|
|
||||||
|
<img width="530" alt="screenshot 2016-05-31 22 48 01" src="https://cloud.githubusercontent.com/assets/5544532/15699519/5e58d46a-2782-11e6-8b8e-91c7a15b76fe.png">
|
||||||
|
<img width="525" alt="screenshot 2016-05-31 22 49 22" src="https://cloud.githubusercontent.com/assets/5544532/15699520/5e6a170c-2782-11e6-81b3-b781aea5aa3c.png">
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
_gen_fzf_default_opts() {
|
||||||
|
local base03="234"
|
||||||
|
local base02="235"
|
||||||
|
local base01="240"
|
||||||
|
local base00="241"
|
||||||
|
local base0="244"
|
||||||
|
local base1="245"
|
||||||
|
local base2="254"
|
||||||
|
local base3="230"
|
||||||
|
local yellow="136"
|
||||||
|
local orange="166"
|
||||||
|
local red="160"
|
||||||
|
local magenta="125"
|
||||||
|
local violet="61"
|
||||||
|
local blue="33"
|
||||||
|
local cyan="37"
|
||||||
|
local green="64"
|
||||||
|
|
||||||
|
# Comment and uncomment below for the light theme.
|
||||||
|
|
||||||
|
# Solarized Dark color scheme for fzf
|
||||||
|
export FZF_DEFAULT_OPTS="
|
||||||
|
--color fg:-1,bg:-1,hl:$blue,fg+:$base2,bg+:$base02,hl+:$blue
|
||||||
|
--color info:$yellow,prompt:$yellow,pointer:$base3,marker:$base3,spinner:$yellow
|
||||||
|
"
|
||||||
|
## Solarized Light color scheme for fzf
|
||||||
|
#export FZF_DEFAULT_OPTS="
|
||||||
|
# --color fg:-1,bg:-1,hl:$blue,fg+:$base02,bg+:$base2,hl+:$blue
|
||||||
|
# --color info:$yellow,prompt:$yellow,pointer:$base03,marker:$base03,spinner:$yellow
|
||||||
|
#"
|
||||||
|
}
|
||||||
|
_gen_fzf_default_opts
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user