[feature] Handling new palette and pattern.