Skip to content

[Bug Report][3.4.6] Disabling utility classes breaks some components blueprints and styling #18846

@mcfarljw

Description

@mcfarljw

Environment

Vuetify Version: 3.4.6
Vue Version: 3.3.11
Browsers: Chrome 120.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

  1. Clone https://github.com/mcfarljw/vuetify-disabled-class-utilities
  2. Run npm i
  3. Run npm run dev

Expected Behavior

Disabling utility classes doesn't break the default Vuetify components.

  • VBtn should be rounded with a cursor on hover
  • VTab should use the correct colors with a cursor when hovering and be rounded
  • VNavigationDrawer should not have a border

Actual Behavior

Disabling utility classes cases several components to not be styled correctly.

  • VBtn is not rounded without a cursor on hover
  • VTab is not the correct color when hovering and is not rounded
  • VNavigationDrawer has a border despite it being set to 0

Reproduction Link

https://github.com/mcfarljw/vuetify-disabled-class-utilities

Other comments

In general I've been having a lot of trouble following the documentation for SASS Variables (https://vuetifyjs.com/en/features/sass-variables). I'm trying to disable the utility classes so that I can use TailwindCSS, UnoCSS, or PandaCSS without conflicts but in this example I'm just trying to disable the utility classes without breaking the default styling based on the selected blueprint.

Utility classes disabled:

CleanShot 2023-12-29 at 15 41 45@2x

Utility classes enabled:

CleanShot 2023-12-29 at 15 41 19@2x

Metadata

Metadata

Assignees

No one assigned

    Labels

    T: bugFunctionality that does not work as intended/expectedsass

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions