applied styling to all modes