Created by: giovannipiller
This makes it possible to easily override the color without breaking the SASS compilation.
e.g. color-contrast(...)
requires a valid color. There are scenarios where it's interesting to pass a CSS variable, which can't be computed by color-contrast
.
For example, $accordion-bg: var(--my-accordion-bg)
currently breaks the build.
Besides, $accordion-color
already exists, so it makes sense to use it.