Dedoimedo published a tutorial about how to edit themes in Gnome 40+
How to edit themes in Gnome 40+ - Tutorial
Tutorial showing how to edit themes in Gnome 40+, including gtk repo cloning, 3-24 legacy branch, source CSS files, parsing new gtk.css content, manual theme setup, and more
How to edit themes in Gnome 40+ - Tutorial