sebnitu / vrembem

A CSS component library based on the BEM methodology.

Home Page:https://vrembem.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor cssVar core function to not require the double dash

sebnitu opened this issue · comments

Problem

I don't think it's very intuitive to require the double dash "--" in the property parameter of the cssVar() function. This should be refactored to only require the property name and allow the dashes and prefix to be added automatically.