Let me elaborate… I would like to be able to have a some snippets for my front-end framework that merely output a variable. This in and of itself is easy, but in some cases I would like to be able to cycle multiple values because they are variables of a similar type - think Sass breakpoints, type sizes or colors…
For example, if the snippet for using one of the main colors has the below options:
- $color-primary
- $color-secondary
- $color-tertiary
See this snippet to see how I currently handle this use case.
Are there any smart devs that know how to do this?
Many thanks