m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 16:45:38 -05:00

add paper color theme; fix "ansi" to "ANSI"

Thuan Pham
2020-07-01 11:09:13 +07:00
parent 77aa671983
commit a241f66176

@@ -8,7 +8,7 @@ fzf --color=bg+:24
fzf --color=light,fg:232,bg:255,bg+:116,info:27
```
The name of the base color scheme is followed by custom color mappings. Ansi color code of -1 denotes terminal default foreground/background color.
The name of the base color scheme is followed by custom color mappings. ANSI color code of -1 denotes terminal default foreground/background color.
The color specification can be quite long if fully customized, so it's advised that you put it in `$FZF_DEFAULT_OPTS`. You can also split it into multiple `--color`s like follows:
@@ -232,4 +232,12 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color info:#83a598,prompt:#bdae93,spinner:#fabd2f,pointer:#83a598,marker:#fe8019,header:#665c54
```
![](https://raw.githubusercontent.com/BachoSeven/mydotFiles/master/pics/screens/ricing/fzf_gruvbox.png)
![](https://raw.githubusercontent.com/BachoSeven/mydotFiles/master/pics/screens/ricing/fzf_gruvbox.png)
### Paper color
```sh
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=fg:#4d4d4c,bg:#eeeeee,hl:#d7005f --color=fg+:#4d4d4c,bg+:#e8e8e8,hl+:#d7005f --color=info:#4271ae,prompt:#8959a8,pointer:#d7005f --color=marker:#4271ae,spinner:#4271ae,header:#4271ae'
```
![](https://raw.githubusercontent.com/thuanpham2311/img/master/fzfPapercolorTheme.png)