From 95697b96f8c2957ff2ff23d1273880dfe9640ec0 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 16 Sep 2025 21:40:24 +0900 Subject: [PATCH] Doc --- CHANGELOG.md | 1 + man/man1/fzf.1 | 6 +++--- src/options.go | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 228624a5..ffe2e8e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ CHANGELOG 0.66.0 ------ - Style changes + - Updated `--color base16` theme so that it works better with both dark and light themes. - Narrowed the gutter column by using the left-half block character (`▌`). - Removed background colors from markers. - Added `--gutter CHAR` option for customizing the gutter column. Some examples using [box-drawing characters](https://en.wikipedia.org/wiki/Box-drawing_characters): diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 9707c97e..dbd1eb2c 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -248,9 +248,9 @@ color mappings. Each entry is separated by a comma and/or whitespaces. .B BASE SCHEME: (default: \fBdark\fR on 256-color terminal, otherwise \fB16\fR; If \fBNO_COLOR\fR is set, \fBbw\fR) - \fBdark \fRColor scheme for dark 256-color terminal - \fBlight \fRColor scheme for light 256-color terminal - \fB16 \fRColor scheme for 16-color terminal + \fBdark \fRColor scheme for dark terminal + \fBlight \fRColor scheme for light terminal + \fBbase16 \fRColor scheme using base 16 colors \fBbw \fRNo colors (equivalent to \fB\-\-no\-color\fR) .B COLOR NAMES: diff --git a/src/options.go b/src/options.go index dc6ac050..9cb275e7 100644 --- a/src/options.go +++ b/src/options.go @@ -59,7 +59,7 @@ Usage: fzf [options] GLOBAL STYLE --style=PRESET Apply a style preset [default|minimal|full[:BORDER_STYLE] - --color=COLSPEC Base scheme (dark|light|16|bw) and/or custom colors + --color=COLSPEC Base scheme (dark|light|base16|bw) and/or custom colors --no-color Disable colors --no-bold Do not use bold text @@ -1325,7 +1325,7 @@ func parseTheme(defaultTheme *tui.ColorTheme, str string) (*tui.ColorTheme, erro theme = dupeTheme(tui.Dark256) case "light": theme = dupeTheme(tui.Light256) - case "16": + case "base16", "16": theme = dupeTheme(tui.Default16) case "bw", "no": theme = tui.NoColorTheme()