[Refactor] Extracted theme generation in $mdThemingGenerator constant