Is there a reason is is done as a function rather than as regular CSS? Seems like the values we're setting never change.