Skip to content

Vuetify SASS variables don't work and broke styles #204

@itelmenko

Description

@itelmenko

I try to use SASS variables. But it don't work and broke styles. I see black borders for inputs. But I didn't add their.

frontend/assets/css/custom/settings.scss:

@use 'vuetify/settings' with (
  $button-height: 50px,
  $messages-font-size: 0.85rem,
  $input-details-font-size: 0.85rem,
  $messages-min-height: 0.9rem,
  $input-details-font-weight: 300,
  $text-field-details-padding-inline: 0px
);

In frontend/nuxt.config.ts:

...
moduleOptions: {
            styles: {
                configFile: 'assets/css/custom/settings.scss',
            },
        },
...

vuetify_black_borders

If I remove moduleOptions's content, black borders go away.

vuetify_without_variables

vuetify-nuxt-module version: "0.12.0"

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