29249 move common logic to toolbox

@tsanko @hippee-lee @kevinsproles @texasag here is the method theme PR for moving the logic from the theme to toolbox common. There is a similar PR in the vn-toolbox-common repo too.