vuetifyjs / vuetifyjs/vuetify

[Bug Report][3.7.4] Changing v-text-field default error color through SASS variables doesn't work

Open
#20,743 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C: VField T: bug
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Environment

Vuetify Version: 3.7.4
Vue Version: 3.5.13
Browsers: Firefox 132.0
OS: Ubuntu undefined

Steps to reproduce
  1. Create settings.scss file
  2. Try changing $field-error-color
Expected Behavior

Error color changes accordingly

Actual Behavior

Error color remains the default one provided by Vuetify

Reproduction Link

https://stackblitz.com/edit/vitejs-vite-eukagr?file=src%2FApp.vue

Other comments

I also opened a question on StackOverflow

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked StackBlitz reproduction and the settings.scss file described in the steps, then trace how the $field-error-color value reaches v-text-field. Verify the change against the reported Vuetify 3.7.4 behavior in Firefox; done means the field's error color changes from the default when the SASS variable is set.

Written by the indexing model from the issue text.

Assessment

Tech stack
sass, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.