In my game, the character will most likely have the option to choose between different kinds of magic. I was wondering if I could change the star bar and stat bar background colors depending on the player’s choice or if it’s unchangeable since you have to mess with the style.css.
As far as I know, editing style.css is the only way to change the color of the stat bars. I don’t think there’s a way to do it mid-playthrough, as you seem to be suggesting.
There is a way to change the stat_bar class object, but that would require meddling with the javascript file, adding your own custom command to call a custom function to change the color.