REF: Refactor style into a reusable widget