Color schemes for the FNF fuzzy finder
Dark (default)
fg:-1,ghost:243,guttter:-1,hl:216,info:144,marker:72,pointer:124,prompt:74:1,query:-1,sel-bg:236,sel-fg:7:1,score:102,separator:240
16 (ANSI 16 colors)
fg:-1,ghost:7:2,gutter-1,hl:6,info:7:2,marker:2,prompt:6:1,pointer:1:1,query:-1,score:7:2,sel-bg:0,sel-fg:7:1,separator:7:2
16-light (ANSI 16 colors, light version)
fg:-1,ghost:7:2,gutter:-1,hl:5,info:2:2,marker:1,prompt:4:1,pointer:6:2,query:-1,score:7:2,sel-bg:7,sel-fg:0,separator:7:2
Light (256)
fg:0,ghost:243,gutter:-1,hl:90,info:233,marker:160,pointer:6:2,prompt:21:1,query:-1,score:238,sel-bg:251,sel-fg:0,separator:238
BW-mono
fg:#FFFFFF,gutter:#7F7F7F,hl:#BFBFBF,info:#FFFFFF,marker:#FFFFFF:1,prompt:#7F7F7F,pointer:#FFFFFF,query:#FFFFFF,sel-bg:#7F7F7F,sel-fg:#000000,score:#BFBFBF,separator:#BFBFBF
Dracula
fg:#F8F8F2,gutter:#282A36,hl:#FF79C6,info:#50FA7B,marker:#FF5555,prompt:#F1FA8C,pointer:#BD93F9,query:#F8F8F2,sel-bg:#282A36,sel-fg:#F8F8F2,score:#FFB86C
Nord
fg:#D8DEE9,gutter:#2E3440,hl:#88C0D0,info:#EBCB8B,marker:#BF616A,prompt:#A3BE8C:1,pointer:#81A1C1,query:#E5E9F0,sel-bg:#2E3440,sel-fg:#D8DEE9,score:#5E81AC
Tokyo-night
fg:#A9B1D6,gutter:#1A1B26,hl:#7AA2F7,info:#9ECE6A,marker:#BB9AF7,prompt:#73DACA:1,pointer:#F7768E,query:#A9B1D6,sel-bg:#1A1B26,sel-fg:#A9B1D6,score:#FF9E64
Gruvbox
fg:#EBDBB2,gutter:#3C3836,hl:#8EC07C,info:#B8BB26,marker:#FB4934,prompt:#83A598:1,pointer:#D3869B,query:#EBDBB2,sel-bg:#3C3836,sel-fg:#EBDBB2,score:#FE8019
Onelight
fg:#2C3E50,gutter:#D0D0D0,hl:#00BFFF,info:#27AE60,marker:#E74C3C,prompt:#E67E22,pointer:#2980B9,query:#2C3E50,sel-bg:#D0D0D0,sel-fg:#2C3E50,score:#D35400
Contrast
fg:#D3D3D3,gutter:#2E2E2E,hl:#A0C4FF,info:#FFD700,marker:#FFA500,prompt:#90EE90,pointer:#00FFFF,query:#D3D3D3,sel-bg:#2E2E2E,sel-fg:#D3D3D3,score:#DDA0DD
Solarized-dark
fg:#839496,gutter:#002b36,hl:#2aa198,info:#859900,marker:#dc322f,prompt:#b58900,pointer:#268bd2,query:#839496,sel-bg:#002b36,sel-fg:#839496,score:#d33682
Monokai
fg:#F8F8F2,gutter:#272822,hl:#66D9EF,info:#A6E22E,marker:#F92672,prompt:#F4BF75,pointer:#AE81FF,query:#F8F8F2,sel-bg:#272822,sel-fg:#F8F8F2,score:#FD971F
Run fnf using the --color option with any of the color schemes above. For example, to use the Nord theme:
ls | fnf --color="fg:#D8DEE9,gutter:#2E3440,hl:#88C0D0,info:#5E81AC,marker:#BF616A,prompt:#A3BE8C,pointer:#81A1C1,query:#E5E9F0,sel-bg:#2E3440,sel-fg:#D8DEE9,score:#EBCB8B"Bear in mind that, if a color is not specified in the command line, the default value is used. For example, --color=prompt:172 sets the prompt to the specified color, and uses the default values (those in dark) for everything else.
To avoid running this long command once and again, you can use the FNF_COLORS environment variable. For example:
export FNF_COLORS="fg:#D8DEE9,gutter:#2E3440,hl:#88C0D0,info:#5E81AC,marker:#BF616A,prompt:#A3BE8C,pointer:#81A1C1,query:#E5E9F0,sel-bg:#2E3440,sel-fg:#D8DEE9,score:#EBCB8B"
ls | fnfTip
By default, fnf runs without gutter, separator, and info line. For a more fzf-look-and-feel, run with the following options:
--reverse --separator --marker="┃" --color=hl:108,gutter:236,marker:168,pointer:161,prompt:110:1