# tma-branding v1.0.3

The TMA Performance branding library exported as [Node.js](https://nodejs.org/) modules.

## Installation

Using npm:
```shell
$ npm i -g npm
$ npm i --save @tmaperformance/tma-branding
```

In Node.js:
```js
// app.module.ts
import { TmaBrandingModule } from "tma-branding";
// Add TmaBrandingModule to the list of imports
imports: [TmaBrandingModule.forRoot(environment)]// Load the FP build for immutable auto-curried iteratee-first data-last methods.
// Import services and components from the library into non-library components:
import { ToolboxService } from "tma-branding";
// In angular.json, reference the styles path:
{
  "input": "node_modules/tma-branding/src/lib/assets/css/tma-styles.scss",
  "inject": false,
  "bundleName": "styles"
}
// You can also add path configurations to the tsconfig.json file, to be able to reference library stylesheets more easily if needed:
{
  "compilerOptions": {
    "paths": {
      "@tma-styles/*": [
        "node_modules/tma-branding/src/lib/assets/css/*"
      ]
    }
  }
}
// Update the styles.scss to instantiate the theme from the library:
@use 'tma-branding/src/lib/assets/css/tma-styles' as tma;
@use 'tma-branding/src/lib/assets/css/tma-themes' as *;
@use 'node_modules/@nebular/theme/styles/globals' as *;
@use 'node_modules/@nebular/auth/styles/globals' as *;

@include nb-install() {
  @include tma.tma-branding-nb-install();
}
```

See the [package source](https://bitbucket.org/DecisionWise/branding-library/src/spectiv-test/) for more details.

## Support

