Separated styling from js hooks