This function could be added to the styles panel to check Bootstrap variables. But allowing changes there would defeat the purpose of a dedicated theme editor.
Instead of making changes there itself, it would be better to go back in to theme editor UI and update the styles
The final implementation would obviously be unique to Wappler, but it would definitely be a mix of all options out there.