Toolset to transpile and use CSS on runtime
Add @rocket.chat/css-in-js
as a dependency:
npm i @rocket.chat/css-in-js
# or, if you are using yarn:
yarn add @rocket.chat/css-in-js
Contributions, issues, and feature requests are welcome!
Feel free to check the issues.
As this package dependends on others in this monorepo, before anything run the following at the root directory:
yarn build
To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:
yarn lint
Some linter warnings and errors can be automatically fixed:
yarn lint-and-fix
Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:
yarn test