Skip to content

Way to easily Use LESS/SASS Variables in component LESS/SASS Files #3535

@jongunter

Description

@jongunter

Apologies if I'm posting this question in the wrong place, but I'm using a global style sheet, written in LESS. I have angular-cli configured to use LESS style sheets for each component, rather than CSS. Is there a way for the CLI to generate components with my variables.less auto imported so I don't have to import them manually every time I want to use variables in a component's styles? Same goes for SASS.

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