connectivedx / Unslated

Lightweight Webpack4 + React + Babel + POSTCSS framework with styleguide.
8 stars 3 forks source link

Class value in example file is Pascal Case #229

Open pgregorova opened 4 years ago

pgregorova commented 4 years ago

When creating a new modifier using GUI, the class populated isn't lower cased but pascal cased.

In addition, when creating a name that has more than one words, it's not only pascal cased but not also not separated by - instead.

drolsen commented 4 years ago

The methods for replacing tokens upon creating new elements can be found in:

build/scaffolding/scaffolding.build.js

For this one I think you want to focus on the replaceTokens method.