Chrome - set theme to... ?

I’d like to write a script that changes Chrome’s theme. Looking into the official Apple Script dictionary I am unable to find any specific command for that. Any Idea on how that can be written?

Applescript probably isn’t the way to go here. I mean, if changing the theme is part of something that’s already in Applescript, you can send javascript to Chrome from Applescript. But Chrome doesn’t put a lot in the Applescript Dictionary.

You can interact with just about anything in Chrome via javascript, here’s an example of changing the theme color… it may help point you down the right path.

https://stackoverflow.com/questions/32269746/change-chrome-tab-color-with-javascript-or-jquery