README.md

May 28, 2026 · View on GitHub

Yazi logo

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

License

All components are MIT-licensed:

  • LICENSE — this flavor's overall license (Sh00Fly).
  • LICENSE-tmtheme — Brian Reilly's MIT, for the included tmtheme.xml.
  • LICENSE-yazi — sxyazi's MIT, for the [icon] section adapted from yazi's preset theme-light.toml.
  • LICENSE-flavor — Subhaditya Nath's MIT, for the flavor.toml structure derived from bennyyip/gruvbox-dark.yazi.