Converted palette to templates