Added custom variables for all 'switch' components.