How do I alter the theme to make windows stand out more?

I got this working partially, at least for GTK 3.0 apps (Nautilus is unaffected, perhaps due to it being GTK 4?)

@Riquez Just restarting the app didn’t work, but since creating this post, I tried on a different computer that is not using Wayland and Alt-F2 then r works.

@Jim.B The problem was the CSS. It needed background-image: none; for the “active window” colours to work. This is my working CSS in .config/gtk-3.0/gtk.css. The colours might need some work …

/* Active window */
headerbar {
  background-image: none;
  background-color: #5d2163;
}

/* Inactive window */
headerbar:backdrop {
  background-color: #261866;
}

I tried using the color attribute as well but it doesn’t have any effect.