Complete the code to define a variable for the primary color.
$primary-color: [1];The variable $primary-color should be assigned a valid color value like #ff5733.
Complete the mixin to accept a brand name parameter.
@mixin brand-colors($[1]) { color: map-get($colors, $[1]); }
The mixin parameter should be $brand to represent the brand name.
Fix the error in the map-get function to retrieve the brand color.
$brand-color: map-get($colors, [1]);The second argument to map-get should be the variable $brand representing the brand key.
Fill both blanks to create a map of brand colors and use it in a class.
$colors: ([1]: #3498db, [2]: #e74c3c); .brand-[1] { color: map-get($colors, [1]); }
The map keys are brand names like blue and red. The class uses blue to get the color.
Fill all three blanks to generate brand-specific background and text colors.
@mixin brand-style($[1]) { background-color: map-get($colors, $[2]); color: map-get($text-colors, $[3]); }
All blanks should be brand to use the same brand key for colors.
