refactor styles in variables