refactor fonts confg