palette directive + animation