You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit 3 jaren geleden
..
dist First Commit 3 jaren geleden
lib First Commit 3 jaren geleden
tests First Commit 3 jaren geleden
.DS_Store First Commit 3 jaren geleden
LICENSE First Commit 3 jaren geleden
changelog.md First Commit 3 jaren geleden
package.json First Commit 3 jaren geleden
readme.md First Commit 3 jaren geleden

readme.md

JSS plugin that allows to write camel cased rule properties

Gitter

Internally it converts everything back to dash separated names.

Make sure you read how to use plugins in general.

Example

const styles = {
  container: {
    fontSize: '20px',
    zIndex: 1,
    lineHeight: 1.2
  }
}
.container-a24234 {
  font-size: 20px;
  z-index: 1;
  line-height: 1.2;
}

Demo

Simple

Issues

File a bug against cssinjs/jss prefixed with [jss-camel-case].

Run tests

npm i
npm run test

License

MIT