Adding additional class to a button in drupal 7
Recently we were building a multi-domain site, we are using the same theme for all sites but we want to have different colors for buttons for each domain. We achieved this using my overriding theme_button in template.php of theme, here is the snippet.