Complete the code to create a new component variant for a brand in a multi-brand design system.
component.setVariant('[1]')
Setting the variant to the brand name like 'brandA' allows the component to switch styles for that brand.
Complete the code to apply the correct color style for a specific brand in the design system.
component.fillStyle = styles.get('[1]')
Using 'brandBColor' applies the color style specific to brand B in the multi-brand system.
Fix the error in the code to switch the component to the correct brand variant.
component.variant = '[1]'
The variant name must exactly match the variant defined in the design system, which is 'brandC' with lowercase 'b' and uppercase 'C'.
Fill both blanks to correctly retrieve and apply the text style for brand A in the multi-brand system.
const textStyle = styles.get('[1]'); component.textStyle = [2];
First, get the 'brandAText' style from styles, then assign it to component.textStyle using the variable 'textStyle'.
Fill all three blanks to create a new component instance for brand B with the correct variant and color style.
const instance = component.createInstance(); instance.variant = '[1]'; instance.fillStyle = styles.get('[2]'); instance.textStyle = [3];
Create an instance, set its variant to 'brandB', apply the brand B color style, and assign the text style variable 'textStyle'.