@poltr/poltr-with-styles

Module that combines react-with-styles with a Poltr theme to create reusable styles in Poltr React components

Usage no npm install needed!

<script type="module">
  import poltrPoltrWithStyles from 'https://cdn.skypack.dev/@poltr/poltr-with-styles';
</script>

README

poltr-react-with-styles

Module that combines react-with-styles with a Poltr theme to create reusable styles in Poltr React components

Development

Getting Started

To start working on this project, clone the repository and run npm install.

Making Changes

To make changes to this package, take the following steps:

  1. Edit code in the src directory
  2. Build the new version of the library with npm run-script build
  3. Commit your changes to the git repository with a descriptive message
  4. Update the package version with one of the following:
    • npm version patch for bug fixes
    • npm version minor for minor changes, e.g. adding a simple prop type
    • npm version major for major changes, e.g. adding a new Poltr web component
  5. Login to npm with npm login and the poltrdev npm user credentials
  6. Publish the new package with npm publish