moved text style params to separated object