Open cassidyjames opened 3 years ago
Probably not the best way as it's not built into the version of WebKit being used here. Instead, I use a one-liner of injected JS to grab the contents of the theme-color meta tag on page load, and use that in GtkCSS to recolor the headerbar.
https://user-images.githubusercontent.com/611168/122969587-0d5a6280-d34a-11eb-9d64-db8f91768c1f.mp4
Potential issues:
Ha, apparently this applies to all windows, not just the current window :see_no_evil:
Probably not the best way as it's not built into the version of WebKit being used here. Instead, I use a one-liner of injected JS to grab the contents of the theme-color meta tag on page load, and use that in GtkCSS to recolor the headerbar.
https://user-images.githubusercontent.com/611168/122969587-0d5a6280-d34a-11eb-9d64-db8f91768c1f.mp4
Potential issues: