Stylix color customization for suckless terminal

Hi there, I’m trying to make st follow the Stylix theme, without success any success so far.

I’m using the st-graphics fork (with patches branch) together with Xresources with reload signal. I set stylix.targets.xresources.colors.enable = true; but it didn’t work, I also tried the Xresources patch.

Instead of using Xresources, I decided to use the Stylix colors directly with the -C option from the colors at launch patch by setting the alias: st = “st -C '#${config.lib.stylix.colors.base00}@0'”;. However, I get the following error:

error: stylix: one of stylix.image’ or stylix.base16Scheme’ must be set.

stylix.image is set. Now I’m out of ideas to apply the style to st. Any help would be much appreciated.