@opuscapita/oc-cm-common-styles

OpusCapita CM common styles

Stats

StarsIssuesVersionUpdatedCreatedSize
@opuscapita/oc-cm-common-styles
003.0.03 years ago4 years agoMinified + gzip package size for @opuscapita/oc-cm-common-styles in KB

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 at oc-cm-common-styles root to make your local package linkable
  • Run npm link @opuscapita/oc-cm-common-styles at project's dir that's using oc-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 using oc-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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.