omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Dark themes ship light Yaru icon variants, making tray icons unreadable

Open hayarza opened this issue 3 months ago • 1 comments

What happened

Every stock theme with mode = "dark" except solitude ships a light Yaru icon variant in icons.theme. Yaru's light variants draw symbolic and tray icons in dark colors intended for light backgrounds, so on Omarchy's dark bar they are effectively invisible.

Surveying /usr/share/omarchy/themes/*/ on 4.0.1-1:

theme mode icons.theme
catppuccin dark Yaru-purple
ethereal dark Yaru-blue
everforest dark Yaru-sage
gruvbox dark Yaru-olive
hackerman dark Yaru-blue
kanagawa dark Yaru-blue
last-horizon dark Yaru-purple
lumon dark Yaru-blue
matte-black dark Yaru-red
miasma dark Yaru-wartybrown
nord dark Yaru-blue
osaka-jade dark Yaru-sage
retro-82 dark Yaru-wartybrown
ristretto dark Yaru-yellow
solitude dark Yaru-sage-dark
tokyo-night dark Yaru-magenta
vantablack dark Yaru-gray

16 of 17 dark themes use the light variant. solitude is the only one that uses a -dark icon set, which suggests the others are oversights rather than a deliberate choice.

Expected

A theme with mode = "dark" should ship the matching -dark icon variant, e.g. nord -> Yaru-blue-dark. All the -dark variants are already present in /usr/share/icons/ from the yaru-icon-theme package, so this is a one-line change per theme with no new dependency.

Steps to reproduce

  1. omarchy theme set nord
  2. Run any app with a non-symbolic tray icon. nm-applet is autostarted by /etc/xdg/autostart/nm-applet.desktop from network-manager-applet, so it is present on many installs.
  3. Expand the bar's system tray.
  4. The tray icon is dark-on-dark and essentially unreadable.
  5. Double-click the bar to toggle transparency: over a light wallpaper the same icon becomes legible, confirming the icon color, not the widget, is the problem.

Workaround

A user-level theme overlay, per the theming docs:

mkdir -p ~/.config/omarchy/themes/nord
echo "Yaru-blue-dark" > ~/.config/omarchy/themes/nord/icons.theme
omarchy theme set nord

System

  • Omarchy 4.0.1-1 (upgraded from 3.x via omarchy-upgrade-to-quattro)
  • Kernel 7.1.9-arch1-2
  • AMD Ryzen 5 5600X, NVIDIA RTX 2060 (TU106), nvidia-open-dkms
  • Single 1920x1080 display, scale 1

hayarza avatar Aug 29 '26 00:08 hayarza

Confirmed, and the cause is what you described. The light Yaru variants (Yaru-blue, Yaru-purple and the rest) inherit Yaru's panel icons, which are drawn #3D3D3D for a light bar. Each -dark variant links its panel icons to Yaru-dark's, drawn #F9F9F9. On quattro it's still the same 15 dark themes you listed, minus vantablack, whose Yaru-gray doesn't exist at all (#13497 covers that one).

I reproduced it on a clean Omarchy worker VM. Under nord, a tray item showing nm-signal-75 drew dark grey on the dark bar, and with the fix it draws near-white. Two more paths had the same problem. A theme without an icons.theme fell back to Yaru-blue whatever its mode. And first run set Yaru-blue whatever theme was staged, so a fresh install got the light icons until the first theme switch.

The fix is up as #14697: the dark themes name their -dark variant, the fallback and first run follow the theme's mode, and a migration re-stages the current theme so existing installs get it on update. It leaves your own icons.theme overlay alone, so your workaround keeps working. The test suite ran on the worker with no new failures.

Reviewed by Claude Opus 5.5 and Codex Medium. Codex found the fallback and first-run gaps above, and its last review of the fix found nothing open.

The PR now waits on the maintainer.

omarchybot avatar Oct 09 '26 07:10 omarchybot