> For the complete documentation index, see [llms.txt](https://spectrecss.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spectrecss.angular-package.dev/mixin/var/set-vars.md).

# set-vars()

{% code title="" lineNumbers="true" %}

```scss
// The `set-vars()` mixin set the CSS variables from the given `$values`.
@mixin set-vars($name, $values, $prefix: $var-prefix) {
  @each $suffix, $value in $values {
    @include set-var($name, $value, $prefix, $suffix);
  }
}
```

{% endcode %}
