Closed daveredfern closed 7 years ago
Same as colours but returns an array of anything we want.
not sure what to call this function so open to ideas.
getCss('g-col-lg')
this would return an array of anything with g-col-lg in it.
I managed to do a regex that might help .([^\s,{]+) or .g-col-([^\s,{]+).
.([^\s,{]+)
.g-col-([^\s,{]+)
I can manually print them out once we have the array where ever we want them to appear.
@daveredfern has this been done now?
@Triickii yes, feel free to refactor it. If you look in utilities you can see what we're trying to achieve.
done in #213
Same as colours but returns an array of anything we want.
not sure what to call this function so open to ideas.
getCss('g-col-lg')
this would return an array of anything with g-col-lg in it.
I managed to do a regex that might help
.([^\s,{]+)
or.g-col-([^\s,{]+)
.I can manually print them out once we have the array where ever we want them to appear.