summaryrefslogtreecommitdiff
path: root/src/options.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-09-17 19:38:49 +0900
committerGitHub <noreply@github.com>2025-09-17 19:38:49 +0900
commit2a92c7d792b45112ab82eef0be2aa11038e6185d (patch)
tree001879596aad0192e5e0fa20cde3e78c96e1b6ce /src/options.go
parentf5975cf87029522cc6f6d18e83ae531005e0cb64 (diff)
downloadfzf-2a92c7d792b45112ab82eef0be2aa11038e6185d.tar.gz
Adjust base16 (16) theme (#4501)
Motivation: `--color base16` can be a better default than `dark` or `light`, since it uses the colors defined by the current theme. This usually blends in more naturally and works well in both light and dark modes. However, some elements were previously hard-coded with white or black foreground colors, which can cause rendering issues in certain terminal themes.
Diffstat (limited to 'src/options.go')
-rw-r--r--src/options.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.go b/src/options.go
index 5e89a261..71782bf2 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
@@ -1326,7 +1326,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()