Style evaluation function to allow style to include functions