-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom colors for project names #6481
Comments
Related to #6338 |
@sheremet-va Vitest should provide somehow at minimum 2 colorsets (until custom colors for project names come out), following an accessible dark/light theme convention, because when running Vitest with workspaces, either in a terminal with dark background or in Github Actions with dark background, it's not accessible (especially on Github actions) : |
I was surprised to discover that in Vitest 3, project names are completely unreadable in my terminal with a dark color scheme. The big blank space on the left in the screenshot below is where (invisible) project names are printed. I've obscured the filenames on the right since this is a non-public codebase. |
I think the first color picked is
@rgrove And I guess you're being pretty unlucky because your terminal background is exactly the same |
Yeah, that looks like the problem! Seems like this issue with dark backgrounds could be mitigated by removing black from the list of possible colors? |
I guess it could be indeed a first step before letting us customize the colors from the config options. |
Clear and concise description of the problem
It is not possible to configure colors of the project names in UI or in the CLI.
Suggested solution
Allow accepting the
name
property as an object:We should also change the default colors to be background ones by default (this was initially part of #6329):

Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: