[fx] More elegant solution for adding styles