Skip to content

Commit

Permalink
docs: update faq to use "flavor" instead of "theme"
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Mar 17, 2024
1 parent 241e427 commit c9c4b36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ If you truly don't need to distinguish between them, use this [smart-enter tip](

## Why do my icons shrink in [kitty](https://sw.kovidgoyal.net/kitty/), and enlarge when scrolling?

TL;DR: Use a theme for Yazi, https://github.com/yazi-rs/flavors
TL;DR: Use a flavor for Yazi, https://github.com/yazi-rs/flavors

This might be a bug in kitty (or feature? I don't know). In kitty, you have to add a style to file list items (like foreground color) to make the icons match the text size. However, Yazi's default theme can't add that color, because it can't predict whether the user's terminal has a white background with black text, or a black background with white text.

So it inherits the default terminal font color. This causes the icon size issue, and I've only found this problem in kitty - other terminals don't have it. Therefore, please use a Yazi theme for the kitty terminal.
So it inherits the default terminal font color. This causes the icon size issue, and I've only found this problem in kitty - other terminals don't have it. Therefore, please use a Yazi flavor for the kitty terminal.

## Why is "orphan" set to false by default?

Expand Down

0 comments on commit c9c4b36

Please sign in to comment.