refactor: extract global stylings into _globals