Skip to content

theme.scss won't let me use @font-face  #70

@exzizt

Description

@exzizt

For example, adding this to my theme.scss won't let it compile due to a generic "SASS error". Any help is appreciated.

@font-face { font-family: 'BC Sans'; src: url('../assets/fonts/BCSans-Regular.woff'); }

The error:

Module build failed (from ./node_modules/antd-scss-theme-plugin/build/dist/lib/antdLessLoader.js):
Could not compile the SCSS theme file "C:\Users\Luke\source\repos\bcgov\mds\services\minespace-web\src\styles\settings\theme.scss" for the purpose of variable extraction. This is likely because it contains a Sass error.

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