After upgrading to Vuetify 4, importing components from @wdns/vuetify-inline-fields breaks the styling of core Vuetify components globally.
For example:
<v-btn color="primary">Test</v-btn>
Expected: blue button (primary color)
Actual: white/grey button (surface color), even with variant="elevated"
Root cause (analysis)
Vuetify 4 introduced a new styling system based on CSS layers.
After importing this package:
base component styles (e.g. .v-btn--variant-*) are applied
but theme/utility styles (like bg-primary) no longer override correctly
This suggests the package:
injects global CSS outside Vuetify’s layer system, or
overrides core Vuetify classes (.v-btn, .v-field, etc.), or
is built against Vuetify 2/3 assumptions
Reproduction
Minimal working setup:
import { createApp } from 'vue'
import { createVuetify } from 'vuetify'
import 'vuetify/styles'
const vuetify = createVuetify()
createApp({
template: '<v-btn color="primary">Test</v-btn>'
})
.use(vuetify)
.mount('#app')
✅ Button renders correctly (blue)
Now add:
import { VInlineCheckbox, VInlineTextField } from "@wdns/vuetify-inline-fields";
❌ Button becomes white (incorrect styling)
Expected behavior
Components should be fully compatible with Vuetify 4
After upgrading to Vuetify 4, importing components from @wdns/vuetify-inline-fields breaks the styling of core Vuetify components globally.
For example:
<v-btn color="primary">Test</v-btn>Expected: blue button (primary color)
Actual: white/grey button (surface color), even with variant="elevated"
Root cause (analysis)
Vuetify 4 introduced a new styling system based on CSS layers.
After importing this package:
base component styles (e.g. .v-btn--variant-*) are applied
but theme/utility styles (like bg-primary) no longer override correctly
This suggests the package:
injects global CSS outside Vuetify’s layer system, or
overrides core Vuetify classes (.v-btn, .v-field, etc.), or
is built against Vuetify 2/3 assumptions
Reproduction
Minimal working setup:
✅ Button renders correctly (blue)
Now add:
import { VInlineCheckbox, VInlineTextField } from "@wdns/vuetify-inline-fields";❌ Button becomes white (incorrect styling)
Expected behavior
Components should be fully compatible with Vuetify 4