--aura-purple
Variable for purple color.
*:root { --aura-purple: #e8ebfe }
Description
--aura-snow is a CSS custom property that specifies the background color for a design system. The value of --aura-snow is set to the color code #e8ebfe, which represents a light purple color. This custom property can be used as the background color for various elements within the design system, helping to maintain consistency and make updates easier to manage. By using a CSS custom property, the background color can be easily changed and updated in one place, rather than having to update it across multiple CSS rules.
The CSS custom property --aura-purple can be used in a .purple class in HTML to set the background color of an element. In the CSS file, the . purple class can be defined as follows:
.purple { background-color: var(--aura-purple); }
And in the HTML file, the class can be applied to an element like this:
<div class="purple"> <!-- content goes here --> </div>
By using the .purple class, the background color of the element will be set to the value of the --aura-snow custom property, which is #e8ebfe. This helps to maintain consistency and makes updates to the background color easier to manage.