Use postcss-at-rules-variables before you at-rules plugins Example /* input.css */:root{--array:foo,bar,baz;--from:1;--to:3;--icon-exclude:2;--color-danger:red;--nested-variable:color(var(--color-danger)a(90%)) ; }@each$val in var(--array) {@import"$val.css"; } ...