Skip to content

How to reuse Vuetify's variables? #344

@f-lawe

Description

@f-lawe

Hi there,

Documentation says:

 settings.scss can be used in your own components to access vuetify's variables.

But it doesn't say how. I tried this, but I got [sass] Error: Undefined variable:

@use "./settings";

.my-div {
  background-color: settings.$button-background;
}

What am I missing?

Happy to share any information needed!

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