Skip to content

Adding fonts.scss contained in halstack-library is getting a path error related with ttf path files.  #319

@mawelCaballero

Description

@mawelCaballero

Describe the bug
When i am exporting fonts.scss in a project. Running the project are getting some errors related with ttf files path.

To Reproduce
Steps to reproduce the behavior:

  • In angular.json add fonts.scss to styles as: "styles": [
    "src/styles.scss",
    "./node_modules/@dxc-technology/halstack-angular/lib/styles/fonts/fonts.scss",
    "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css"
    ]
  • Add in styles.scss body {
    margin: 0px;
    font-family: "Open Sans", sans-serif;
    }
  • Run npm start

Expected behavior
App running without errors and font family has to be open sans

Screenshots
Captura de pantalla 2021-04-13 a las 16 20 54

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions