I am currently working with a v-text-field
component that comes with default settings specified in the code snippet below:
// defaults.ts (used by Vuetify)
const INPUT_DEFAULTS = {
color: '#8AB8E5',
baseColor: '#8AB8E5',
bgColor: '#E8F1FA',
rounded: 't-lg',
persistentHint: true
}
const defaults = {
VTextField: INPUT_DEFAULTS
}
In addition, I have included CSS rules specific to this component in my base.css file:
.v-input:not(.v-input--error) .v-label,
.v-input:not(.v-input--error) .v-messages {
color: rgb(var(--v-theme-secondary-text)) !important;
}
#app .v-field__outline {
--v-field-border-opacity: 1;
}
.v-field.v-field--focused .v-field__outline {
--v-field-border-width: 3px;
}
When the component is focused, it appears like the image linked below:
https://i.sstatic.net/DddFbO4E.pngThe color changes to a gray shade. How can I resolve this issue? Is there a way to disable the styles applied when the component is in focus?