fix(styles): add themes global rules processing (refs #4829)