Visual showcase of all DNA color variables for the ap brand. These colors are loaded dynamically based on the selected brand.
These CSS custom properties can be used in your components like this:
/* In CSS */
.my-component {
background-color: var(--color-accent);
color: var(--color-text-on-accent);
}
.my-text {
background-color: var(--color-background-primary);
color: var(--color-text-primary);
}
/* In React styles */
const styles = {
backgroundColor: "var(--color-accent)",
color: "var(--color-text-on-accent)",
};