Skip to content

angular-buch/book-monkey5-styles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

book-monkey5-styles

This repository contains the global stylesheet to be used within the example application "BookMonkey5" used in the German Angular Book.

⚠️ This CSS Stylesheet is not used in the BookMonkey Versions (2-4) of the "Angular Buch".

Usage

Install the NPM package from the registry:

npm i --save book-monkey5-styles

Then you can import the CSS file via @import in your styles.css file:

@import 'book-monkey5-styles/styles.css';

Alternatively you can include the stylesheet in the Angular build process using via the angular.json config file:

{
  /* ... */
  "projects": {
    "book-monkey": {
      /* ... */
      "architect": {
        "build": {
          /* ... */
          "options": {
            /* ... */
            "styles": [
              "src/styles.css",
              "node_modules/book-monkey5-styles/styles.css"
            ],
            /* ... */
          },
          /* ... */
        },
        /* ... */
        "test": {
          /* ... */
          "options": {
            /* ... */
            "styles": [
              "src/styles.css",
              "node_modules/book-monkey5-styles/styles.css"
            ],
            /* ... */
          }
        },
        /* ... */
      }
    }
  },
  /* ... */
}