Answers for "bind 'fill' inside ':svg:path' with scss variables"

CSS
0

bind 'fill' inside ':svg:path' with scss variables

@use 'src/variables' as c;
/*or (if you are not importing variables from external file):
$your-color: blue;
*/

svg>path{
  fill: c.$your-color;
}
Posted by: Guest on April-24-2021

Code answers related to "bind 'fill' inside ':svg:path' with scss variables"

Browse Popular Code Answers by Language