Define common styles in shared class definition