README.md
May 28, 2026 · View on GitHub
Gruvbox Light Flavor for Yazi
Preview
Installation
ya pkg add Sh00Fly/gruvbox-light
Usage
Add these lines to your theme.toml:
[flavor]
light = "gruvbox-light"
Tip: keep icon colors on the hovered row
By default, yazi strips a file's [icon] style when the row is hovered, so the icon glyph gets re-styled with the row's [filetype] color — which makes the icons in this flavor turn dark on hover. To preserve icon colors on the hovered row, drop this into your init.lua:
function Entity:icon()
local icon = self._file:icon()
if not icon then
return ""
end
return ui.Line(icon.text .. " "):style(icon.style)
end
This overrides yazi's built-in Entity:icon so icon.style is applied unconditionally.
Credits
flavor.tomlderived from bennyyip/gruvbox-dark.yazi, with the palette inverted and bright accents swapped for faded variants per the official Gruvbox palette.tmtheme.xmlisgruvbox (Light) (Medium).tmThemefrom ethe/gruvbox-sublime, originally by Brian Reilly (Briles/gruvbox), based on Pavel Pertsev's gruvbox for Vim.[icon]section adapted from yazi's presettheme-light.toml, with icon colors retoned to the gruvbox palette.
License
All components are MIT-licensed:
LICENSE— this flavor's overall license (Sh00Fly).LICENSE-tmtheme— Brian Reilly's MIT, for the includedtmtheme.xml.LICENSE-yazi— sxyazi's MIT, for the[icon]section adapted from yazi's presettheme-light.toml.LICENSE-flavor— Subhaditya Nath's MIT, for theflavor.tomlstructure derived frombennyyip/gruvbox-dark.yazi.