@opuscapita/oc-cm-common-styles
v3.0.0
Published
OpusCapita CM common styles
Downloads
239
Maintainers
Keywords
Readme
oc-cm-common-styles
To use oc-cm-common-styles
Common styles are in Sass format. Import in Javascript:
import '@opuscapita/oc-cm-common-styles/styles/app',
import '@opuscapita/oc-cm-common-styles/styles/bootstrap_v3_custom',
import '@opuscapita/oc-cm-common-styles/styles/bootstrap_v3_overrides',
import '@opuscapita/oc-cm-common-styles/styles/bootstrap_v3_without_icons',
import '@opuscapita/oc-cm-common-styles/styles/buttons',
import '@opuscapita/oc-cm-common-styles/styles/colors',
import '@opuscapita/oc-cm-common-styles/styles/fonts',
import '@opuscapita/oc-cm-common-styles/styles/icons',
import '@opuscapita/oc-cm-common-styles/styles/inputs',
import '@opuscapita/oc-cm-common-styles/styles/links',
import '@opuscapita/oc-cm-common-styles/styles/mixins',
import '@opuscapita/oc-cm-common-styles/styles/react_select_custom',
import '@opuscapita/oc-cm-common-styles/styles/variables';
Import in Sass
@import '~@opuscapita/oc-cm-common-styles/styles/app',
@import '~@opuscapita/oc-cm-common-styles/styles/bootstrap_v3_custom',
@import '~@opuscapita/oc-cm-common-styles/styles/bootstrap_v3_overrides',
@import '~@opuscapita/oc-cm-common-styles/styles/bootstrap_v3_without_icons',
@import '~@opuscapita/oc-cm-common-styles/styles/buttons',
@import '~@opuscapita/oc-cm-common-styles/styles/colors',
@import '~@opuscapita/oc-cm-common-styles/styles/fonts',
@import '~@opuscapita/oc-cm-common-styles/styles/icons',
@import '~@opuscapita/oc-cm-common-styles/styles/inputs',
@import '~@opuscapita/oc-cm-common-styles/styles/links',
@import '~@opuscapita/oc-cm-common-styles/styles/mixins',
@import '~@opuscapita/oc-cm-common-styles/styles/react_select_custom',
@import '~@opuscapita/oc-cm-common-styles/styles/variables';
Development workflow with npm link
Link local package to your project
- Run
npm link
atoc-cm-common-styles
root to make your local package linkable - Run
npm link @opuscapita/oc-cm-common-styles
at project's dir that's usingoc-cm-common-styles
to use local package
Development
- Develop the styles and check with project using the package
Unlink local package
- Run
npm unlink @opuscapita/oc-cm-common-styles
at project's dir that's usingoc-cm-common-styles
- Run
npm install
to install remote copy of the@opuscapita/oc-cm-common-styles
package
Changelog
- Remember to update the CHANGELOG.md file with information about the changes to
src
Contributing
- Make a new branch for the changes
- Update
CHANGELOG.md
file - Commit changes
- Push changes
- Make a pull request
- Merge the pull request and delete the development branch
Creating a new version release
- Run
npm version [major|minor|patch]
Info